/*!
 * LVYIN 绿茵竞技体育企业模板 — 基础样式
 * 结构：变量 / 基础 / 顶部信息条 / 主导航 / 抽屉 / 首屏 / 速览条 /
 *       关于 / 核心场景 / 服务优势 / 案例 / 口碑 / 转化 / 伙伴 / 页脚 / 浮动工具
 * 主题：body[data-theme="1..6"] 字面重声明全部含 var() 的复合变量
 * 布局：body.lay-a / lay-b / lay-c 通过 flex order 重排首页区块
 */

:root {
    --ae-ink: #0F1420;
    --ae-ink-2: #1A2233;
    --ae-ink-3: #24304A;
    --ae-brand: #0E8C5F;
    --ae-brand-deep: #0A6A47;
    --ae-brand-soft: #E7F3ED;
    --ae-accent: #F26B33;
    --ae-accent-soft: #FFEFE4;
    --ae-glow: #FFB93B;
    --ae-paper: #F7F4EE;
    --ae-line: #E5DFD1;
    --ae-line-2: #D7D0BF;
    --ae-text: #222935;
    --ae-muted: #6A7482;
    --ae-white: #ffffff;
    --ae-wrap: 1200px;
    --ae-radius: 4px;
    --ae-radius-lg: 10px;
    --ae-shadow-sm: 0 6px 18px rgba(15, 20, 32, .06);
    --ae-shadow: 0 18px 42px rgba(15, 20, 32, .10);
    --ae-ease: cubic-bezier(.22, .61, .36, 1);
    --ae-grad-brand: linear-gradient(135deg, #0E8C5F, #0A6A47);
    --ae-grad-accent: linear-gradient(135deg, #F26B33, #D9531E);
    --ae-grad-ink: linear-gradient(160deg, #0F1420 0%, #1A2233 60%, #24304A 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ae-white);
    color: var(--ae-text);
    font: 15px/1.75 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ae-ease), opacity .25s var(--ae-ease); }
a:hover { color: var(--ae-brand); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; color: var(--ae-ink); }
p { margin: 0 0 14px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em, i { font-style: normal; }
::selection { background: var(--ae-brand); color: #fff; }

.ae-wrap { width: 100%; max-width: var(--ae-wrap); margin: 0 auto; padding: 0 22px; }
.ae-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ae-skip { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--ae-ink); color: #fff; padding: 8px 16px; }
.ae-skip:focus { left: 8px; top: 8px; }

/* ---------------- 按钮 ---------------- */
.ae-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border: 0; border-radius: var(--ae-radius);
    font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer;
    transition: transform .25s var(--ae-ease), box-shadow .25s var(--ae-ease), background .25s var(--ae-ease);
}
.ae-btn:hover { transform: translateY(-2px); }
.ae-btn-field { background: var(--ae-grad-brand); color: #fff !important; box-shadow: 0 10px 24px rgba(14, 140, 95, .28); }
.ae-btn-field:hover { box-shadow: 0 14px 30px rgba(14, 140, 95, .36); }
.ae-btn-ghost { background: rgba(255, 255, 255, .10); color: #fff !important; border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(3px); }
.ae-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.ae-btn-sunset { background: var(--ae-grad-accent); color: #fff !important; box-shadow: 0 10px 24px rgba(242, 107, 51, .26); }
.ae-btn-sunset:hover { box-shadow: 0 14px 30px rgba(242, 107, 51, .34); }
.ae-btn-outline { background: transparent; color: var(--ae-brand) !important; border: 1px solid var(--ae-brand); }
.ae-btn-outline:hover { background: var(--ae-brand); color: #fff !important; }

/* ---------------- 区块标题 ---------------- */
.ae-sec { padding: 84px 0; }
.ae-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.ae-sec-head h2 { font-size: 32px; letter-spacing: .5px; }
.ae-sec-head h2 span { color: var(--ae-brand); }
.ae-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 2.4px;
    color: var(--ae-brand); text-transform: uppercase;
}
.ae-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ae-accent); }
.ae-eyebrow.is-light { color: rgba(255, 255, 255, .82); }
.ae-sub { margin: 10px 0 0; color: var(--ae-muted); max-width: 640px; }
.ae-more { font-weight: 600; color: var(--ae-brand); white-space: nowrap; }
.ae-more:hover { color: var(--ae-brand-deep); }
.ae-note { margin-top: 22px; color: var(--ae-muted); font-size: 13px; }

/* ---------------- 顶部信息条 ---------------- */
.ae-topline { background: var(--ae-ink); color: rgba(255, 255, 255, .78); font-size: 13px; }
.ae-topline-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.ae-topline-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ae-topline-left strong { color: var(--ae-glow); letter-spacing: 1.6px; font-size: 12px; white-space: nowrap; }
.ae-topline-left span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ae-topline-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.ae-topline-right a { color: rgba(255, 255, 255, .78); }
.ae-topline-right a:hover { color: #fff; }
.ae-topline-tel { color: var(--ae-glow) !important; font-weight: 600; }

/* ---------------- 主导航 ---------------- */
.ae-header {
    position: sticky; top: 0; z-index: 60;
    background: var(--ae-white);
    border-bottom: 1px solid var(--ae-line);
    transition: box-shadow .3s var(--ae-ease);
}
.ae-header.is-stuck { box-shadow: var(--ae-shadow-sm); }
.ae-header-in { display: flex; align-items: center; gap: 26px; min-height: 78px; }
.ae-brand { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; }
.ae-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ae-grad-ink); color: var(--ae-brand); flex: none; }
.ae-brand-text { display: flex; flex-direction: column; min-width: 0; }
.ae-brand-text strong { font-size: 19px; color: var(--ae-ink); line-height: 1.25; white-space: normal; word-break: break-word; max-width: 12em; }
.ae-brand-text small { display: none; }
.ae-nav { margin-left: 0; flex: 0 0 auto; }
.ae-nav-list { display: flex; align-items: center; gap: 6px; }
.ae-nav-item { flex: none; }
.ae-nav-item a { display: block; width: 3.2em; padding: 8px 6px; font-size: 15.5px; font-weight: 600; color: var(--ae-ink-2); border-radius: var(--ae-radius); position: relative; white-space: normal; text-align: center; line-height: 1.45; }
.ae-nav-item a:hover { color: var(--ae-brand); background: var(--ae-brand-soft); }
.ae-nav-item.is-active a { color: var(--ae-brand); }
.ae-nav-item.is-active a::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; background: var(--ae-accent); border-radius: 2px; }
.ae-head-tools { display: flex; align-items: center; gap: 16px; flex: 1 1 0; justify-content: flex-end; }
.ae-head-search { display: flex; align-items: center; border: 1px solid var(--ae-line-2); border-radius: 999px; overflow: hidden; background: var(--ae-paper); }
.ae-head-search input { width: 150px; border: 0; background: transparent; padding: 8px 4px 8px 16px; font-size: 13.5px; color: var(--ae-text); outline: none; }
.ae-head-search input::placeholder { color: var(--ae-muted); }
.ae-head-search button { border: 0; cursor: pointer; width: 36px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: var(--ae-brand); color: #fff; }
.ae-head-search button:hover { background: var(--ae-brand-deep); }
.ae-head-tel { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.ae-head-tel small { font-size: 11px; color: var(--ae-muted); }
.ae-head-tel strong { font-size: 16px; color: var(--ae-ink); }
.ae-head-cta { padding: 10px 20px; border-radius: var(--ae-radius); background: var(--ae-grad-accent); color: #fff !important; font-weight: 600; font-size: 14px; box-shadow: 0 8px 18px rgba(242, 107, 51, .25); }
.ae-head-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(242, 107, 51, .32); }
.ae-burger { display: none; width: 42px; height: 38px; border: 1px solid var(--ae-line-2); border-radius: var(--ae-radius); background: var(--ae-white); cursor: pointer; padding: 9px 10px; }
.ae-burger span { display: block; height: 2px; margin: 3px 0; background: var(--ae-ink); border-radius: 2px; transition: transform .3s var(--ae-ease), opacity .3s var(--ae-ease); }
.ae-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ae-burger.is-open span:nth-child(2) { opacity: 0; }
.ae-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------------- 移动端抽屉 ---------------- */
.ae-mask { position: fixed; inset: 0; z-index: 70; background: rgba(15, 20, 32, .5); opacity: 0; visibility: hidden; transition: opacity .3s var(--ae-ease); }
.ae-mask.is-open { opacity: 1; visibility: visible; }
.ae-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(78vw, 320px);
    background: var(--ae-white); box-shadow: var(--ae-shadow);
    transform: translateX(102%); transition: transform .32s var(--ae-ease);
    display: flex; flex-direction: column; padding: 26px 22px;
}
.ae-drawer.is-open { transform: translateX(0); }
.ae-drawer-nav li a { display: block; padding: 13px 6px; font-size: 16px; font-weight: 600; color: var(--ae-ink-2); border-bottom: 1px dashed var(--ae-line); }
.ae-drawer-nav li a:hover { color: var(--ae-brand); }
.ae-drawer-foot { margin-top: auto; padding-top: 18px; }
.ae-drawer-foot .ae-btn { width: 100%; justify-content: center; }

/* ---------------- 首屏 ---------------- */
.ae-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.ae-hero-slides { position: absolute; inset: 0; }
.ae-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ae-ease), transform 6.5s linear; }
.ae-hero-slide.is-active { opacity: 1; transform: scale(1); }
.ae-hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 14, 22, .88) 0%, rgba(10, 14, 22, .62) 46%, rgba(10, 14, 22, .28) 100%); }
.ae-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; padding-top: 70px; padding-bottom: 96px; }
.ae-hero-copy { max-width: 760px; }
.ae-hero-eyebrow { margin: 0 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 3.2px; color: var(--ae-glow); text-transform: uppercase; }
.ae-hero-title { font-size: 44px; line-height: 1.28; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.ae-hero-title em { font-style: normal; color: var(--ae-glow); }
.ae-hero-lead { margin: 18px 0 30px; max-width: 640px; font-size: 16px; color: rgba(255, 255, 255, .88); }
.ae-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ae-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; max-width: 860px; }
.ae-hero-stat { padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--ae-radius-lg); background: rgba(10, 14, 22, .38); backdrop-filter: blur(4px); }
.ae-hero-stat strong { display: block; font-size: 30px; line-height: 1.15; color: var(--ae-glow); }
.ae-hero-stat strong i { font-style: normal; font-size: 14px; margin-left: 2px; color: rgba(255, 255, 255, .85); }
.ae-hero-stat span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.ae-hero-nav { position: absolute; right: 26px; bottom: 88px; z-index: 3; display: flex; gap: 10px; }
.ae-hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(10, 14, 22, .35); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .25s var(--ae-ease); }
.ae-hero-arrow:hover { background: var(--ae-brand); }
.ae-hero-dots { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; }
.ae-hero-dots-in { display: flex; align-items: center; gap: 10px; }
.ae-hero-dot { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; transition: background .25s var(--ae-ease), width .25s var(--ae-ease); }
.ae-hero-dot.is-active { background: var(--ae-accent); width: 52px; }
.ae-hero-count { margin-left: 10px; font-size: 12.5px; letter-spacing: 1.5px; color: rgba(255, 255, 255, .75); }
.ae-hero-count strong { color: #fff; }

/* ---------------- 业务速览条 ---------------- */
.ae-quickbar { position: relative; z-index: 4; margin-top: -46px; }
.ae-quickbar-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ae-quick { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); box-shadow: var(--ae-shadow-sm); transition: transform .25s var(--ae-ease), box-shadow .25s var(--ae-ease); }
.ae-quick:hover { transform: translateY(-4px); box-shadow: var(--ae-shadow); }
.ae-quick-no { font-size: 22px; font-weight: 800; color: var(--ae-brand); opacity: .35; letter-spacing: 1px; }
.ae-quick-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ae-quick-body strong { font-size: 16.5px; color: var(--ae-ink); }
.ae-quick-body em { font-size: 12.5px; color: var(--ae-muted); }
.ae-quick-arrow { color: var(--ae-accent); font-size: 18px; transition: transform .25s var(--ae-ease); }
.ae-quick:hover .ae-quick-arrow { transform: translateX(4px); }

