/* ==========================================================================
   四川迪状元升学官网 - 主题样式
   主题色：清华紫  C65 M100 Y0 K20 / RGB(102, 8, 116) / PANTONE 259C  →  #660874
   ========================================================================== */

:root {
    /* 品牌主色阶（由清华紫 #660874 派生） */
    --brand:        #660874;
    --brand-900:    #3a0442;
    --brand-800:    #4c0657;
    --brand-700:    #660874;
    --brand-600:    #7d1a8c;
    --brand-500:    #943ba3;
    --brand-300:    #c48ecd;
    --brand-200:    #ddbde3;
    --brand-100:    #eed8f2;
    --brand-050:    #f8f2fa;

    /* 辅助色 */
    --gold:         #c49a4f;
    --gold-light:   #e3c68a;
    --ink:          #1b1420;
    --ink-soft:     #4a4051;
    --muted:        #7b7183;
    --line:         #e8e2ec;
    --bg:           #ffffff;
    --bg-soft:      #faf7fb;

    /* 尺寸 */
    --radius:       14px;
    --radius-lg:    22px;
    --shadow-sm:    0 4px 16px rgba(58, 4, 66, .06);
    --shadow:       0 12px 34px rgba(58, 4, 66, .10);
    --shadow-lg:    0 24px 60px rgba(58, 4, 66, .16);
    --container:    1200px;

    --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--brand-600); }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- 图标（以 currentColor 着色） ---------- */
