/* ===== 基础重置与变量 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1B3A5C;
    --navy-dark: #0F2540;
    --navy-light: #2A5078;
    --gold: #C9A961;
    --gold-light: #E0C99A;
    --gold-pale: #F5EDD8;
    --bg: #F8F7F4;
    --bg-white: #FFFFFF;
    --text: #2D3436;
    --text-light: #636E72;
    --text-muted: #9DA5AB;
    --border: #E8E6E1;
    --serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-mark {
    width: 38px;
    height: 38px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 18px;
}

.nav-logo-text {
    color: #fff;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-logo-sub {
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 500;
    font-size: 15px;
}

.nav-phone svg {
    width: 18px;
    height: 18px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

/* ===== 首页 Hero 区 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--navy-dark) 0%, rgba(15,37,64,0.85) 40%, rgba(27,58,92,0.5) 70%, rgba(27,58,92,0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding-top: 72px;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 2px solid var(--gold);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--gold);
}

.hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background-color: var(--gold);
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid var(--navy);
    color: var(--navy);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    background-color: var(--navy);
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-num {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* ===== 内页 Banner ===== */
.page-banner {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero.jpg') center / cover;
    opacity: 0.12;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.page-banner .breadcrumb {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.page-banner .breadcrumb a {
    color: var(--gold-light);
    transition: color 0.2s;
}

.page-banner .breadcrumb a:hover {
    color: var(--gold);
}

.page-banner .banner-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* ===== 通用区块样式 ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* ===== 服务内容区 ===== */
.services {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--bg);
    padding: 36px 32px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-left-color: var(--gold);
    box-shadow: 0 8px 30px rgba(27, 58, 92, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--navy);
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 服务流程区 ===== */
.process-section {
    background-color: var(--navy-dark);
}

.process-section .section-title {
    color: #fff;
}

.process-section .section-eyebrow {
    color: var(--gold);
}

.process-section .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.step-item {
    text-align: center;
    position: relative;
}

.step-num {
    width: 64px;
    height: 64px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    background-color: var(--navy-dark);
    position: relative;
    z-index: 1;
}

.step-item h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    padding: 0 12px;
}

/* ===== 服务行业区 ===== */
.industries {
    background-color: var(--bg-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.industry-card {
    background-color: var(--bg);
    border: 1px solid var(--border);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.industry-card:hover {
    background-color: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
}

.industry-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    transition: color 0.3s;
}

.industry-card:hover h3 {
    color: #fff;
}

.industry-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.3s;
}

.industry-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 关于我们 ===== */
.about {
    background-color: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    z-index: 1;
}

.about-content h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-content > p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 32px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 联系我们 ===== */
.contact {
    background-color: var(--navy-dark);
}

.contact .section-title {
    color: #fff;
}

.contact .section-eyebrow {
    color: var(--gold);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.contact-card h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-card p, .contact-card a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--gold);
}

/* ===== FAQ 问答区 ===== */
.faq-section {
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    margin-bottom: 16px;
    background-color: var(--bg);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--gold-light);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-dark);
    user-select: none;
}

.faq-question .faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
    color: var(--gold);
    font-weight: 400;
}

.faq-item.open .faq-toggle {
    background-color: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== CTA 区块 ===== */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-band h2 {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 32px);
    color: #fff;
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 28px;
}

/* ===== 页脚 ===== */
footer {
    background-color: #0A1B2E;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    color: #fff;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
}

.footer-logo span {
    color: var(--gold);
}

.footer-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    line-height: 1.8;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-info a:hover {
    color: var(--gold);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ===== 响应式 - 平板 ===== */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .process-steps::before {
        display: none;
    }

    .about-grid {
        gap: 40px;
    }

    .hero-bg {
        opacity: 1;
    }
}

/* ===== 响应式 - 移动端 ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--navy-dark);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-phone {
        font-size: 13px;
    }

    .nav-phone span {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-stats {
        gap: 24px;
        margin-top: 40px;
    }

    .stat-num {
        font-size: 28px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 320px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn-primary, .btn-outline {
        justify-content: center;
    }

    .page-banner {
        padding: 120px 0 60px;
    }

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
    }
}

/* ===== 平滑滚动 ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