/* ---------------- 关于（聚光深色） ---------------- */
.ae-about { background: var(--ae-grad-ink); color: rgba(255, 255, 255, .85); padding: 92px 0; position: relative; overflow: hidden; }
.ae-about::after { content: ""; position: absolute; left: 50%; top: -120px; width: 720px; height: 340px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(14, 140, 95, .28), transparent 65%); pointer-events: none; }
.ae-about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.ae-about-media { position: relative; }
.ae-about-img { margin: 0; border-radius: var(--ae-radius-lg); overflow: hidden; box-shadow: var(--ae-shadow); }
.ae-about-frame { position: absolute; left: -16px; top: -16px; right: 24px; bottom: 24px; border: 2px solid rgba(242, 107, 51, .55); border-radius: var(--ae-radius-lg); pointer-events: none; }
.ae-about-badge { position: absolute; right: -10px; bottom: 26px; padding: 16px 22px; background: var(--ae-accent); color: #fff; border-radius: var(--ae-radius-lg); box-shadow: 0 14px 30px rgba(242, 107, 51, .38); text-align: center; }
.ae-about-badge strong { display: block; font-size: 30px; line-height: 1.1; }
.ae-about-badge strong i { font-style: normal; font-size: 14px; }
.ae-about-badge span { font-size: 12.5px; opacity: .92; }
.ae-about-copy h2 { color: #fff; font-size: 31px; }
.ae-about-copy h2 em { font-style: normal; color: var(--ae-glow); }
.ae-about-copy p { color: rgba(255, 255, 255, .8); }
.ae-about-list { margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.ae-about-list li { padding-left: 24px; position: relative; color: rgba(255, 255, 255, .88); }
.ae-about-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ae-glow); font-weight: 700; }

/* ---------------- 核心场景 ---------------- */
.ae-scenes { background: var(--ae-paper); }
.ae-scenes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ae-scene { background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); overflow: hidden; transition: transform .25s var(--ae-ease), box-shadow .25s var(--ae-ease); }
.ae-scene:hover { transform: translateY(-5px); box-shadow: var(--ae-shadow); }
.ae-scene-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ae-scene-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ae-ease); }
.ae-scene:hover .ae-scene-media img { transform: scale(1.05); }
.ae-scene-no { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(15, 20, 32, .72); color: var(--ae-glow); font-size: 13px; font-weight: 700; letter-spacing: 1px; backdrop-filter: blur(3px); }
.ae-scene-body { padding: 20px 22px 24px; }
.ae-scene-body h3 { font-size: 19px; margin-bottom: 10px; }
.ae-scene-body p { color: var(--ae-muted); font-size: 14px; min-height: 66px; }
.ae-scene-link { font-weight: 600; color: var(--ae-brand); font-size: 14px; }
.ae-scene-link:hover { color: var(--ae-brand-deep); }