.ico {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
    vertical-align: -.125em;
}
.ico--phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E"); }
.ico--clock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ico--edit { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E"); }
.ico--up { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E"); }
.ico--arrow { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E"); }
.ico--check { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E"); }

/* 核心能力图标 */
.ico--diagnose { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v3'/%3E%3Ccircle cx='12' cy='13' r='7'/%3E%3Cpath d='M12 13l3.5-3.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v3'/%3E%3Ccircle cx='12' cy='13' r='7'/%3E%3Cpath d='M12 13l3.5-3.5'/%3E%3C/svg%3E"); }
.ico--database { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cellipse cx='12' cy='6' rx='8' ry='3'/%3E%3Cpath d='M20 6v6c0 1.7-3.6 3-8 3s-8-1.3-8-3V6'/%3E%3Cpath d='M20 12v6c0 1.7-3.6 3-8 3s-8-1.3-8-3v-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cellipse cx='12' cy='6' rx='8' ry='3'/%3E%3Cpath d='M20 6v6c0 1.7-3.6 3-8 3s-8-1.3-8-3V6'/%3E%3Cpath d='M20 12v6c0 1.7-3.6 3-8 3s-8-1.3-8-3v-6'/%3E%3C/svg%3E"); }
.ico--simulate { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10'/%3E%3Cpath d='M10 20V4'/%3E%3Cpath d='M16 20v-7'/%3E%3Cpath d='M22 20H2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10'/%3E%3Cpath d='M10 20V4'/%3E%3Cpath d='M16 20v-7'/%3E%3Cpath d='M22 20H2'/%3E%3C/svg%3E"); }
.ico--track { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 14 3.5-4 3 3L20 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 14 3.5-4 3 3L20 6'/%3E%3C/svg%3E"); }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: transform .25s, background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn .ico { font-size: 16px; }
.btn--primary {
    background: linear-gradient(120deg, var(--brand-700), var(--brand-500));
    color: #fff;
    box-shadow: 0 10px 26px rgba(102, 8, 116, .28);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(102, 8, 116, .36); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--brand-700); border-color: #fff; }
.btn--outline { border-color: var(--brand-200); color: var(--brand-700); background: #fff; }
.btn--outline:hover { background: var(--brand-050); border-color: var(--brand-500); }
.btn--gold { background: linear-gradient(120deg, var(--gold), var(--gold-light)); color: #3a0442; }
.btn--gold:hover { color: #3a0442; transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 17px 40px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar {
    background: var(--brand-900);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.topbar__list { display: flex; align-items: center; gap: 24px; }
.topbar__list li { display: flex; align-items: center; gap: 6px; }
.topbar__phone a { color: var(--gold-light); font-weight: 700; letter-spacing: .4px; }
.topbar__phone a:hover { color: #fff; }

/* ---------- 主导航 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.header.is-stuck { box-shadow: 0 8px 26px rgba(58, 4, 66, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    display: block;
    flex: 0 0 auto;
    height: 52px;
}
.brand__mark img { display: block; height: 100%; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 20px; color: var(--ink); letter-spacing: .5px; }
.brand__text em {
    font-style: normal;
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--muted);
    text-transform: uppercase;
}

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
    position: relative;
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 8px;
}
.nav__list a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--brand-700);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .28s;
}
.nav__list a:hover { color: var(--brand-700); background: var(--brand-050); }
.nav__list a:hover::after, .nav__list a.is-active::after { width: 18px; }
.nav__list a.is-active { color: var(--brand-700); font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: 12px; }
/* 移动端菜单内的行动按钮，桌面端隐藏 */
.nav__cta { display: none; }
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--brand-700); border-radius: 2px; }

/* ---------- 主视觉轮播 ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-900); }
.hero__slides { position: relative; height: 620px; }
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s;
    display: flex;
    align-items: center;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1.12); }
.hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(58, 4, 66, .94) 0%, rgba(102, 8, 116, .80) 42%, rgba(102, 8, 116, .30) 100%);
}
.hero__inner { position: relative; z-index: 2; color: #fff; max-width: 720px; }
.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 22px;
    border: 1px solid rgba(227, 198, 138, .55);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: 13px;
    letter-spacing: 1px;
}
.hero__title { font-size: 46px; color: #fff; letter-spacing: .5px; }
.hero__en {
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .62);
    text-transform: uppercase;
}
.hero__desc { margin-top: 20px; font-size: 17px; color: rgba(255, 255, 255, .86); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__dots { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero__dots button {
    width: 30px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .35);
    transition: background-color .3s, width .3s;
}
.hero__dots button.is-active { width: 46px; background: var(--gold-light); }

/* 主视觉下方的关键指标条 */
.hero-facts {
    position: relative;
    z-index: 4;
    margin-top: -52px;
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow);
}
.hero-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-facts__item { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.hero-facts__item:last-child { border-right: 0; }
.hero-facts__num { font-size: 32px; font-weight: 800; color: var(--brand-700); letter-spacing: -.5px; }
.hero-facts__num small { font-size: 15px; font-weight: 600; }
.hero-facts__label { font-size: 14px; color: var(--muted); }

/* ---------- 通用区块 ---------- */
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 68px 0; }
.section--dark {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, var(--brand-900), var(--brand-700) 55%, var(--brand-800));
    color: rgba(255, 255, 255, .84);
}
.section--dark::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 154, 79, .28), transparent 68%);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head__en {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    color: var(--brand-500);
}
.sec-head__title { font-size: 34px; letter-spacing: .5px; }
.sec-head__title em { font-style: normal; color: var(--brand-700); }
.sec-head__desc { margin-top: 16px; font-size: 15.5px; color: var(--muted); }
.section--dark .sec-head__desc { color: rgba(255, 255, 255, .72); }
.sec-head__line { width: 54px; height: 3px; margin: 20px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--brand-700), var(--gold)); }
.sec-head--left .sec-head__line { margin-left: 0; }

/* ---------- 核心能力 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
    padding: 36px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.feature-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 22px rgba(102, 8, 116, .22);
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 平台板块（图文交错） ---------- */
.platform-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.platform-row + .platform-row { margin-top: 76px; }
.platform-row--reverse .platform-row__media { order: 2; }
.platform-row__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.platform-row__media img { width: 100%; height: 380px; object-fit: cover; }
.platform-row__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(102, 8, 116, .30), transparent 60%);
}
.platform-row__badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--brand-700);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
}
.platform-row__sub { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--brand-500); }
.platform-row__title { margin: 12px 0 18px; font-size: 30px; }
.platform-row__desc { font-size: 15.5px; color: var(--muted); }
.platform-row__list { margin: 24px 0 28px; display: grid; gap: 12px; }
.platform-row__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.platform-row__list .ico { flex: 0 0 auto; margin-top: 5px; color: var(--brand-600); font-size: 14px; }

