@charset "UTF-8";
/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    min-width: 320px;
    max-width: 750px;
    line-height: 1.6;
    color: #333;
    background-color: #dceaf1;
    padding-bottom: 70px;
    margin: 0 auto;
}
a{text-decoration: none;}
input, textarea, button, a{-webkit-tap-highlight-color:transparent;}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 11px;
}

/* 顶部导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}


.logo img{
    width: 45%;
    display: block;
}
.header .tel{
    width: 50%;
    color: #144f72;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header .tel i{
    font-size: 30px;
}
.header .tel a{
    color: #144f72;
    font-weight: bold;
    /* font-size: 20px; */
}
/* .menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    border-radius: 2px;
} */

/* 主横幅（轮播） */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: #000; /* fallback */
}

.banner-slider {
    position: relative;
}

.slides {
    position: relative;
    width: 100%;
    height: auto;
}

.slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide .banner-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 2;
    text-align: center;
    padding: 0 15px;
}

.hero-banner h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
}

.subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.description {
    font-size: 14px;
    margin-bottom: 18px;
    opacity: 0.9;
}

.cta-btn {
    background: #fff;
    color: #2c5f8d;
    border: none;
    padding: 10px 28px;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.cta-btn:active { transform: scale(0.98); }

/* 控制按钮 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.slider-btn:focus { outline: 2px solid rgba(255,255,255,0.6); }

/* 指示点 */
.slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 8px;
    z-index: 6;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    padding: 0;
    cursor: pointer;
}

