* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.hero.page-hero {
    padding: 7rem 2rem 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero.page-hero h1 {
    font-size: 2.4rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-full {
    max-width: none;
    margin: 0;
    background-color: #fff;
}

.section-full .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 1rem auto 0;
}

.about-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1rem;
}

.team-grid,
.service-grid,
.news-list {
    display: grid;
    gap: 2rem;
}

.team-grid,
.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-card,
.service-card,
.news-card,
.contact-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-full .team-card {
    background: #f8f9fa;
}

.team-card,
.service-card {
    text-align: center;
}

.team-card:hover,
.service-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.team-avatar,
.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.service-icon {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    border-radius: 16px;
}

.team-card h3,
.service-card h3,
.news-card h3,
.contact-info h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.team-card .title,
.service-card .title,
.news-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-card p,
.service-card p,
.news-card p,
.contact-info p {
    color: #555;
    font-size: 0.95rem;
}

.news-list {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
}

.news-card {
    text-align: left;
}

.news-meta {
    display: block;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    opacity: 0.8;
    margin: 0.35rem 0;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 0.9rem;
        font-size: 0.9rem;
    }

    .hero h1,
    .hero.page-hero h1 {
        font-size: 2rem;
    }

    .team-grid,
    .service-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }
}