/* ---------------- 服务优势 ---------------- */
.ae-adv { background: var(--ae-grad-ink); color: rgba(255, 255, 255, .85); padding: 88px 0; }
.ae-adv-head { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.ae-adv-head h2 { color: #fff; font-size: 30px; }
.ae-adv-head h2 em { font-style: normal; color: var(--ae-glow); }
.ae-adv-head p { color: rgba(255, 255, 255, .78); }
.ae-adv-eyebrow { justify-content: center; }
.ae-adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ae-adv-item { padding: 26px 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--ae-radius-lg); background: rgba(255, 255, 255, .04); transition: transform .25s var(--ae-ease), background .25s var(--ae-ease); }
.ae-adv-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); }
.ae-adv-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ae-grad-brand); color: #fff; margin-bottom: 16px; }
.ae-adv-icon svg { width: 26px; height: 26px; }
.ae-adv-item h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.ae-adv-item p { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin: 0; }

/* ---------------- 案例 / 项目 ---------------- */
.ae-cases-grid, .ae-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ae-case { background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); overflow: hidden; transition: transform .25s var(--ae-ease), box-shadow .25s var(--ae-ease); }
.ae-case:hover { transform: translateY(-5px); box-shadow: var(--ae-shadow); }
.ae-case > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ae-case-body { padding: 18px 20px 20px; }
.ae-case-body em { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--ae-brand-soft); color: var(--ae-brand-deep); font-size: 12px; font-weight: 700; }
.ae-case-body h3 { font-size: 16.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ae-case-body span { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ae-muted); }

