:root {
    --c-primary: #0a4d68;
    --c-primary-deep: #07384c;
    --c-accent: #e86a17;
    --c-accent-soft: #fff1e6;
    --c-ink: #152433;
    --c-muted: #5d6b7a;
    --c-line: #d9e2ea;
    --c-bg: #f4f7fa;
    --c-white: #ffffff;
    --shadow: 0 16px 40px rgba(10, 77, 104, .12);
    --radius: 18px;
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif;
    --header-h: 118px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--c-ink);
    background: var(--c-bg);
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(21,36,51,.06);
}
.topbar {
    background: linear-gradient(90deg, #07384c, #0a4d68 55%, #12627f);
    color: rgba(255,255,255,.88);
    font-size: 13px;
}
.topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-phone { color: #ffd7b0; font-weight: 600; }
.navbar-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--c-accent), #f09a4b);
    color: #fff; font-family: var(--font-display); font-size: 26px;
    box-shadow: 0 8px 18px rgba(232,106,23,.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.brand-text small { color: var(--c-muted); font-size: 11px; letter-spacing: .12em; margin-top: 3px; }
.brand-light .brand-text strong,
.brand-light .brand-text small { color: #fff; }
.brand-light .brand-text small { opacity: .75; }

.main-nav > ul { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
    display: block; padding: 10px 12px; font-size: 15px; color: var(--c-ink);
    border-radius: 999px; transition: .2s ease;
}
.nav-item:hover > a,
.nav-item.active > a { color: var(--c-primary); background: rgba(10,77,104,.06); }
.submenu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
    background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: .2s ease;
}
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
    display: block; padding: 10px 12px; border-radius: 10px; color: var(--c-muted); font-size: 14px;
}
.submenu a:hover { background: var(--c-bg); color: var(--c-primary); }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle {
    display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px;
}
.nav-toggle span {
    display: block; height: 2px; margin: 6px 0; background: var(--c-ink); border-radius: 2px;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s ease;
}
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 8px 18px rgba(232,106,23,.25); }
.btn-primary:hover { transform: translateY(-2px); background: #d45d0f; box-shadow: 0 12px 24px rgba(232,106,23,.32); }
.btn-ghost { background: transparent; border-color: var(--c-line); color: var(--c-primary); }
.btn-ghost:hover { border-color: var(--c-primary); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255,255,255,.2); }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #041c28; }
.hero-slider { position: relative; min-height: min(72vh, 620px); }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    z-index: 0;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media {
    width: 100%; height: 100%; object-fit: cover;
    object-position: 78% center;
    transform: scale(1.06);
    transition: transform 6.5s ease-out;
}
.hero-slide.is-active .hero-media { transform: scale(1); }
.hero-slide::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(4,28,40,.88) 0%, rgba(4,28,40,.55) 42%, rgba(4,28,40,.18) 72%, rgba(4,28,40,.28) 100%);
}
.hero-content {
    position: relative; z-index: 2; min-height: min(72vh, 620px);
    display: flex; align-items: center; color: #fff;
}
.hero-copy { max-width: 640px; padding: 48px 0; }
.hero-brand {
    display: inline-block; font-family: var(--font-display); font-size: clamp(40px, 7vw, 72px);
    letter-spacing: .08em; margin-bottom: 10px;
}
.hero-copy h1 {
    margin: 0 0 14px; font-size: clamp(28px, 4vw, 44px); line-height: 1.25; font-weight: 700;
}
.hero-copy p { margin: 0 0 28px; font-size: 17px; color: rgba(255,255,255,.86); max-width: 560px; line-height: 1.85; }
.hero-copy p br { display: block; content: ""; margin-top: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-anim {
    opacity: 0; transform: translateY(22px);
    animation: heroIn .85s cubic-bezier(.22,1,.36,1) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes heroIn {
    to { opacity: 1; transform: none; }
}
.hero-nav {
    position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
    background: rgba(4,28,40,.35); color: #fff; font-size: 28px; line-height: 1;
    cursor: pointer; backdrop-filter: blur(6px); transition: .2s ease;
}
.hero-nav:hover { background: rgba(232,106,23,.9); border-color: transparent; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 8px;
}
.hero-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer;
    transition: .25s ease;
}
.hero-dots button.active { background: var(--c-accent); width: 28px; border-radius: 999px; }

.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head .eyebrow {
    display: inline-block; color: var(--c-accent); font-weight: 700; letter-spacing: .18em;
    font-size: 12px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 {
    margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px);
}
.section-head p { margin: 0 auto; max-width: 620px; color: var(--c-muted); }

.biz-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.biz-item {
    position: relative; overflow: hidden; border-radius: var(--radius); min-height: 280px;
    background: #123; color: #fff; isolation: isolate;
}
.biz-item img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease; z-index: -2;
}
.biz-item::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(7,56,76,.15), rgba(7,56,76,.88));
}
.biz-item:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(7,56,76,.28); }
.biz-item { transition: transform .35s ease, box-shadow .35s ease; }
.biz-item:hover img { transform: scale(1.08); }
.biz-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.biz-body h3 { margin: 0 0 8px; font-size: 22px; font-family: var(--font-display); }
.biz-body p { margin: 0; color: rgba(255,255,255,.84); font-size: 14px; }

