/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC',"Microsoft JhengHei", "PingFang SC", sans-serif;
}

body {
    color: #333;
    background: #fff;
    line-height: 1.6;
}

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

.page{
	max-width: 750px;
	margin: 0 auto;
	position: relative;
}
/* 头部样式 */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    max-height: 60px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    color: #005bbb;
    font-weight: bold;
}

/* Banner轮播 */
.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-container {
    position: relative;
}

.banner-item {
    display: none;
}

.banner-item.active {
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.6;
    cursor: pointer;
}

.dot.active {
    opacity: 1;
    background: #005bbb;
}

/* 通用标题样式 */
.section-title {
    /* text-align: center; */
	text-align: left;
    font-size: 24px;
	color: #333;
    /* color: #005bbb; */
    /* margin: 40px 0 30px; */
	margin: 10px 0 10px;
    font-weight: 800;
}

/* 诊疗项目 */
.treatment-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.treatment-item {
    background: #f5f9ff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.treatment-item i {
    font-size: 40px;
    color: #005bbb;
    margin-bottom: 15px;
}

.treatment-item p {
    font-size: 18px;
    font-weight: 500;
}

/* 关于我们 */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hospital-img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

/* 专家团队 */
.expert-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.expert-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.expert-img {
    border-radius: 8px;
    width: 100%;
}

.whatsapp-btn {
    background: #25d366;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-btn i {
    font-size: 24px;
}

/* 仪器设备/荣誉资质 */
.equipment-section, .honor-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}
.honor-section{
	padding: 0
}

.equipment-content, .honor-content {
    text-align: center;
}

.equipment-img, .honor-img {
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

/* 医院环境 */
.environment-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.environment-tab {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 30px;
    background: #eee;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
}

.tab-btn.active {
    background: #005bbb;
    color: #fff;
}

.environment-content {
    position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
    border-radius: 8px;
    /* overflow: hidden; */
}
.environment-content dl{
	width: 45%;
	display: block;
	    
}
.environment-content dl dt{
	display: block;
	height: 180px;
	position: relative;
	overflow: hidden;
}
.environment-content dl dt img{
	object-fit: cover;
	display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
}
.environment-content dl dd{}

.env-img {
    display: none;
    width: 100%;
}

.env-img.active {
    display: block;
}

.order-section{
	max-width: 1200px;
	margin: 25px auto 15px;
	padding: 0 20px;
}

.order-content{
	position: relative;
	margin-bottom: 90px;
}
.order-content p{
	font-size: 16px;
	line-height: 1.8;
	text-align: justify;
	margin-bottom: 25px;
}
.form-content{
	
}
.form-content .layui-form-label{
	width: 100px !important;
}
/* 底部预约栏 */
.footer {
    background: #005bbb;
    padding: 15px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 999;
}

.footer-btn-group{
	max-width: 750px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
}

.footer-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-book {
    background: #ffdd00;
    color: #000;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #fff;
    border: 1px solid #005bbb;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 998;
}

.back-to-top img {
    width: 30px;
    margin-bottom: 5px;
}

.back-to-top span {
    font-size: 12px;
    color: #005bbb;
    font-weight: 500;
}
.back-to-top i{
	color: #1b8bcc;
	font-style: normal;
	font-size: 20px;
	line-height: 1.2;
}

/* 响应式适配 */
@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        gap: 30px;
    }
    .hospital-img {
        width: 50%;
    }
    .about-text {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-top {
        /* flex-direction: column; */
		flex-direction: row;
        gap: 10px;
    }
	.logo{
		width: 70%;
		/* display: inline-block; */
	}
    .brand-text {
        text-align: center;
    }
	.environment-content dl dt{
		height: 88px;
	}
    .footer {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    .footer-whatsapp, .footer-book {
        text-align: center;
    }
    .back-to-top {
        bottom: 120px;
    }
}

@media (max-width: 480px) {
    .treatment-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 20px;
    }
	.section-title span{
		font-size: 18px;
	}
}