* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #F7F4EF;
    --surface: #FBF9F5;
    --white: #FFFFFF;
    --border: #E7E1D7;
    --ink: #1F2421;
    --muted: #5C635D;
    --primary: #12559A;
    --primary-hover: #0d3d6f;
    --tint: #E8F2FC;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 导航栏 */
nav {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hero 区域 */
.hero {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

.eyebrow {
    display: inline-block;
    background: var(--tint);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero h1 .highlight {
    color: var(--primary);
    font-style: italic;
}

.hero p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

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

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(31, 36, 33, 0.15);
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(31, 36, 33, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 0.95rem;
    color: var(--ink);
}

.badge-text span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* 内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.bg-white {
    background: var(--white);
}

.bg-light {
    background: var(--surface);
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.service-card {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 36, 33, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--tint);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.card-link:hover {
    color: var(--primary-hover);
}

.more-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.more-services p {
    color: var(--muted);
    margin-bottom: 1rem;
}

/* 优势区域 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.advantage-item {
    text-align: center;
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.advantage-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.advantage-item p {
    color: var(--muted);
    font-size: 0.85rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* 案例预览 */
.cases-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.case-item {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.case-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 36, 33, 0.08);
}

.case-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.case-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.case-item p {
    color: var(--muted);
    font-size: 0.85rem;
}

/* 培训卡片 */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.training-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.training-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 36, 33, 0.12);
}

.training-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.training-card:hover .training-image img {
    transform: scale(1.05);
}

.training-content {
    padding: 1.5rem;
}

.training-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.training-content p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 页脚 */
footer {
    background: var(--ink);
    color: white;
    padding: 3rem 1rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.8;
    text-decoration: none;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* 浮动按钮 */
.phone-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(18, 85, 154, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
}

.phone-button:hover {
    transform: scale(1.1);
}

.phone-button::before {
    content: "📞";
    font-size: 24px;
}

/* 响应式 */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    /* 移动端菜单按钮 */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
        background: var(--ink);
        border-radius: 2px;
        transition: all 0.3s;
    }

    /* 移动端菜单面板 */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: 2px 0 12px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: left 0.3s;
        overflow-y: auto;
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu-header {
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--ink);
    }

    .mobile-menu-links {
        list-style: none;
        padding: 1rem 0;
    }

    .mobile-menu-links li {
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu-links a {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--ink);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s;
    }

    .mobile-menu-links a:active {
        background: var(--surface);
        color: var(--primary);
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

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

    .hero-image {
        order: -1;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-mega-title {
        font-size: 2rem;
    }

    .hero-large-text {
        font-size: 1rem;
    }

    .trust-badges,
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

    .training-grid,
    .photo-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        gap: 1rem;
    }

    .logo span {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

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

    .cta-button-large,
    .cta-button-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* 移动端页脚优化 */
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-section:nth-child(2) {
        order: -1;
    }
}

/* 桌面端隐藏移动菜单按钮 */
@media (min-width: 969px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* 页面特定样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.content-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ink);
}

.content-section p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* 照片网格 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 36, 33, 0.12);
}

.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.photo-item-content {
    padding: 1.25rem;
}

.photo-item-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.photo-item-content p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* 证书展示 */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.certificate-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.certificate-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 36, 33, 0.12);
}

.certificate-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.certificate-item-content {
    padding: 1.25rem;
    text-align: center;
}

.certificate-item-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}

/* 服务详情卡片 */
.services-category {
    margin-bottom: 3rem;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-detail-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(31, 36, 33, 0.12);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-detail-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
}

.service-intro {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-benefits,
.service-apply {
    margin-bottom: 1.5rem;
}

.service-benefits h4,
.service-apply h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-benefits li {
    color: var(--muted);
    margin-bottom: 0.5rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.service-apply p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 联系表单 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--ink);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--white);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 0.85rem;
    border-radius: 999px;
    border: none;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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