/* 首页专用样式 - 内容区块，头部/轮播与内页共用 style.css */

.page-home { background: #f5f7fa; color: #333; }
.page-home a:hover { color: #00756a; }

/* 区块标题 */
.page-home .home-section { padding: 50px 0; }
.page-home .home-section.bg-white { background: #fff; }
.page-home .home-section-head { text-align: center; margin-bottom: 36px; }
.page-home .home-section-head h2 { font-size: 32px; color: #333; font-weight: 600; }
.page-home .home-section-head h2 em { font-style: normal; color: #00756a; }
.page-home .home-section-head p { color: #888; margin-top: 10px; font-size: 14px; }
.page-home .home-section-head--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
}
.page-home .home-section-head--row .home-section-head-main { text-align: center; flex: 1; }
.page-home .home-news-more {
    font-size: 14px;
    color: #00756a;
    white-space: nowrap;
    padding-bottom: 6px;
}
.page-home .home-news-more:hover { color: #005a52; }

/* 热门套餐 */
.page-home .home-packages { display: flex; gap: 24px; justify-content: center; }
.page-home .home-package {
    flex: 1;
    max-width: 360px;
    background: linear-gradient(135deg, #00756a 0%, #009688 100%);
    border-radius: 8px;
    padding: 28px 24px;
    color: #fff;
    text-align: center;
    transition: transform .3s;
}
.page-home .home-package:hover { transform: translateY(-6px); }
.page-home .home-package h3 { font-size: 20px; margin-bottom: 16px; }
.page-home .home-package .price { font-size: 36px; font-weight: 700; margin: 10px 0; }
.page-home .home-package .price small { font-size: 14px; font-weight: 400; }
.page-home .home-package .market { text-decoration: line-through; opacity: .7; font-size: 13px; }
.page-home .home-package a {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 28px;
    background: #fff;
    color: #00756a;
    border-radius: 20px;
    font-size: 14px;
}

/* 服务板块：单一三列网格，纵向 1/2/3、4/5/6、7/8/9 列宽一致 */
.page-home .home-service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.page-home .home-service-list > .home-service-title,
.page-home .home-service-list > .home-service-item {
    margin-left: 0;
    margin-right: 0;
}
.page-home .home-service-title {
    grid-column: 1 / -1;
    background: #00756a;
    color: #fff;
    padding: 14px 24px;
    font-size: 18px;
    border-radius: 0;
}
.page-home .home-service-list > .home-service-title:first-child {
    border-radius: 6px 6px 0 0;
}
.page-home .home-service-title span { font-size: 13px; opacity: .85; margin-left: 12px; font-weight: 400; }
.page-home .home-service-item {
    padding: 24px 20px;
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    background: #fff;
    box-sizing: border-box;
    min-width: 0;
    transition: box-shadow .3s;
}
.page-home .home-service-item:nth-child(3n+4) { border-right: 0; }
.page-home .home-service-item:hover { box-shadow: inset 0 0 0 2px #00756a; }
.page-home .home-service-item h4 { font-size: 16px; color: #333; margin-bottom: 8px; }
.page-home .home-service-item p { font-size: 13px; color: #888; line-height: 1.7; margin-bottom: 12px; height: 44px; overflow: hidden; }
.page-home .home-service-item .meta { font-size: 12px; color: #00756a; }
.page-home .home-service-item .meta strong { color: #e74c3c; font-size: 16px; }
.page-home .home-service-item a.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 16px;
    border: 1px solid #00756a;
    color: #00756a;
    border-radius: 3px;
    font-size: 12px;
}

/* 为什么选择 */
.page-home .home-why { background: #fff; }
.page-home .home-why-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}
.page-home .home-why-tabs span {
    padding: 14px 32px;
    cursor: pointer;
    font-size: 15px;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.page-home .home-why-tabs span.active { color: #00756a; border-bottom-color: #00756a; font-weight: 600; }
.page-home .home-why-panel { display: none; }
.page-home .home-why-panel.active { display: flex; gap: 40px; align-items: center; }
.page-home .home-why-panel .text { flex: 1; }
.page-home .home-why-panel .text h3 { font-size: 24px; color: #00756a; margin-bottom: 16px; }
.page-home .home-why-panel .text p { font-size: 15px; color: #555; line-height: 1.9; }
.page-home .home-why-panel .img { flex: 1; }
.page-home .home-why-panel .img img { width: 100%; border-radius: 8px; }
.page-home .home-why-phone { margin-top: 20px; font-size: 22px; color: #e74c3c; font-weight: 700; }

/* 数据统计 */
.page-home .home-stats {
    display: flex;
    background: #00756a;
    border-radius: 8px;
    overflow: hidden;
}
.page-home .home-stats li {
    flex: 1;
    text-align: center;
    padding: 28px 10px;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.2);
}
.page-home .home-stats li:last-child { border-right: 0; }
.page-home .home-stats li b { display: block; font-size: 32px; line-height: 1.2; }
.page-home .home-stats li span { font-size: 13px; opacity: .9; margin-top: 6px; display: block; }

/* 新闻中心推荐（样式参考 /news/ 列表） */
.page-home .home-news-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.page-home .home-news-list li {
    margin: 0;
    border: 1px solid #00756a;
    border-bottom-width: 2px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}
.page-home .home-news-list li .img {
    height: 200px;
    overflow: hidden;
}
.page-home .home-news-list li .img a {
    display: block;
    height: 100%;
}
.page-home .home-news-list li .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.page-home .home-news-list li .con {
    padding: 28px 28px 24px;
}
.page-home .home-news-list li h2 {
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 20px;
    margin-bottom: 20px;
    line-height: 1.5;
    height: 60px;
    overflow: hidden;
    position: relative;
}
.page-home .home-news-list li h2:after {
    content: "";
    display: block;
    background: #00756a;
    height: 2px;
    width: 80px;
    position: absolute;
    left: 0;
    bottom: 0;
}
.page-home .home-news-list li h2 a { color: #333; }
.page-home .home-news-list li h2 a:hover { color: #00756a; }
.page-home .home-news-list li p {
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    height: 76px;
    margin-bottom: 24px;
    overflow: hidden;
    color: #666;
}
.page-home .home-news-list li .bt .time {
    font-size: 16px;
    color: #333;
}
.page-home .home-news-list li .bt a {
    color: #00756a;
    font-size: 14px;
}
.page-home .home-news-list li .bt a:hover { color: #005a52; }

/* 关于 */
.page-home .home-about {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.page-home .home-about .info { flex: 1; }
.page-home .home-about .info h3 { font-size: 22px; color: #00756a; margin-bottom: 16px; }
.page-home .home-about .info p { font-size: 14px; color: #555; line-height: 2; margin-bottom: 12px; }
.page-home .home-about .brand {
    flex: 0 0 200px;
    text-align: center;
    padding: 30px;
    background: #00756a;
    color: #fff;
    border-radius: 8px;
}
.page-home .home-about .brand strong { font-size: 28px; display: block; margin-bottom: 8px; }

/* 荣誉资质 */
.page-home .honor-list {
    border: 1px solid #e8e4d0;
    padding: 40px 60px;
    background: #fff;
    border-radius: 8px;
    position: static;
    top: auto;
    overflow: hidden;
    zoom: 1;
    margin-bottom: 10px;
}
.page-home .honor-list:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
.page-home .honor-list li {
    float: left;
    width: 50%;
    height: auto;
    line-height: 2.2;
    font-size: 14px;
    color: #555;
    padding-left: 18px;
    position: relative;
}
.page-home .honor-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    background: #00756a;
    border-radius: 50%;
}

/* 主内容区：建立 BFC，防止内部 float 影响 footer（兼容旧版浏览器） */
.page-home .home-main {
    position: relative;
    z-index: 1;
    overflow: hidden;
    zoom: 1;
    width: 100%;
}

/* 首页 footer 与内页共用 style.css，仅重置 div{margin:auto} 对浮动块的影响（不含 .qr 内层） */
.page-home .footer-box .siteinfo,
.page-home .footer-box .qrcode {
    margin-left: 0;
    margin-right: 0;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .page-home .home-packages { flex-direction: column; align-items: center; display: block; }
    .page-home .home-packages .home-package { margin-bottom: 15px; box-sizing: border-box;}
    .page-home .home-service-list { grid-template-columns: 1fr; }
    .page-home .home-service-item { border-right: 0 !important; }
    .page-home .home-news-list ul { grid-template-columns: 1fr; }
    .page-home .home-news-list li h2,
    .page-home .home-news-list li p { height: auto; }
    .page-home .home-section { padding: 20px 10px; }
    .page-home .home-section-head--row { flex-direction: column; align-items: center; text-align: center; }
    .page-home .home-news-more { padding: 12px 0 0; }
    .page-home .home-why-panel.active { flex-direction: column; }
    .page-home .home-about { flex-direction: column; padding: 20px; }
    .page-home .home-stats { flex-wrap: wrap; }
    .page-home .home-stats li { border-bottom: 1px solid rgba(255,255,255,.2); }
    .page-home .honor-list { padding: 24px 20px; }
    .page-home .honor-list li { width: 100%; float: none; }
    .page-home .home-about .brand, .page-product .product-intro-brand{ flex: 1; width: 100%; box-sizing: border-box;}
    .page-home .home-section-head h2 em { display: block; padding: 20px 0 10px 0;}
}
