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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #fefaf5;
    color: #2c2a29;
    line-height: 1.5;
}

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

/* ========== 头部导航 ========== */
.header {
    background: white;
    border-bottom: 1px solid #ede8e2;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.9rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: #2c2a29;
}

.logo-icon {
    background: #e11d2c;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.logo-text {
    background: linear-gradient(135deg, #e11d2c 0%, #b91320 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: #3f3e3c;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e11d2c;
}

/* ========== 按钮 ========== */
.btn-primary {
    background: #e11d2c;
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #b91320;
}

.btn-outline {
    border: 1.5px solid #e11d2c;
    background: transparent;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    color: #e11d2c;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #fce8e9;
}

/* ========== 卡片网格 ========== */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin: 1.8rem 0;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin: 1.8rem 0;
}

.card {
    background: white;
    border-radius: 28px;
    padding: 1.6rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #ede8e2;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e11d2c;
    margin: 0.75rem 0;
}

/* ========== 紧急横幅 ========== */
.emergency-banner {
    background: #fce8e9;
    border-left: 6px solid #e11d2c;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* ========== 会员卡片 ========== */
.member-card {
    background: #fcf6f0;
    border-radius: 28px;
    padding: 1.5rem;
    margin: 1rem 0 2rem;
    text-align: center;
    border: 1px solid #ffe2cf;
}

/* ========== 统计数字 ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e11d2c;
}

/* ========== 关于我们样式 ========== */
.about-section {
    background: white;
    border-radius: 36px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-card {
    background: #f9f7f5;
    padding: 1.5rem;
    border-radius: 24px;
    text-align: center;
}

.team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: #f0eae4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 0.8rem;
}

/* ========== 热销标签 ========== */
.hot-badge {
    background: #f5a623;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

/* ========== 模态框 ========== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    max-width: 480px;
    width: 90%;
    border-radius: 32px;
    padding: 1.8rem;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 1.2rem;
    top: 1rem;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========== 地图占位 ========== */
.map-placeholder {
    background: #eef2f0;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
}

/* ========== 医生列表 ========== */
.doctor-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.doctor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ede8e2;
}

/* ========== 页脚 ========== */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #ede8e2;
    margin-top: 2rem;
    color: #7f7d7a;
    font-size: 0.8rem;
}

/* ========== 移动端适配 ========== */
@media (max-width: 680px) {
    .nav {
        flex-direction: column;
        gap: 0.8rem;
    }
    .nav-links {
        justify-content: center;
    }
}