/* ---------------- 口碑 ---------------- */
.ae-voice { background: var(--ae-paper); padding: 84px 0; }
.ae-voice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ae-voice-card { margin: 0; padding: 26px 24px; background: var(--ae-white); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); box-shadow: var(--ae-shadow-sm); }
.ae-voice-stars { margin-bottom: 12px; color: var(--ae-glow); font-size: 16px; letter-spacing: 2px; }
.ae-voice-stars em { color: var(--ae-line-2); }
.ae-voice-card blockquote { margin: 0 0 18px; font-size: 14px; color: var(--ae-text); line-height: 1.8; min-height: 100px; }
.ae-voice-card figcaption { display: flex; align-items: center; gap: 12px; }
.ae-voice-avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ae-grad-brand); color: #fff; font-weight: 700; flex: none; }
.ae-voice-card figcaption strong { display: block; font-size: 14.5px; color: var(--ae-ink); }
.ae-voice-card figcaption em { font-size: 12px; color: var(--ae-muted); }

/* ---------------- 转化条 ---------------- */
.ae-cta { background: var(--ae-grad-brand); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.ae-cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .07); }
.ae-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 34px; position: relative; z-index: 1; }
.ae-cta h2 { color: #fff; font-size: 27px; max-width: 660px; }
.ae-cta .ae-eyebrow { color: rgba(255, 255, 255, .85); }
.ae-cta-act { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; white-space: nowrap; }
.ae-cta-tel { display: flex; flex-direction: column; line-height: 1.2; }
.ae-cta-tel small { font-size: 12px; color: rgba(255, 255, 255, .8); }
.ae-cta-tel strong { font-size: 25px; }
.ae-cta .ae-btn-sunset { box-shadow: 0 12px 26px rgba(15, 20, 32, .3); }

/* ---------------- 合作伙伴 ---------------- */
.ae-partners { padding: 72px 0; }
.ae-partners-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.ae-partners-head h2 { font-size: 26px; }
.ae-partners-head span { color: var(--ae-muted); font-size: 13.5px; }
.ae-partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ae-partner { display: flex; align-items: center; justify-content: center; padding: 20px 14px; border: 1px dashed var(--ae-line-2); border-radius: var(--ae-radius); color: var(--ae-ink-2); font-weight: 600; background: var(--ae-white); transition: border-color .25s var(--ae-ease), color .25s var(--ae-ease), transform .25s var(--ae-ease); }
.ae-partner:hover { border-color: var(--ae-brand); color: var(--ae-brand); transform: translateY(-3px); }

/* ---------------- 页脚 ---------------- */
.ae-footer { background: var(--ae-ink); color: rgba(255, 255, 255, .75); }
.ae-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-top: 64px; padding-bottom: 44px; }
.ae-footer-brand .ae-brand-text strong { color: #fff; }
.ae-footer-brand .ae-brand-text small { color: rgba(255, 255, 255, .55); }
.ae-footer-brand p { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .68); }
.ae-footer-social { display: flex; gap: 10px; margin-top: 14px; }
.ae-footer-social a { padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.ae-footer-social a:hover { border-color: var(--ae-glow); color: var(--ae-glow); }
.ae-footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.ae-footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--ae-accent); }
.ae-footer-col li { margin-bottom: 10px; font-size: 13.5px; }
.ae-footer-col a { color: rgba(255, 255, 255, .7); }
.ae-footer-col a:hover { color: var(--ae-glow); }
.ae-footer-contact li { display: flex; gap: 10px; }
.ae-footer-contact b { color: rgba(255, 255, 255, .45); font-weight: 500; white-space: nowrap; }
.ae-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; font-size: 13px; }
.ae-footer-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ae-footer-bottom p { margin: 0; color: rgba(255, 255, 255, .55); }
.ae-footer-bottom nav { display: flex; gap: 18px; }
.ae-footer-bottom a { color: rgba(255, 255, 255, .55); }
.ae-footer-bottom a:hover { color: var(--ae-glow); }
.ae-mianzer { padding: 0 22px 26px; font-size: 12px; color: rgba(255, 255, 255, .4); text-align: center; }

