/* 首页重做样式：简洁、企业级、GEO入口明确 */
.home-redesign {
    --home-blue: #1e3a5f;
    --home-blue-dark: #14283f;
    --home-gold: #c9a96e;
    --home-ink: #172033;
    --home-muted: #64748b;
    --home-line: #e5e7eb;
    --home-bg: #f7f9fc;
    color: var(--home-ink);
    background: #fff;
}

.home-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-row {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-cn {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--home-blue);
}

.brand-en {
    margin-top: 2px;
    font-size: 12px;
    color: var(--home-muted);
    letter-spacing: 1px;
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: nowrap;
    overflow: visible;
}

.home-nav a {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.home-nav > a::after,
.home-nav .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--home-blue);
    transition: width 0.3s ease;
}

.home-nav a:hover,
.home-nav a.active {
    color: var(--home-blue);
}

.home-nav > a:hover::after,
.home-nav > a.active::after,
.home-nav .dropdown-toggle:hover::after {
    width: 100%;
}

.home-nav-dropdown {
    position: relative;
}

.home-nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.home-nav .dropdown-menu {
    top: calc(100% + 12px);
    min-width: 132px;
}

.home-nav .dropdown-menu a {
    display: block;
    width: auto;
    min-width: 132px;
    padding: 10px 20px;
    line-height: 1.4;
    background: #fff;
    border-radius: 0;
}

.home-nav .dropdown-menu a:hover {
    background: var(--home-bg);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--home-line);
    background: #fff;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--home-blue);
}

.home-hero {
    position: relative;
    min-height: clamp(640px, 42vw, 760px);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background: var(--home-blue);
}

.home-hero-media {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.png') center top / cover no-repeat;
    filter: saturate(1.08) contrast(1.06);
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 40, 63, 0.92), rgba(20, 40, 63, 0.72), rgba(20, 40, 63, 0.25));
    -webkit-mask-image: radial-gradient(ellipse 480px 285px at 50% 22%, transparent 0, transparent 58%, rgba(0, 0, 0, 0.56) 80%, #000 100%);
    mask-image: radial-gradient(ellipse 480px 285px at 50% 22%, transparent 0, transparent 58%, rgba(0, 0, 0, 0.56) 80%, #000 100%);
}

.home-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: clamp(300px, 19vw, 380px) 0 88px;
    transform: none;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--home-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 820px;
    font-size: 52px;
    line-height: 1.18;
    font-weight: 700;
}

.hero-copy {
    max-width: 680px;
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

.home-btn.primary {
    background: var(--home-gold);
    color: #1f2937;
}

.home-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.58);
    color: #fff;
}

.home-btn.secondary.dark {
    border-color: var(--home-blue);
    color: var(--home-blue);
}

.home-section {
    padding: 72px 0;
}

.home-section.muted {
    background: var(--home-bg);
}

.section-title {
    margin-bottom: 30px;
}

.section-title p {
    color: var(--home-gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.section-title h2 {
    color: var(--home-blue);
    font-size: 32px;
    line-height: 1.25;
}

.row-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.row-title > a,
.text-link {
    color: var(--home-blue);
    font-weight: 700;
}

.service-grid,
.region-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card,
.region-card,
.home-news-card,
.mini-card {
    display: block;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    padding: 24px;
}

.service-card h3,
.region-card h3,
.home-news-card h3,
.mini-card h3 {
    color: var(--home-blue);
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.service-card p,
.region-card p,
.home-news-card p,
.mini-card p {
    color: var(--home-muted);
    line-height: 1.75;
}

.card-kicker,
.home-news-card span,
.mini-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--home-gold);
    font-size: 13px;
    font-weight: 700;
}

.region-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.region-card span {
    display: inline-block;
    margin-top: 16px;
    color: var(--home-blue);
    font-weight: 700;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
}

.mini-list {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.home-cta {
    padding: 72px 0;
    background: #fff;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    background: #fdfdfb;
    padding: 34px;
}

.cta-panel h2 {
    color: var(--home-blue);
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.cta-panel p {
    color: var(--home-muted);
    line-height: 1.8;
}

.home-footer {
    padding: 42px 0;
    color: #dbe5f0;
    background: var(--home-blue-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.home-footer strong {
    display: block;
    color: #fff;
    margin-bottom: 10px;
}

.home-footer p,
.home-footer a {
    color: #c7d2df;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .home-nav {
        gap: 16px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-container {
        width: min(100% - 28px, 1200px);
        padding: 0;
    }

    .nav-row {
        min-height: 64px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .home-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: 64px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--home-line);
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
        justify-content: flex-start;
    }

    .home-nav.open {
        display: flex;
    }

    .home-nav a {
        width: calc(50% - 8px);
        padding: 12px;
        border-radius: 8px;
        background: var(--home-bg);
    }

    .home-nav-dropdown {
        width: calc(50% - 8px);
    }

    .home-nav .dropdown-toggle {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
        background: var(--home-bg);
    }

    .home-nav .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .home-nav .dropdown-menu::before {
        display: none;
    }

    .home-nav .dropdown-menu a {
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        padding: 10px 12px;
        background: #fff;
        border: 1px solid var(--home-line);
    }

    .home-hero {
        min-height: 640px;
        align-items: flex-start;
    }

    .home-hero-shade {
        background: rgba(20, 40, 63, 0.78);
        -webkit-mask-image: radial-gradient(ellipse 260px 104px at 50% 8%, transparent 0, transparent 50%, rgba(0, 0, 0, 0.68) 76%, #000 100%);
        mask-image: radial-gradient(ellipse 260px 104px at 50% 8%, transparent 0, transparent 50%, rgba(0, 0, 0, 0.68) 76%, #000 100%);
    }

    .home-hero-content {
        padding-top: 250px;
        padding-bottom: 58px;
        transform: none;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .home-section {
        padding: 54px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .service-grid,
    .region-grid,
    .news-list,
    .split-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .row-title,
    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .home-nav a {
        width: 100%;
    }

    .home-nav-dropdown {
        width: 100%;
    }

    .home-hero {
        min-height: 620px;
    }

    .home-hero-content {
        padding-top: 238px;
    }

    .home-hero h1 {
        font-size: 28px;
    }

    .home-btn {
        width: 100%;
    }
}