.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-top: -48px; position: relative; z-index: 5;
}
.stat {
    background: #fff; border-radius: 16px; padding: 24px 18px; text-align: center;
    box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7);
    transition: transform .3s ease, box-shadow .3s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(10,77,104,.14); }
.stat strong {
    display: block; font-size: 32px; color: var(--c-primary); font-family: var(--font-display);
}
.stat span { color: var(--c-muted); font-size: 14px; }

.home-about {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.home-about-visual {
    border-radius: 28px; overflow: hidden; min-height: 420px;
    background: #ddd center/cover no-repeat; position: relative;
}
.home-about-visual::after {
    content: ""; position: absolute; inset: auto 24px 24px auto; width: 140px; height: 140px;
    border: 2px solid rgba(255,255,255,.55); border-radius: 24px;
}
.home-about-copy h2 {
    margin: 8px 0 16px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px);
}
.home-about-copy p { color: var(--c-muted); margin: 0 0 16px; line-height: 1.9; }
.feature-list { display: grid; gap: 12px; margin: 24px 0 28px; }
.feature-list li {
    padding: 14px 16px; background: #fff; border-radius: 12px; border-left: 4px solid var(--c-accent);
    transition: transform .25s ease, box-shadow .25s ease;
}
.feature-list li:hover { transform: translateX(6px); box-shadow: 0 10px 24px rgba(10,77,104,.08); }

.timeline {
    display: grid; gap: 0; position: relative; padding-left: 28px;
}
.timeline::before {
    content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--c-line);
}
.timeline-item { position: relative; padding: 0 0 28px 12px; }
.timeline-item::before {
    content: ""; position: absolute; left: -24px; top: 8px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft);
}
.timeline-item strong { color: var(--c-primary); font-size: 18px; }
.timeline-item h4 { margin: 4px 0; font-size: 18px; }
.timeline-item p { margin: 0; color: var(--c-muted); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--c-line); transition: .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.news-card .body { padding: 18px 18px 22px; }
.news-card .meta { color: var(--c-accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.news-card h3 { margin: 8px 0; font-size: 18px; line-height: 1.4; }
.news-card p { margin: 0; color: var(--c-muted); font-size: 14px; }

.cta-band {
    margin: 20px 0 0; border-radius: 28px; overflow: hidden;
    background:
        linear-gradient(120deg, rgba(7,56,76,.92), rgba(10,77,104,.78)),
        url('../img/cms/partner-coop.jpg') center/cover;
    color: #fff; padding: 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 34px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inner pages */
.page-banner {
    position: relative; min-height: 240px; display: flex; align-items: flex-end;
    background: #0a4d68 center/cover no-repeat; color: #fff;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(4,28,40,.25), rgba(4,28,40,.78));
}
.page-banner .container { position: relative; z-index: 1; padding: 48px 0 36px; }
.page-banner h1 { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); }
.page-banner p { margin: 0; color: rgba(255,255,255,.85); max-width: 680px; }

.page-layout {
    display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 36px 0 72px;
}
.side-menu {
    background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line);
    padding: 12px; height: fit-content; position: sticky; top: calc(var(--header-h) + 16px);
}
.side-menu a {
    display: block; padding: 12px 14px; border-radius: 12px; color: var(--c-muted); margin-bottom: 4px;
}
.side-menu a.active,
.side-menu a:hover { background: rgba(10,77,104,.08); color: var(--c-primary); font-weight: 600; }
.content-panel {
    background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); padding: 32px;
}
.content-panel .rich-text p { margin: 0 0 14px; color: #314354; }
.content-panel .rich-text ul,
.content-panel .rich-text ol { margin: 0 0 16px 1.2em; }
.content-panel .rich-text li { list-style: disc; margin: 6px 0; color: #314354; }
.content-panel .rich-text ol li { list-style: decimal; }

.team-grid, .honor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.team-card, .honor-card {
    display: flex; gap: 14px; padding: 16px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg);
}
.team-card img, .honor-card img {
    width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: #ddd;
}
.team-card h4, .honor-card h4 { margin: 0 0 4px; }
.team-card span, .honor-card span { color: var(--c-accent); font-size: 13px; }
.team-card p, .honor-card p { margin: 8px 0 0; color: var(--c-muted); font-size: 14px; }

.faq-list { margin-top: 20px; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.faq-item summary {
    padding: 14px 16px; cursor: pointer; font-weight: 600; background: #fff; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--c-primary); background: rgba(10,77,104,.05); }
.faq-item p { margin: 0; padding: 0 16px 16px; color: var(--c-muted); }

.apply-form {
    margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    padding: 22px; border-radius: 16px; background: var(--c-bg); border: 1px solid var(--c-line);
}
.apply-form .full { grid-column: 1 / -1; }
.apply-form label { display: block; font-size: 13px; color: var(--c-muted); margin-bottom: 6px; }
.apply-form input,
.apply-form textarea,
.apply-form select {
    width: 100%; border: 1px solid var(--c-line); border-radius: 12px; min-height: 44px;
    padding: 10px 12px; font: inherit; background: #fff; outline: none;
}
.apply-form textarea { min-height: 120px; resize: vertical; }
.apply-form input:focus,
.apply-form textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(10,77,104,.12); }
.form-msg { grid-column: 1 / -1; min-height: 22px; color: var(--c-accent); font-size: 14px; }

.news-list { display: grid; gap: 16px; }
.news-row {
    display: grid; grid-template-columns: 220px 1fr; gap: 18px; background: #fff;
    border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden; padding: 14px;
}
.news-row img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; }
.news-row h3 { margin: 0 0 8px; font-size: 20px; }
.news-row p { margin: 0 0 10px; color: var(--c-muted); }
.news-row .meta { font-size: 13px; color: var(--c-primary); }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.category-tabs a {
    padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: 14px;
}
.category-tabs a.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pager { margin-top: 24px; text-align: center; }
.pager a, .pager span { display: inline-block; margin: 0 4px; padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--c-line); }
.article-detail h1 { margin: 0 0 12px; font-size: 32px; font-family: var(--font-display); }
.article-detail .meta { color: var(--c-muted); margin-bottom: 24px; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 14px; }

