/* ==========================================================================
   SIA 2027 · 上海国际工业自动化及机器人展
   立体金属质感视觉系统 / 响应式
   ========================================================================== */

:root {
    --ink: #0a0f1c;
    --ink-2: #111a2e;
    --ink-3: #1b2740;
    --steel-1: #f4f7fb;
    --steel-2: #dfe7f2;
    --steel-3: #b9c6da;
    --steel-4: #8d9cb5;
    --text: #26303f;
    --text-2: #5b6879;
    --line: rgba(20, 34, 56, .10);
    --red: #e2001a;
    --red-2: #ff3b30;
    --gold: #d8b46a;
    --blue: #1f6fe5;
    --radius: 14px;
    --shadow-s: 0 2px 6px rgba(16, 30, 54, .08), 0 10px 24px -12px rgba(16, 30, 54, .25);
    --shadow-m: 0 10px 30px -12px rgba(16, 30, 54, .35), 0 30px 60px -40px rgba(16, 30, 54, .5);
    --metal: linear-gradient(180deg, #ffffff 0%, #eef3fa 42%, #d7e0ee 58%, #f7fafd 100%);
    --metal-dark: linear-gradient(160deg, #24314a 0%, #0d1526 45%, #1a2338 100%);
    --max: 1240px;
}

* { box-sizing: border-box; }

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

html, body { max-width: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #f5f7fb;
    font-size: 15px;
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--red); }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; font-weight: 700; letter-spacing: .2px; }

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

/* 金属质感通用件 --------------------------------------------------------- */
.metal-panel {
    position: relative;
    background: var(--metal);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(140, 160, 190, .35),
        0 1px 2px rgba(16, 30, 54, .10),
        0 18px 40px -24px rgba(16, 30, 54, .55);
}
.metal-panel::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 70%, rgba(255,255,255,.5) 100%);
    pointer-events: none;
    opacity: .55;
}

.brush {
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, rgba(150,170,200,.10) 1px 3px, rgba(255,255,255,.35) 3px 4px);
    background-size: 4px 100%;
}