/* ---------------- 浮动工具 ---------------- */
.ae-float { position: fixed; right: 18px; bottom: 22vh; z-index: 55; display: flex; flex-direction: column; gap: 10px; }
.ae-float-item { position: relative; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--ae-line); background: var(--ae-white); color: var(--ae-ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--ae-shadow-sm); transition: background .25s var(--ae-ease), color .25s var(--ae-ease); }
.ae-float-item:hover { background: var(--ae-brand); color: #fff; }
.ae-float-pop { position: absolute; right: 58px; top: 50%; transform: translateY(-50%) scale(.9); padding: 6px 12px; border-radius: var(--ae-radius); background: var(--ae-ink); color: #fff; font-size: 12.5px; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .2s var(--ae-ease), transform .2s var(--ae-ease); pointer-events: none; }
.ae-float-item:hover .ae-float-pop { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.ae-float-top { display: none; }
.ae-float-top.is-show { display: inline-flex; }

/* ---------------- 布局变体（flex order 重排首页区块） ---------------- */
#aeMain { display: flex; flex-direction: column; }
.ae-hero { order: 1; }
.ae-quickbar { order: 2; }
.ae-about { order: 3; }
.ae-scenes { order: 4; }
.ae-adv { order: 5; }
.ae-cases { order: 6; }
.ae-voice { order: 7; }
.ae-cta { order: 8; }
.ae-partners { order: 9; }
body.lay-b .ae-scenes { order: 3; }
body.lay-b .ae-about { order: 4; }
body.lay-b .ae-adv { order: 7; }
body.lay-b .ae-cases { order: 5; }
body.lay-b .ae-voice { order: 6; }
body.lay-c .ae-cases { order: 3; }
body.lay-c .ae-quickbar { order: 4; }
body.lay-c .ae-adv { order: 5; }
body.lay-c .ae-about { order: 6; }
body.lay-c .ae-scenes { order: 7; }
body.lay-c .ae-voice { order: 8; }
body.lay-c .ae-cta { order: 9; }
body.lay-c .ae-partners { order: 10; }
/* lay-b 关于区改浅色图文左右互换 */
body.lay-b .ae-about { background: var(--ae-paper); color: var(--ae-text); }
body.lay-b .ae-about::after { display: none; }
body.lay-b .ae-about-grid { grid-template-columns: 1fr 1.05fr; }
body.lay-b .ae-about-media { order: 2; }
body.lay-b .ae-about-copy { order: 1; }
body.lay-b .ae-about-copy h2 { color: var(--ae-ink); }
body.lay-b .ae-about-copy h2 em { color: var(--ae-accent); }
body.lay-b .ae-about-copy p { color: var(--ae-muted); }
body.lay-b .ae-about-list li { color: var(--ae-text); }
body.lay-b .ae-about-list li::before { color: var(--ae-brand); }
body.lay-b .ae-eyebrow.is-light { color: var(--ae-brand); }
/* lay-c 首屏改左右分栏 */
body.lay-c .ae-hero-inner { flex-direction: row; align-items: center; gap: 44px; }
body.lay-c .ae-hero-copy { flex: 1.3; }
body.lay-c .ae-hero-stats { margin-top: 0; flex: 1; grid-template-columns: 1fr 1fr; max-width: none; }
body.lay-c .ae-hero { min-height: 560px; }

/* ---------------- 主题配色（字面重声明复合变量，防 var() 冻结） ---------------- */
body[data-theme="2"] {
    --ae-ink: #0C1B33;
    --ae-ink-2: #14274A;
    --ae-ink-3: #1E3A6E;
    --ae-brand: #1470C8;
    --ae-brand-deep: #0D5AA4;
    --ae-brand-soft: #E8F2FB;
    --ae-accent: #F5A623;
    --ae-accent-soft: #FFF4E0;
    --ae-glow: #FFC857;
    --ae-paper: #F2F6FB;
    --ae-line: #DCE5F0;
    --ae-line-2: #C4D2E3;
    --ae-grad-brand: linear-gradient(135deg, #1470C8, #0D5AA4);
    --ae-grad-accent: linear-gradient(135deg, #F5A623, #D98A0B);
    --ae-grad-ink: linear-gradient(160deg, #0C1B33 0%, #14274A 60%, #1E3A6E 100%);
}
body[data-theme="3"] {
    --ae-ink: #26121A;
    --ae-ink-2: #3C1C29;
    --ae-ink-3: #55283A;
    --ae-brand: #B42343;
    --ae-brand-deep: #8E1834;
    --ae-brand-soft: #F9E9EE;
    --ae-accent: #D9A441;
    --ae-accent-soft: #FBF3E2;
    --ae-glow: #EFCB7C;
    --ae-paper: #FAF5F2;
    --ae-line: #EEDCD5;
    --ae-line-2: #DCC3B9;
    --ae-grad-brand: linear-gradient(135deg, #B42343, #8E1834);
    --ae-grad-accent: linear-gradient(135deg, #D9A441, #B9852A);
    --ae-grad-ink: linear-gradient(160deg, #26121A 0%, #3C1C29 60%, #55283A 100%);
}
body[data-theme="4"] {
    --ae-ink: #08252B;
    --ae-ink-2: #0E3640;
    --ae-ink-3: #15505C;
    --ae-brand: #0A8F8F;
    --ae-brand-deep: #067070;
    --ae-brand-soft: #E3F4F4;
    --ae-accent: #F0705A;
    --ae-accent-soft: #FDEBE7;
    --ae-glow: #FFC96B;
    --ae-paper: #F1F8F8;
    --ae-line: #D8E9E9;
    --ae-line-2: #BCD8D8;
    --ae-grad-brand: linear-gradient(135deg, #0A8F8F, #067070);
    --ae-grad-accent: linear-gradient(135deg, #F0705A, #D4543E);
    --ae-grad-ink: linear-gradient(160deg, #08252B 0%, #0E3640 60%, #15505C 100%);
}
body[data-theme="5"] {
    --ae-ink: #171633;
    --ae-ink-2: #23214C;
    --ae-ink-3: #322F6B;
    --ae-brand: #5A4FD0;
    --ae-brand-deep: #4438AE;
    --ae-brand-soft: #EDEBFB;
    --ae-accent: #23A6D9;
    --ae-accent-soft: #E3F4FB;
    --ae-glow: #7FD3F7;
    --ae-paper: #F5F5FC;
    --ae-line: #E2E1F1;
    --ae-line-2: #CAC9E4;
    --ae-grad-brand: linear-gradient(135deg, #5A4FD0, #4438AE);
    --ae-grad-accent: linear-gradient(135deg, #23A6D9, #1287B4);
    --ae-grad-ink: linear-gradient(160deg, #171633 0%, #23214C 60%, #322F6B 100%);
}
body[data-theme="6"] {
    --ae-ink: #241236;
    --ae-ink-2: #381C52;
    --ae-ink-3: #4C276E;
    --ae-brand: #8A3DFA;
    --ae-brand-deep: #6A25CC;
    --ae-brand-soft: #F3EAFE;
    --ae-accent: #F2477E;
    --ae-accent-soft: #FEE7EF;
    --ae-glow: #FF9EC4;
    --ae-paper: #F8F4FD;
    --ae-line: #EADFF6;
    --ae-line-2: #D8C6EC;
    --ae-grad-brand: linear-gradient(135deg, #8A3DFA, #6A25CC);
    --ae-grad-accent: linear-gradient(135deg, #F2477E, #CC2A5E);
    --ae-grad-ink: linear-gradient(160deg, #241236 0%, #381C52 60%, #4C276E 100%);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1200px) {
    .ae-adv-grid { grid-template-columns: repeat(3, 1fr); }
    .ae-voice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .ae-nav, .ae-head-tel, .ae-head-cta { display: none; }
    .ae-burger { display: block; margin-left: auto; }
    .ae-head-search input { width: 120px; }
    .ae-hero { min-height: 560px; }
    .ae-hero-title { font-size: 34px; }
    .ae-quickbar-in { grid-template-columns: repeat(2, 1fr); }
    .ae-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .ae-scenes-grid { grid-template-columns: repeat(2, 1fr); }
    .ae-cases-grid, .ae-case-grid { grid-template-columns: repeat(2, 1fr); }
    .ae-adv-grid { grid-template-columns: repeat(2, 1fr); }
    .ae-cta-in { flex-direction: column; align-items: flex-start; }
    .ae-cta-act { flex-direction: row; align-items: center; gap: 26px; }
    .ae-footer-top { grid-template-columns: 1fr 1fr; }
    body.lay-c .ae-hero-inner { flex-direction: column; align-items: stretch; }
    body.lay-c .ae-hero-stats { margin-top: 34px; }
}
@media (max-width: 767px) {
    .ae-wrap { padding: 0 16px; }
    .ae-sec { padding: 56px 0; }
    .ae-topline-left span { display: none; }
    .ae-topline-right a:not(.ae-topline-tel) { display: none; }
    .ae-header-in { min-height: 64px; }
    .ae-brand-text strong { max-width: 190px; font-size: 16px; }
    .ae-head-search { display: none; }
    .ae-hero { min-height: 500px; }
    .ae-hero-inner { padding-top: 46px; padding-bottom: 84px; }
    .ae-hero-title { font-size: 26px; }
    .ae-hero-lead { font-size: 14px; }
    .ae-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .ae-hero-stat strong { font-size: 22px; }
    .ae-hero-nav { bottom: 74px; right: 16px; }
    .ae-quickbar { margin-top: -30px; }
    .ae-quickbar-in { grid-template-columns: 1fr; }
    .ae-sec-head { flex-direction: column; align-items: flex-start; }
    .ae-sec-head h2 { font-size: 24px; }
    .ae-about { padding: 60px 0; }
    .ae-about-list { grid-template-columns: 1fr; }
    .ae-scenes-grid { grid-template-columns: 1fr; }
    .ae-cases-grid, .ae-case-grid { grid-template-columns: 1fr; }
    .ae-adv { padding: 60px 0; }
    .ae-adv-grid { grid-template-columns: 1fr; }
    .ae-voice { padding: 56px 0; }
    .ae-voice-grid { grid-template-columns: 1fr; }
    .ae-voice-card blockquote { min-height: 0; }
    .ae-partner-grid { grid-template-columns: repeat(2, 1fr); }
    .ae-footer-top { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; }
    .ae-float { right: 10px; bottom: 14vh; }
    .ae-float-pop { display: none; }
}