/* ---------- 服务体系 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .35s, box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media { position: relative; height: 190px; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(58, 4, 66, .82);
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: .5px;
}
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 28px; }
.service-card__body h3 { font-size: 20px; margin-bottom: 10px; }
.service-card__body > p { font-size: 14.5px; color: var(--muted); }
.service-card__points { margin: 18px 0 22px; display: grid; gap: 9px; }
.service-card__points li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.service-card__points .ico { flex: 0 0 auto; margin-top: 5px; color: var(--brand-600); font-size: 13px; }
.service-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-700);
}
.service-card__more:hover { gap: 12px; }

/* 服务快捷导航 */
.service-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-nav__item {
    display: block;
    padding: 13px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-700);
    background: #fff;
    border: 1px solid var(--brand-200);
    border-radius: 10px;
    transition: background-color .25s, border-color .25s, color .25s;
}
.service-nav__item:hover,
.service-nav__item.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* ---------- 数据成果 ---------- */
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 8px; }
.stat-item__num { font-size: 46px; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1.1; }
.stat-item__num small { font-size: 22px; color: var(--gold-light); }
.stat-item__label { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.stat-item__note { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---------- 服务流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card {
    position: relative;
    padding: 32px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.process-card__step {
    position: absolute;
    top: -16px;
    right: 22px;
    font-size: 44px;
    font-weight: 800;
    color: var(--brand-100);
    line-height: 1;
    letter-spacing: -2px;
}
.process-card h3 { font-size: 18px; margin-bottom: 10px; }
.process-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 理念关键词条（首页 hero-facts 后） ---------- */
.philosophy-bar {
    padding: 42px 0 40px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.philosophy-bar__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.philosophy-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-700);
    background: var(--brand-050);
    border: 1px solid var(--brand-200);
    border-radius: 999px;
    letter-spacing: .5px;
    transition: transform .28s, background-color .28s, color .28s, border-color .28s;
    animation: chip-in .5s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: var(--chip-delay, 0ms);
}
.philosophy-chip em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--brand-700);
    color: #fff;
}
.philosophy-chip:hover {
    transform: translateY(-3px);
    background: var(--brand-700);
    color: #fff;
    border-color: var(--brand-700);
    box-shadow: 0 10px 26px rgba(102, 8, 116, .22);
}
.philosophy-bar__tagline {
    margin-top: 22px;
    text-align: center;
    font-size: 15px;
    color: var(--muted);
    letter-spacing: 3px;
    word-spacing: 8px;
}

@keyframes chip-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- 学习 + 交付流程（7 步） ---------- */
.learn-flow { padding-bottom: 110px; }
.learn-flow__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-top: 26px;
}
.learn-flow__track::before {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(100% / 7 / 2);
    right: calc(100% / 7 / 2);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(255,255,255,.28) 30%, rgba(255,255,255,.28) 70%, var(--gold));
    z-index: 0;
}
.learn-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 14px 28px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    transition: background-color .35s, transform .35s, border-color .35s, box-shadow .35s;
    animation: learn-step-in .6s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: var(--step-delay, 0ms);
}
.learn-step:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .12);
    border-color: rgba(227, 198, 138, .55);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.learn-step__num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--brand-900);
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(196, 154, 79, .4);
}
.learn-step h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.learn-step p { color: rgba(255, 255, 255, .7); font-size: 13.5px; line-height: 1.75; }

@keyframes learn-step-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- About Us · 办学理念卡片 ---------- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.philosophy-card {
    position: relative;
    padding: 36px 30px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.philosophy-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand-700), var(--gold));
    opacity: .9;
}
.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--brand-200);
}
.philosophy-card__idx {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 30px;
    font-weight: 800;
    color: var(--brand-100);
    line-height: 1;
    letter-spacing: -2px;
}
.philosophy-card h3 { font-size: 20px; margin-bottom: 10px; }
.philosophy-card p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }

/* ---------- 师资矩阵 ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.teacher-card {
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #fff, var(--brand-050));
    border: 1px solid var(--brand-100);
}
.teacher-card h3 { font-size: 20px; margin-bottom: 6px; }
.teacher-card__role { font-size: 13px; letter-spacing: 1px; color: var(--brand-600); font-weight: 600; }
.teacher-card p { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* ---------- 资质荣誉 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    transition: background-color .3s, transform .3s;
}
.honor-card:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.honor-card__year {
    flex: 0 0 52px;
    font-size: 15px;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: .5px;
}
.honor-card h4 { font-size: 15.5px; font-weight: 600; line-height: 1.5; }

/* ---------- 资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.news-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.news-card__cat {
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--brand-050);
    color: var(--brand-700);
    font-weight: 700;
}
.news-card h3 { margin: 16px 0 12px; font-size: 18px; line-height: 1.55; }
.news-card:hover h3 { color: var(--brand-700); }
.news-card p { font-size: 14.5px; color: var(--muted); }
.news-card__more { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; }

/* 资讯列表页 */
.news-list { display: grid; gap: 22px; }
.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 26px;
    padding: 30px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.news-item__date { color: var(--brand-700); }
.news-item__date strong { display: block; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.news-item__date span { font-size: 13px; color: var(--muted); }
.news-item h3 { font-size: 20px; margin-bottom: 10px; }
.news-item:hover h3 { color: var(--brand-700); }
.news-item p { font-size: 14.5px; color: var(--muted); }

/* 文章详情 */
.article { max-width: 860px; margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.article__meta .news-card__cat { padding: 3px 10px; }
.article h1 { font-size: 32px; line-height: 1.45; margin-bottom: 8px; }
.article__body { margin-top: 34px; font-size: 16px; }
.article__body p { margin-bottom: 20px; color: var(--ink-soft); }
.article__body p:first-child { padding: 20px 24px; background: var(--brand-050); border-left: 3px solid var(--brand-700); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.article__foot { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 内页头图 ---------- */
.page-hero {
    position: relative;
    padding: 78px 0 66px;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700) 60%, var(--brand-600));
    color: #fff;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 154, 79, .26), transparent 70%);
}
.page-hero__en { font-size: 12px; letter-spacing: 3.4px; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.page-hero h1 { margin: 14px 0 14px; font-size: 38px; color: #fff; }
.page-hero p { max-width: 680px; color: rgba(255, 255, 255, .82); }
.page-hero__crumb { position: relative; z-index: 2; margin-top: 26px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.page-hero__crumb a:hover { color: #fff; }

/* ---------- 表单 ---------- */
.form-card {
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field label .req { color: #d4380d; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.form-field textarea { min-height: 108px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(102, 8, 116, .12);
}
.form-field .error-text { font-size: 12.5px; color: #d4380d; min-height: 0; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-feedback {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
}
.form-feedback.is-show { display: flex; }
.form-feedback.is-ok { background: #f2f0fb; color: var(--brand-700); border: 1px solid var(--brand-200); }
.form-feedback.is-err { background: #fff2ef; color: #d4380d; border: 1px solid #ffccc7; }

/* ---------- 联系信息 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.contact-item__icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--brand-050);
    color: var(--brand-700);
    font-size: 20px;
}
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 14.5px; color: var(--muted); }
.contact-item a { color: var(--brand-700); font-weight: 600; }

/* ---------- CTA 区块 ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: 66px 0;
    background: linear-gradient(120deg, var(--brand-900), var(--brand-700) 50%, var(--brand-500));
    color: #fff;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { font-size: 30px; color: #fff; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .8); }
.cta-band__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: var(--brand-900); color: rgba(255, 255, 255, .66); padding-top: 66px; font-size: 14px; }
.footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer h4 { font-size: 16px; color: #fff; margin-bottom: 20px; }
.footer a { color: rgba(255, 255, 255, .66); }
.footer a:hover { color: var(--gold-light); }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text em { color: rgba(255, 255, 255, .45); }
/* 品牌标为紫色透明底，深色页脚上需衬白色底板 */
.brand--footer .brand__mark {
    height: 48px;
    padding: 5px 9px;
    background: #fff;
    border-radius: 12px;
}
.footer__desc { margin: 20px 0 24px; line-height: 1.9; }
.footer__contact { display: grid; grid-template-columns: 74px 1fr; gap: 8px 14px; font-size: 13.5px; }
.footer__contact dt { color: rgba(255, 255, 255, .42); }
.footer__links { display: grid; gap: 12px; }
.footer__qr { display: flex; gap: 16px; }
.footer__qr figure { text-align: center; }
.footer__qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff; padding: 6px; }
.footer__qr figcaption { margin-top: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.footer__tip { margin-top: 18px; font-size: 13px; line-height: 1.8; }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    flex-wrap: wrap;
}

/* ---------- 右侧悬浮 ---------- */
.float-bar {
    position: fixed;
    right: 18px;
    bottom: 90px;
    z-index: 50;
    display: grid;
    gap: 10px;
}
.float-bar__item {
    display: grid;
    place-items: center;
    gap: 3px;
    width: 58px;
    padding: 10px 0;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--brand-700);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    transition: background-color .3s, color .3s, transform .3s;
}
.float-bar__item em { font-style: normal; font-size: 11px; letter-spacing: .5px; }
.float-bar__item:hover { background: var(--brand-700); color: #fff; transform: translateY(-3px); }

/* ---------- 滚动进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .service-nav { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .footer__main { grid-template-columns: 1fr 1fr; }
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
    .learn-flow__track { grid-template-columns: repeat(4, 1fr); }
    .learn-flow__track::before { display: none; }
    .nav__list a { padding: 10px 10px; font-size: 14px; }
    .brand__text strong { font-size: 18px; }
}

/* 平板与手机横屏：导航收进汉堡菜单，避免 6 个栏目挤爆一行 */
@media (max-width: 1024px) {
    .header__inner { min-height: 66px; }
    .brand__mark { height: 46px; }
    .nav {
        position: fixed;
        inset: 66px 0 auto;
        display: none;
        max-height: calc(100vh - 66px);
        overflow-y: auto;
        padding: 12px 24px 22px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__list a { padding: 14px 12px; font-size: 15px; }
    .nav__list a::after { display: none; }
    .nav__list a.is-active { background: var(--brand-050); }
    .nav__cta {
        display: flex;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--line);
    }
    .nav__cta .btn { flex: 1; justify-content: center; }
    .nav-toggle { display: block; }
    .header__actions .btn { display: none; }
}

@media (max-width: 900px) {
    .hero__slides { height: 540px; }
    .hero__title { font-size: 34px; }
    .platform-row { grid-template-columns: 1fr; gap: 30px; }
    .platform-row--reverse .platform-row__media { order: 0; }
    .service-grid, .news-grid, .teacher-grid, .honor-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-facts { margin-top: -36px; }
    .hero-facts__grid { grid-template-columns: repeat(2, 1fr); }
    .hero-facts__item { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
    .topbar__slogan { display: none; }
    .topbar__inner { justify-content: center; }
    .section { padding: 62px 0; }
    .sec-head__title { font-size: 26px; }
    .hero__title { font-size: 27px; }
    .hero__desc { font-size: 15px; }
    .hero__slides { height: 500px; }
    .feature-grid, .service-grid, .news-grid, .teacher-grid, .honor-grid, .process-grid,
    .stats-grid, .hero-facts__grid, .form-grid, .footer__main, .service-nav,
    .philosophy-grid, .learn-flow__track { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
    .news-item__date { display: flex; align-items: baseline; gap: 8px; }
    .news-item__date strong { font-size: 24px; }
    .article h1 { font-size: 24px; }
    .article__body { font-size: 15.5px; }
    .form-card { padding: 26px 20px; }
    .page-hero h1 { font-size: 27px; }
    .float-bar { right: 10px; bottom: 70px; }
    .float-bar__item { width: 50px; font-size: 16px; }
    .cta-band h2 { font-size: 23px; }
}

/* 320~360px 老机型：隐藏装饰性英文副标题，避免头部被撑破 */
@media (max-width: 360px) {
    .brand__mark { height: 40px; }
    .brand__text em { display: none; }
    .brand__text strong { font-size: 17px; }
}