.biz-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 36px 0 72px; }
.biz-list-card {
    display: grid; grid-template-columns: 180px 1fr; gap: 16px; background: #fff;
    border-radius: 18px; overflow: hidden; border: 1px solid var(--c-line);
}
.biz-list-card img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.biz-list-card .body { padding: 18px 18px 18px 0; }
.biz-list-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 22px; }
.biz-list-card p { margin: 0 0 14px; color: var(--c-muted); }

.site-footer {
    background: linear-gradient(180deg, #0a3142, #061d28); color: rgba(255,255,255,.82); padding-top: 56px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.4fr .8fr .8fr .7fr; gap: 28px; padding-bottom: 36px;
}
.footer-brand p { margin: 10px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.footer-links h4, .footer-qr h4 { margin: 0 0 14px; color: #fff; font-size: 16px; }
.footer-links a { display: block; margin: 8px 0; color: rgba(255,255,255,.72); font-size: 14px; }
.footer-links a:hover { color: #ffd7b0; }
.footer-qr img { width: 120px; height: 120px; background: #fff; border-radius: 12px; padding: 8px; }
.footer-qr p { margin: 10px 0 0; font-size: 13px; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.1); }
.footer-copy .container {
    min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: 13px; color: rgba(255,255,255,.55);
}
.footer-copy a { color: rgba(255,255,255,.55); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.show { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1024px) {
    .navbar-inner { grid-template-columns: 1fr auto; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; justify-self: end; }
    .main-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--c-line); padding: 10px 16px 18px;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; }
    .submenu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0;
    }
    .biz-grid, .news-grid, .stats { grid-template-columns: repeat(2, 1fr); }
    .home-about, .page-layout, .biz-list-grid, .footer-grid { grid-template-columns: 1fr; }
    .side-menu { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
    .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .topbar-inner span { display: none; }
    .brand-text small { display: none; }
    .hero-slider, .hero-content { min-height: 78vh; }
    .hero-media { object-position: center 28%; }
    .hero-slide::before {
        background: linear-gradient(180deg, rgba(4,28,40,.35) 0%, rgba(4,28,40,.55) 40%, rgba(4,28,40,.9) 100%);
    }
    .hero-content { align-items: flex-end; }
    .hero-copy { padding: 28px 0 64px; max-width: none; }
    .hero-copy h1 { font-size: clamp(24px, 7vw, 32px); }
    .hero-copy p { font-size: 15px; margin-bottom: 20px; }
    .hero-actions .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
    .hero-nav { display: none; }
    .biz-grid, .news-grid, .stats, .team-grid, .honor-grid, .apply-form, .news-row, .biz-list-card, .side-menu {
        grid-template-columns: 1fr;
    }
    .section { padding: 52px 0; }
    .content-panel { padding: 20px; }
    .cta-band { padding: 28px; }
    .footer-copy .container { flex-direction: column; padding: 16px 0; text-align: center; }
    .biz-list-card .body { padding: 0 14px 16px; }
}
