/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    max-width: 750px;
    margin: 0 auto;
    padding-bottom: 70px; /* 给底部导航留空间 */
}
a{
	text-decoration: none;
}
/* 头部Banner */
.header-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 服务图标网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px 15px;
}
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.service-name {
    font-size: 15px;
    color: #333;
    text-align: center;
}

/* 图标颜色 */
.icon-pink { background: linear-gradient(135deg, #f8bbd0, #f06292); }
.icon-orange { background: linear-gradient(135deg, #ffcc80, #ff9800); }
.icon-purple { background: linear-gradient(135deg, #f48fb1, #e91e63); }
.icon-blue { background: linear-gradient(135deg, #90caf9, #42a5f5); }
.icon-green { background: linear-gradient(135deg, #81c784, #4caf50); }
.icon-red { background: linear-gradient(135deg, #ff8a80, #f44336); }

/* 医生列表 */
.doctor-list {
    padding: 0 15px 20px;
}
.doctor-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.doctor-item:last-child {
    border-bottom: none;
}
.doctor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}
.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.doctor-info {
    flex: 1;
}
.doctor-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.doctor-title h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
.doctor-position {
    font-size: 14px;
    font-weight: normal;
    color: #999;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}
.btn-guahao {
    background: #e53935;
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
}
.doctor-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 底部导航 */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 750px;
    margin: 0 auto;
    height: 60px;
    background: linear-gradient(180deg, #fff, #ffebee);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #eee;
    z-index: 999;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #666;
}
.nav-item.active {
    color: #e53935;
}
.nav-item svg {
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
}
.nav-item p {
    font-size: 12px;
}

/* 响应式适配 */
@media screen and (max-width: 375px) {
    .service-icon {
        width: 60px;
        height: 60px;
    }
    .service-name {
        font-size: 14px;
    }
    .doctor-title h3 {
        font-size: 18px;
    }
}

@media screen and (min-width: 750px) {
    body {
        font-size: 18px;
    }
    .service-icon {
        width: 80px;
        height: 80px;
    }
    .service-name {
        font-size: 16px;
    }
}