/* 顶栏 ------------------------------------------------------------------- */
.topbar {
    background: linear-gradient(180deg, #0c1424, #060b15);
    color: #93a2ba;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: 38px; gap: 14px;
}
.topbar .tb-l { display: flex; gap: 18px; align-items: center; overflow: hidden; white-space: nowrap; }
.topbar .tb-l span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 8px var(--red-2); }
.topbar .tb-r { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.topbar a:hover { color: #fff; }

/* 导航 ------------------------------------------------------------------- */
.header {
    position: sticky; top: 0; z-index: 60;
    background: linear-gradient(180deg, rgba(12,20,36,.97), rgba(8,13,24,.97));
    backdrop-filter: blur(10px) saturate(140%);
    border-bottom: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 6px 24px -16px rgba(0,0,0,.8);
}
.header::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(226,0,26,.85), rgba(216,180,106,.85), transparent);
    opacity: .8;
}
.nav-inner {
    display: flex; align-items: center; gap: 16px;
    height: 74px;
    max-width: 1320px;
}
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; }
.logo-mark {
    width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
    background: var(--metal);
    display: grid; place-items: center;
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(120,140,170,.45), 0 6px 14px -6px rgba(0,0,0,.7);
    position: relative;
}
.logo-mark img { width: 34px; height: 34px; object-fit: contain; }
.logo-mark::before {
    content: ""; position: absolute; inset: 1px; border-radius: 11px;
    border: 1px solid rgba(255,255,255,.8);
    opacity: .6;
}
.logo-txt { color: #fff; line-height: 1.2; min-width: 0; }
.lg-mini { display: none; }
.logo-txt b {
    display: block; font-size: clamp(12px, 1.22vw, 17px); letter-spacing: .3px; font-weight: 800;
    overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(180deg, #fff 10%, #dfe7f2 52%, #9fb0c8 62%, #fff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,.5));
    white-space: nowrap;
}
.logo-txt small { display: block; font-size: .62em; letter-spacing: .6px; color: #7f8ea6; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.menu { margin-left: auto; display: flex; align-items: stretch; height: 100%; flex: 0 0 auto; }
.menu > li { position: relative; list-style: none; }
.menu > li > a {
    display: flex; align-items: center; height: 74px; padding: 0 13px;
    color: #cdd8e8; font-size: 14.6px; font-weight: 500; position: relative;
    white-space: nowrap; word-break: keep-all;
}
.menu > li > a::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 16px; height: 2px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
    border-radius: 2px;
}
.menu > li > a:hover, .menu > li.active > a { color: #fff; }
.menu > li > a:hover::after, .menu > li.active > a::after { transform: scaleX(1); }

.submenu {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
    min-width: 178px; padding: 8px; margin: 0; list-style: none;
    background: rgba(14,22,38,.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    box-shadow: 0 24px 48px -24px rgba(0,0,0,.9);
    opacity: 0; visibility: hidden; transition: .22s ease;
    backdrop-filter: blur(12px);
}
.menu > li:hover .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.submenu li a {
    display: block; padding: 9px 12px; color: #b9c6da; font-size: 14px; border-radius: 8px; white-space: nowrap;
}
.submenu li a:hover { background: rgba(255,255,255,.08); color: #fff; }

.nav-cta {
    margin-left: 14px; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff !important;
    background: linear-gradient(180deg, #ff4a3d, #d0121f 55%, #a80d18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 20px -10px rgba(226,0,26,.9);
    white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.06); }

.burger {
    display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06);
    align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer;
}
.burger i { display: block; width: 20px; height: 2px; background: #dfe7f2; border-radius: 2px; transition: .25s; }
body.nav-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { opacity: 0; }
body.nav-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 轮播 ------------------------------------------------------------------- */
.hero { position: relative; background: #05080f; overflow: hidden; }
.slider { position: relative; height: clamp(320px, 46vw, 620px); }
.slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center;
}
.slide.on { opacity: 1; z-index: 2; }
.slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.06);
    transition: transform 8s linear;
}
.slide.on .slide-bg { transform: scale(1); }
.slide-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(3,7,14,.9) 0%, rgba(3,7,14,.62) 38%, rgba(3,7,14,.15) 70%, rgba(3,7,14,.35) 100%),
        radial-gradient(120% 80% at 12% 100%, rgba(31,111,229,.30), transparent 60%);
}
.slide-body { position: relative; z-index: 3; max-width: 660px; color: #fff; padding: 0 20px; }
.slide-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: #cfe0ff;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(6px);
    margin-bottom: 18px;
}
.slide h1 {
    font-size: clamp(26px, 4.4vw, 54px); line-height: 1.18; margin: 0 0 14px; font-weight: 800; letter-spacing: 1px;
    background: linear-gradient(180deg, #ffffff 6%, #f0f5ff 40%, #a9bcd4 56%, #ffffff 74%, #e6eefb 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
}
.slide p { font-size: clamp(14px, 1.5vw, 18px); color: #c6d3e6; margin: 0 0 26px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
    border: 0; cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.btn-red {
    color: #fff;
    background: linear-gradient(180deg, #ff4c3f 0%, #e2001a 48%, #9d0b16 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 26px -12px rgba(226,0,26,.95);
}
.btn-metal {
    color: #12203a;
    background: linear-gradient(180deg, #ffffff, #e7edf6 46%, #c6d2e3 54%, #ffffff);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 3px rgba(120,140,170,.5), 0 10px 22px -12px rgba(0,0,0,.75);
    border: 1px solid rgba(255,255,255,.85);
}
.btn-ghost { color: #dbe6f5; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-red:hover, .btn-metal:hover { transform: translateY(-2px); filter: brightness(1.03); }

.slider-dots {
    position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5;
    display: flex; justify-content: center; gap: 9px;
}
.slider-dots button {
    width: 26px; height: 4px; border-radius: 2px; border: 0; cursor: pointer;
    background: rgba(255,255,255,.32); padding: 0; transition: .3s;
}
.slider-dots button.on { background: linear-gradient(90deg, var(--red), var(--gold)); width: 42px; }
.slider-arrow {
    position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    background: rgba(12,20,36,.42); border: 1px solid rgba(255,255,255,.28);
    color: #fff; font-size: 20px; display: grid; place-items: center;
    backdrop-filter: blur(6px); transition: .2s;
}
.slider-arrow:hover { background: rgba(226,0,26,.82); border-color: transparent; }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

/* 数据条 ----------------------------------------------------------------- */
.stats {
    position: relative; z-index: 6; margin-top: -46px;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-radius: 18px; overflow: hidden;
}
.stat {
    padding: 22px 18px; text-align: center; position: relative;
}
.stat + .stat::before {
    content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(120,140,175,.45), transparent);
}
.stat b {
    display: block; font-size: clamp(20px, 2.6vw, 34px); font-weight: 800; letter-spacing: .5px;
    background: linear-gradient(180deg, #24314a 10%, #5b6b86 48%, #1b2740 60%, #455571 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13px; color: #5b6879; letter-spacing: .5px; }

/* 通用区块 --------------------------------------------------------------- */
.section { padding: 68px 0; }
.section.tight { padding: 48px 0; }
.section-dark { background: var(--metal-dark); color: #d8e2f0; position: relative; overflow: hidden; }
.section-dark::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(60% 60% at 85% 0%, rgba(31,111,229,.22), transparent 60%),
        radial-gradient(50% 50% at 5% 100%, rgba(226,0,26,.18), transparent 60%);
    pointer-events: none;
}
.section-dark > * { position: relative; }

.sec-head { margin-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-head .t h2 {
    font-size: clamp(22px, 2.6vw, 32px); margin: 0; color: #16233a; letter-spacing: 1px;
}
.section-dark .sec-head .t h2 { color: #fff; }
.sec-head .t em {
    display: inline-block; font-style: normal; font-size: 12px; letter-spacing: 3px;
    color: var(--red); font-weight: 700; margin-bottom: 8px; text-transform: uppercase;
}
.section-dark .sec-head .t em { color: var(--gold); }
.sec-head .t p { margin: 8px 0 0; color: var(--text-2); font-size: 14px; }
.section-dark .sec-head .t p { color: #97a6bd; }
.more-link { font-size: 13.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.more-link:hover { color: var(--red); gap: 10px; }

/* 关于展会 + 倒计时 ------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.about-media { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-m); }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }
.about-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(31,111,229,.32), transparent 46%, rgba(226,0,26,.30));
    mix-blend-mode: screen;
}
.about-media .badge {
    position: absolute; left: 18px; bottom: 18px; z-index: 2;
    padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #12203a;
    background: var(--metal);
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px -8px rgba(0,0,0,.7);
}
.about-text h2 { font-size: clamp(22px, 2.5vw, 30px); color: #16233a; }
.about-text p { color: var(--text-2); margin: 0 0 14px; }
.about-text strong { color: #16233a; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 26px; }
.cd-item {
    border-radius: 12px; padding: 12px 6px; text-align: center;
    background: linear-gradient(180deg, #1b2740, #0c1424);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 24px -18px #000;
}
.cd-item b {
    display: block; font-size: 26px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff, #c3d2e8 55%, #fff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-item span { font-size: 11.5px; color: #8c9cb4; letter-spacing: 1px; }

/* 新闻 ------------------------------------------------------------------- */
.news-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.news-lead {
    position: relative; border-radius: 16px; overflow: hidden; display: block;
    min-height: 340px; box-shadow: var(--shadow-m);
    background: #0c1424;
}
.news-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-lead:hover img { transform: scale(1.05); }
.news-lead .ov {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(4,8,16,0) 26%, rgba(4,8,16,.55) 62%, rgba(4,8,16,.94) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
}
.news-lead .ov h3 { color: #fff; font-size: 21px; margin: 0 0 8px; }
.news-lead .ov p { color: #b9c6da; font-size: 13.5px; margin: 0; }
.news-lead .tag, .news-item .tag {
    display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 6px; margin-bottom: 12px; color: #fff;
    background: linear-gradient(180deg, #ff4c3f, #c00f1a);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 14px -8px rgba(226,0,26,.9);
}
.news-side { display: flex; flex-direction: column; gap: 12px; }
.news-item {
    display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center;
    padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(16,30,54,.04); transition: .22s;
}
.news-item:hover { box-shadow: var(--shadow-s); transform: translateY(-2px); border-color: rgba(226,0,26,.25); }
.news-item .th { border-radius: 9px; overflow: hidden; aspect-ratio: 4/3; background: #eef2f8; }
.news-item .th img { width: 100%; height: 100%; object-fit: cover; }
.news-item h4 { margin: 0 0 6px; font-size: 15.5px; color: #16233a; font-weight: 600; line-height: 1.45; }
.news-item time { font-size: 12px; color: #8d9cb5; }
.news-item .tag { font-size: 10.5px; padding: 2px 8px; margin-bottom: 6px; }

/* 新闻列表页 ------------------------------------------------------------- */
.page-hero {
    position: relative; background: var(--metal-dark); color: #fff; overflow: hidden;
    padding: 54px 0 46px;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(70% 120% at 88% 10%, rgba(31,111,229,.30), transparent 62%),
        radial-gradient(50% 90% at 0% 100%, rgba(226,0,26,.22), transparent 60%);
}
.page-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216,180,106,.6), transparent);
}
.page-hero .wrap { position: relative; }
.ph-crumb { font-size: 12.5px; color: #8b9bb4; margin-bottom: 12px; }
.ph-crumb a { color: #b9c6da; }
.ph-crumb span { color: var(--gold); }
.page-hero h1 {
    font-size: clamp(24px, 3vw, 36px); margin: 0 0 6px; letter-spacing: 1px;
    background: linear-gradient(180deg, #fff, #dfe7f2 55%, #a9bcd4 66%, #fff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .en { font-size: 12px; letter-spacing: 3px; color: #7f8ea6; text-transform: uppercase; }
.page-hero .desc { color: #b3c1d6; font-size: 14px; margin: 14px 0 0; max-width: 760px; }

.body-wrap { display: grid; grid-template-columns: 1fr 292px; gap: 34px; align-items: start; padding: 44px 0 70px; }

.news-list { display: flex; flex-direction: column; gap: 14px; }
.nl-item {
    display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 16px;
    background: #fff; border-radius: 14px; border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(16,30,54,.04); transition: .22s;
}
.nl-item:hover { box-shadow: var(--shadow-s); transform: translateY(-2px); border-color: rgba(226,0,26,.22); }
.nl-item .th { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #eef2f8; }
.nl-item .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nl-item:hover .th img { transform: scale(1.05); }
.nl-item h3 { font-size: 17.5px; margin: 0 0 8px; color: #16233a; }
.nl-item p { margin: 0 0 10px; color: var(--text-2); font-size: 13.8px; }
.nl-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: #8d9cb5; }
.nl-meta .pin { color: var(--red); font-weight: 700; }

.pager { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 28px; }
.pager a, .pager span {
    min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 13.5px; background: #fff; border: 1px solid var(--line); color: #46536a;
}
.pager a:hover { border-color: rgba(226,0,26,.45); color: var(--red); }
.pager .cur {
    color: #fff; border-color: transparent;
    background: linear-gradient(180deg, #ff4c3f, #c00f1a);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 16px -10px rgba(226,0,26,.9);
}
.pager .dis { color: #b8c2d2; background: #f0f3f8; }

/* 侧栏 ------------------------------------------------------------------- */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.side-card { background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-s); }
.side-card .hd {
    padding: 15px 18px; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px;
    background: linear-gradient(160deg, #1b2740, #0c1424 60%, #182238);
    border-bottom: 2px solid rgba(216,180,106,.55);
    display: flex; align-items: center; gap: 10px;
}
.side-card .hd::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, #ff4c3f, #d8b46a); }
.side-card .bd { padding: 14px 18px 18px; }
.side-nav { list-style: none; margin: 0; padding: 6px; }
.side-nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 11px 12px; border-radius: 9px; font-size: 14px; color: #46536a;
}
.side-nav a:hover { background: #f4f7fc; color: var(--red); }
.side-nav a.on {
    color: #fff; background: linear-gradient(180deg, #2a3a58, #111a2e);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 14px -10px #000;
}
.side-news { list-style: none; margin: 0; padding: 0; }
.side-news li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; line-height: 1.6; }
.side-news li:last-child { border: 0; }
.side-news li a { color: #46536a; display: block; }
.side-news li a:hover { color: var(--red); }
.side-news time { display: block; font-size: 12px; color: #9aa8bd; margin-top: 3px; }
.side-cta {
    border-radius: 14px; overflow: hidden; padding: 22px 20px; color: #fff;
    background: linear-gradient(160deg, #b3121d, #6d0a12 70%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), var(--shadow-m);
}
.side-cta h4 { margin: 0 0 8px; font-size: 17px; }
.side-cta p { margin: 0 0 14px; font-size: 13px; color: #ffd9d3; }
.side-cta .btn { height: 40px; }

/* 文章正文 --------------------------------------------------------------- */
.article { background: #fff; border-radius: 16px; padding: 34px 38px 40px; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.article-title { font-size: clamp(20px, 2.2vw, 27px); color: #16233a; margin: 0 0 14px; line-height: 1.5; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #8d9cb5;
    padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.article-body { font-size: 15.5px; line-height: 1.95; color: #35404f; }
.article-body h2 {
    font-size: 20px; color: #16233a; margin: 34px 0 14px; padding-left: 13px; position: relative;
}
.article-body h2::before {
    content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px;
    background: linear-gradient(180deg, #ff4c3f, #d8b46a);
    box-shadow: 0 0 10px rgba(226,0,26,.35);
}
.article-body h3 { font-size: 17px; color: #1c2a42; margin: 24px 0 10px; }
.article-body p { margin: 0 0 16px; }
.article-body img { border-radius: 10px; margin: 18px auto; box-shadow: var(--shadow-s); }
.article-body ul, .article-body ol { margin: 0 0 18px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
    margin: 20px 0; padding: 14px 18px; border-left: 4px solid var(--red);
    background: #f7f9fd; border-radius: 0 10px 10px 0; color: #46536a;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: #f4f7fc; color: #16233a; }
.article-body a { color: var(--blue); text-decoration: underline; }

.article-foot { margin-top: 34px; padding-top: 20px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }

/* 卡片栅格 --------------------------------------------------------------- */
.cards { display: grid; gap: 18px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative; background: #fff; border-radius: 14px; border: 1px solid var(--line);
    padding: 24px 22px; box-shadow: var(--shadow-s); overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.card::before {
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--red), var(--gold), transparent);
    opacity: 0; transition: opacity .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.card:hover::before { opacity: 1; }
.card .num {
    font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 10px;
    background: linear-gradient(180deg, #24314a, #6d7f9c 55%, #24314a);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card h3 { font-size: 17px; color: #16233a; margin: 0 0 8px; }
.card p { margin: 0; font-size: 13.8px; color: var(--text-2); }
.card .ico {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
    display: grid; place-items: center; font-size: 20px;
    background: var(--metal);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(120,140,170,.4), 0 8px 16px -10px rgba(16,30,54,.6);
}

/* 展区分布 --------------------------------------------------------------- */
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.zone-card {
    position: relative; border-radius: 14px; overflow: hidden; min-height: 178px;
    padding: 20px 18px; color: #e6eefa; display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(160deg, #202c47, #0b1220 65%);
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--shadow-m);
    transition: transform .25s;
}
.zone-card:hover { transform: translateY(-4px); }
.zone-card::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(80% 70% at 80% 0%, rgba(31,111,229,.42), transparent 62%),
                radial-gradient(60% 60% at 0% 100%, rgba(226,0,26,.32), transparent 60%);
    opacity: .9;
}
.zone-card .zi {
    position: absolute; right: 14px; top: 8px; font-size: 54px; font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18);
}
.zone-card > * { position: relative; }
.zone-card h4 { margin: 0 0 6px; font-size: 16px; color: #fff; }
.zone-card p { margin: 0; font-size: 12.8px; color: #a9bad2; line-height: 1.6; }

/* 往届回顾 --------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.g-item {
    position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #0c1424;
    box-shadow: var(--shadow-s); cursor: zoom-in;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s, filter .3s; }
.g-item:hover img { transform: scale(1.06); filter: brightness(.78); }
.g-item span {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
    font-size: 12.5px; color: #fff; opacity: 0; transition: .25s;
    background: linear-gradient(180deg, transparent, rgba(4,8,16,.92));
}
.g-item:hover span { opacity: 1; }

.lightbox {
    position: fixed; inset: 0; z-index: 200; display: none;
    background: rgba(4,8,16,.92); backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 30px;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lightbox .lb-close {
    position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
    font-size: 22px; cursor: pointer; display: grid; place-items: center;
}
.lightbox .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
    font-size: 22px; cursor: pointer; display: grid; place-items: center;
}
.lightbox .lb-nav.prev { left: 20px; }
.lightbox .lb-nav.next { right: 20px; }

/* 参观登记表单 ----------------------------------------------------------- */
.form-shell {
    display: grid; grid-template-columns: 1fr 330px; gap: 30px; align-items: start;
    padding: 44px 0 70px;
}
.form-card { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-m); overflow: hidden; }
.form-card .fh {
    padding: 22px 28px; color: #fff;
    background: linear-gradient(160deg, #1e2b45, #0a1120 60%, #17223a);
    border-bottom: 2px solid rgba(216,180,106,.6);
}
.form-card .fh h2 { margin: 0 0 4px; font-size: 21px; color: #fff; letter-spacing: .5px; }
.form-card .fh p { margin: 0; font-size: 13px; color: #9fb0c8; }
.form-body { padding: 26px 28px 30px; }

.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; font-weight: 600; color: #26303f; margin-bottom: 8px; }
.field > label .req { color: var(--red); margin-left: 3px; }
.field .tip { font-size: 12px; color: #96a3b6; margin-top: 6px; }
.input, .select, .textarea {
    width: 100%; height: 48px; padding: 0 14px; font-size: 15px; color: #26303f;
    background: #fbfcfe; border: 1px solid #d9e1ec; border-radius: 10px; outline: 0;
    transition: .2s; font-family: inherit;
    box-shadow: inset 0 1px 2px rgba(16,30,54,.04);
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
    border-color: rgba(226,0,26,.55); background: #fff;
    box-shadow: 0 0 0 3px rgba(226,0,26,.10);
}
.input.err, .select.err, .textarea.err { border-color: var(--red); background: #fff7f7; }
.field .msg { color: var(--red); font-size: 12.5px; margin-top: 6px; display: none; }
.field.has-err .msg { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check {
    display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 10px;
    border: 1px solid #d9e1ec; background: #fbfcfe; cursor: pointer; font-size: 14px; transition: .18s;
}
.check:hover { border-color: rgba(226,0,26,.35); background: #fff; }
.check input { width: 17px; height: 17px; accent-color: var(--red); flex: 0 0 auto; }
.check.on { border-color: rgba(226,0,26,.55); background: #fff7f7; box-shadow: 0 0 0 2px rgba(226,0,26,.08); }

.alert { padding: 13px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert.ok { background: #effaf3; color: #17703a; border: 1px solid #bfe8cf; }
.alert.err { background: #fff3f3; color: #a3121f; border: 1px solid #f5c6c6; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.form-actions .btn-red { height: 50px; padding: 0 40px; }
.form-actions small { color: #96a3b6; font-size: 12.5px; }

.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: #46536a; margin-bottom: 10px; line-height: 1.7; }
.notice-list li::before {
    content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(180deg, #ff4c3f, #c00f1a);
}
.success-panel { text-align: center; padding: 40px 26px; }
.success-panel .ico {
    width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
    font-size: 34px; color: #fff; background: linear-gradient(180deg, #35c46a, #14853f);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 14px 30px -14px rgba(20,133,63,.9);
}
.success-panel h3 { font-size: 21px; color: #16233a; margin: 0 0 10px; }
.success-panel p { color: var(--text-2); margin: 0 0 6px; }
.success-panel .code {
    display: inline-block; margin: 16px 0 4px; padding: 10px 22px; border-radius: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: 2px; color: #fff;
    background: linear-gradient(180deg, #2a3a58, #111a2e);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 20px -14px #000;
}
.success-panel .btns { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* 联系我们 --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding: 44px 0 70px; align-items: start; }
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border: 0; }
.contact-item .ci-ico {
    width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
    background: var(--metal); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(16,30,54,.8);
}
.contact-item h4 { margin: 2px 0 4px; font-size: 14.5px; color: #16233a; }
.contact-item p { margin: 0; font-size: 14px; color: var(--text-2); word-break: break-all; }
.map-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); margin-top: 20px; }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

/* 页脚 ------------------------------------------------------------------- */
.footer {
    background: var(--metal-dark); color: #8fa0b8; padding: 48px 0 0; position: relative; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216,180,106,.65), transparent);
}
.footer::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 90% at 90% 0%, rgba(31,111,229,.16), transparent 60%);
}
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.foot-brand b {
    font-size: 19px; letter-spacing: 1px;
    background: linear-gradient(180deg, #fff, #c8d6e8 58%, #fff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-brand small { display: block; font-size: 10px; letter-spacing: 1.5px; color: #6f7f98; }
.footer p { font-size: 13px; line-height: 1.9; margin: 0 0 8px; color: #8fa0b8; }
.footer h5 { color: #dfe7f2; font-size: 14.5px; margin: 0 0 14px; letter-spacing: .5px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 9px; font-size: 13px; }
.footer ul a { color: #8fa0b8; }
.footer ul a:hover { color: #fff; }
.copyright {
    position: relative; margin-top: 36px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12.5px; color: #6f7f98; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* 回到顶部 --------------------------------------------------------------- */
.to-top {
    position: fixed; right: 18px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
    display: none; place-items: center; cursor: pointer; z-index: 90; color: #16233a; font-size: 18px; border: 0;
    background: var(--metal);
    box-shadow: inset 0 1px 0 #fff, 0 12px 26px -12px rgba(16,30,54,.9);
}
.to-top.on { display: grid; }

/* 浮动登记按钮（移动端） -------------------------------------------------- */
.float-cta {
    display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    height: 50px; border-radius: 12px; align-items: center; justify-content: center; gap: 8px;
    color: #fff; font-weight: 700; font-size: 15px;
    background: linear-gradient(180deg, #ff4c3f, #c00f1a);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 30px -12px rgba(226,0,26,.9);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1240px) {
    .menu > li > a { padding: 0 9px; font-size: 13.8px; }
    .nav-cta { padding: 8px 13px; font-size: 12.5px; margin-left: 8px; }
}

@media (max-width: 1180px) {
    .menu > li > a { padding: 0 8px; font-size: 13.5px; }
    .logo-txt b { font-size: 16px; }
    .logo-txt small { font-size: 8.5px; letter-spacing: .5px; }
    .nav-cta { padding: 9px 15px; font-size: 13px; }
    .about-grid { gap: 30px; }
    .zone-grid { grid-template-columns: repeat(2, 1fr); }
    .cards.c4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .body-wrap, .form-shell, .contact-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .news-top { grid-template-columns: 1fr; }
    .news-lead { min-height: 260px; }
    .about-grid { grid-template-columns: 1fr; }
    .cards.c3 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .topbar .tb-l span:nth-child(2) { display: none; }
}

@media (max-width: 860px) {
    .topbar { display: none; }
    .header { position: sticky; }
    .nav-inner { gap: 10px; }
    .logo { flex: 1 1 auto; min-width: 0; overflow: hidden; }
    .logo-txt { min-width: 0; overflow: hidden; }
    .menu { margin-left: 0; }
    .nav-inner { height: 62px; }
    .logo-mark { width: 38px; height: 38px; border-radius: 10px; }
    .logo-mark img { width: 28px; height: 28px; }
    .logo-txt b { font-size: 16px; white-space: normal; }
    .logo-txt small { font-size: 8.5px; letter-spacing: .8px; }
    .burger { display: flex; }
    .nav-cta { display: none; }
    .menu {
        position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; height: auto; margin: 0;
        background: rgba(8,13,24,.99); backdrop-filter: blur(14px);
        padding: 12px 16px 40px; overflow-y: auto;
        transform: translateX(100%); transition: transform .3s ease; z-index: 70;
    }
    body.nav-open .menu { transform: none; }
    .menu > li > a {
        height: auto; padding: 15px 8px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .menu > li > a::after { display: none; }
    .menu > li.active > a { color: var(--gold); }
    .submenu {
        position: static; transform: none; opacity: 1; visibility: visible;
        background: transparent; border: 0; box-shadow: none; padding: 4px 0 8px 12px;
        min-width: 0;
    }
    .menu > li:hover .submenu { transform: none; }
    .submenu li a { padding: 10px 12px; font-size: 14px; color: #93a3bb; }
    .menu > li.m-has-sub::after { content: none; }

    .section { padding: 44px 0; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 24px; }
    .stats { margin-top: -26px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
    .stat { padding: 16px 10px; }
    .stat:nth-child(3)::before, .stat:nth-child(4)::before { display: none; }
    .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(120,140,175,.2); }
    .slider { height: clamp(300px, 62vw, 420px); }
    .slide-bg::after { background: linear-gradient(180deg, rgba(3,7,14,.55), rgba(3,7,14,.82)); }
    .slide-body { max-width: 100%; padding: 0 18px; }
    .slider-arrow { display: none; }
    .slider-dots { bottom: 14px; }
    .btn { height: 42px; padding: 0 20px; font-size: 14px; }
    .nl-item { grid-template-columns: 116px 1fr; gap: 14px; padding: 12px; }
    .nl-item h3 { font-size: 15.5px; }
    .nl-item p { display: none; }
    .news-item { grid-template-columns: 104px 1fr; }
    .article { padding: 22px 18px 26px; border-radius: 12px; }
    .article-body { font-size: 15px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
    .zone-grid { grid-template-columns: 1fr; }
    .zone-card { min-height: 140px; }
    .form-shell { padding: 26px 0 90px; }
    .form-body { padding: 18px 18px 22px; }
    .row2 { grid-template-columns: 1fr; gap: 0; }
    .checks { grid-template-columns: 1fr; }
    .float-cta { display: flex; }
    .copyright { flex-direction: column; padding-bottom: 74px; }
    .to-top { bottom: 76px; }
    .page-hero { padding: 34px 0 30px; }
    .countdown { gap: 7px; }
    .cd-item b { font-size: 21px; }
    .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 420px) {
    .wrap { padding: 0 15px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .slide h1 { font-size: 25px; }
    .nl-item { grid-template-columns: 92px 1fr; }
    .news-lead { min-height: 220px; }
}