.slider-dots .dot.active,
.slider-dots .dot[aria-selected="true"] {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* 响应式：更高的横幅在大屏 */
@media (min-width: 769px) {
    .slides, .slide img { height: 420px; }
}

@media (max-width: 480px) {
    /* .slides, .slide img { height: 240px; } */
    .hero-banner h1 { font-size: 20px; }
}
/* search区 */
.search{
    margin: 20px auto;
    position: relative;
}
.search input{
    display: block;
    border: 2px solid #fff;
    text-indent: 1rem;
    background: #e8f1f6;
    width: 80%;
    margin: 0 auto;
    padding: 16px 10px;
    border-radius: 8px;
    outline: none;
}
.search::before{
    content: "\e620";
    position: absolute;
    left: 12%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    background-size: contain;
}
.search::after{
    content: "\e69a";
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    background-size: contain;
}
/* 服务卡片区 */
.services {
    margin: 0px 6px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 0;
}
.services .container{
    display: flex;
    justify-content: space-between;
}
.services .services-left{
    width: 49%;
    border-radius: 10px;
    color: #fff;
    background-color: #155574;
    background-image: url('/static/images/index251206/servicebg.png');
    background-size: cover;
    background-position: center;
    text-indent: 2em;
}
.services .services-left a{
    height: 50%;
    color: #fff;
    font-size: 26px;
    padding: 15px 0;
    display: block;
}
.services .services-left p{
    font-size: 16px;
}
.services .services-left .ylfw{
    position: relative;
    color: #fff;
    border-radius: 10px;
}
.services .services-left .ylfw .shad{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.2;
    top: 0;
    border-radius: 10px;
}
.services .services-right{
    width: 49%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 定义两列，每列占据相同宽度 */
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
.services .services-right .item{
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px 0;
}
.services .services-right .item span{
    font-size: 15px;
    margin-bottom: 5px;
}
.services .services-right .item .icon{
    width: 48%;
    display: block;
    margin: 0 auto;
}
.services .services-right .sy{
    background-color: #d9e4e9;
    color: #155574;
}
.services .services-right .zj{
    background-color: #fdefd6;
    color: #f29e00;
}
.services .services-right .ks{
    background-color: #fdefd6;
    color: #f29e00;
}
.services .services-right .gl{
    background-color: #d9e4e9;
    color: #155574;
    line-height: 1;
}

/* 科室分科 */
.department-division {
    margin: 20px 6px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 0;
}
.department-division .dep-title{
    padding-left: 11px;
}
.department-division .dep-title .tit-en{
    color: #144f72;
    font-size: 19px;
    font-weight: bold;
}
.department-division .dep-title .tit-en-d{
    color: #18181a;
    position: relative;
}
.department-division .dep-title .tit-en-d::after{
    content: '';
    position: absolute;
    width: 48px;
    height: 4px;
    background-color: #155574;
    border-radius: 8px;
    bottom: -7px;
    left: 0;
}
.department-division .dep-title .tit-cn{
    font-size: 26px;
    font-weight: bold;
    margin: 10px 0;
}
.department-division .container{
    display: flex;
    flex-wrap: wrap;
}
.department-division .dep-item{
    display: block;
    width: 50%;
}
.department-division .dep-item img{
    width: 100%;
    display: block;
}


/* 医生团队 */
.doctors {
    background: #fff;
    border-radius: 10px;
    padding: 10px 0;
    margin: auto 6px;
}

.doctors .doc-title{
    padding-left: 11px;
}
.doctors .doc-title .tit-en{
    color: #144f72;
    font-size: 19px;
    font-weight: bold;
}
.doctors .doc-title .tit-en-d{
    color: #18181a;
    position: relative;
}
.doctors .doc-title .tit-en-d::after{
    content: '';
    position: absolute;
    width: 36px;
    height: 4px;
    background-color: #155574;
    border-radius: 8px;
    bottom: -7px;
    left: 0;
}
.doctors .doc-title .tit-cn{
    font-size: 26px;
    font-weight: bold;
    margin: 10px 0;
}
.section-title {
    text-align: center;
    font-size: 24px;
    color: #2c5f8d;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}



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

.doctor-card {
    text-align: center;
    background-color: #155574;
    padding: 23px 0px;
}

.doctor-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a7ba7 100%);
    border: 3px solid #e0e0e0;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

.doctor-card p {
    font-size: 13px;
    color: #fff;
}

/* 特色诊疗区 */
.spc-treatment-section {
    padding: 30px 0;
}
.spc-treatment-section .section-title{
    font-size: 26px;
    padding-bottom: 0;
    color: #18181a;
    margin-bottom: 18px;
}
.spc-treatment-section .section-subtitle{
    font-size: 14px;
    text-align: center;
}
.spc-treatment-section-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.spc-treatment-section-item{
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.spc-treatment-section-item .info{
    display: flex;
    border-bottom: 1px solid #f1efef;
    /* background: #fff; */
    /* border-radius: 12px; */
    
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
}

.spc-treatment-section-image {
    width: 120px;
    height: 100px;
    flex-shrink: 0;
    /* background: linear-gradient(135deg, #2c5f8d 0%, #4a7ba7 100%); */
}

.spc-treatment-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spc-treatment-section-content {
    flex: 1;
    padding: 15px;
}

.spc-treatment-section-content h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}

.spc-treatment-section-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.spc-treatment-section-item .tags{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px;
}
.spc-treatment-section-item .tags span{
    padding: 6px 15px;
    background: #f0f8ff;
    color: #1a5f7a;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid #d4e9f2;
}
/* 地址等信息 */
.addr-section{
    margin: 20px 6px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
}
.addr-section .tit{
    color: #2e3036;
    font-size: 18px;
    font-weight: 600;
}
.addr-section .sub-tit{
    color: #858585;
    font-size: 15px;
}

.addr-section .item{
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #adadad;
}
.addr-section .ad-no{
    border-bottom: none;
    margin-bottom: 0;
}

/* 底部导航 */
.bottom-nav {
    min-width: 320px;
    max-width: 750px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    justify-content: space-around;
    z-index: 100;
    background-image: url('/static/images/index251206/foot-nav-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    /* padding: 10px 0px 0px; */
    /* box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08); */
    /* border-top: 1px solid #f0f0f0; */

}
.bottom-nav .nav-left,.bottom-nav .nav-right{
    width: 48%;
    display: flex;
    justify-content: space-around;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #010101;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    padding: 5px 0;
}
.nav-item.guahao{
    margin-right: 3%;
}
.nav-item.tel{
    margin-left: 3%;
}
.nav-item .icon {
    font-size: 22px;
    margin-bottom: 4px;
    transition: all 0.3s;
}

.nav-item.active {
    color: #2c5f8d;
}

.nav-item.active .icon {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 22px;
    }

    .service-grid {
        gap: 10px;
    }

    .doctor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .spc-treatment-section-image {
        /* width: 100px;
        height: 85px; */
        width: 175px;
        height: 100%;
    }

    .featured-grid {
        gap: 10px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}


