/* 加载遮罩兜底：3秒后自动隐藏，防止 JS 报错导致页面卡住 */
.loader-wrapper {
    animation: ht-hide-loader 0.5s ease 3s forwards;
}

@keyframes ht-hide-loader {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.75;
    color: #4a4a4a;
}

p {
    line-height: 1.85;
}

/* 顶部 Header */
.logo-top-info {
    padding: 14px 0;
    background: #fff;
    border-bottom: 1px solid #eef1f6;
}

.logo img {
    max-height: 52px;
    width: auto;
    display: block;
}

.top-info h3 {
    font-size: 13px;
    margin-bottom: 4px;
}

.top-info p {
    font-size: 14px;
    word-break: break-all;
}

.top-info > div {
    padding: 0 18px;
}

/* 导航 */
.main-menu {
    background: #fff;
    border-bottom: 1px solid #eef1f6;
    box-shadow: 0 2px 12px rgba(9, 62, 182, 0.06);
}

.main-menu li a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 18px 28px !important;
}

.main-menu li a:hover,
.main-menu li.active a {
    color: #093eb6;
    background: rgba(9, 62, 182, 0.05);
}

/* 轮播 */
section.home-slider {
    margin-bottom: 0;
}

.flexslider .slides > li {
    min-height: 500px;
}

.flexslider .slides > li img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slider-content h2 {
    font-size: 40px;
    line-height: 1.35;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slider-content p {
    max-width: 720px;
    line-height: 1.85;
    font-size: 18px;
    opacity: 0.95;
}

.slider-content.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.slider-content .primary-btn {
    border-radius: 6px;
    font-size: 16px;
    line-height: 50px;
    padding: 0 32px;
}

/* 通用区块 */
section.home-company,
section.home-services,
section.home-process,
section.home-stats {
    padding: 72px 0;
}

.ht-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.ht-section-head h2 {
    font-size: 32px;
    color: #1a1a2e;
    font-weight: 700;
    margin: 0 0 12px;
}

.ht-section-head p {
    font-size: 16px;
    color: #888;
    margin: 0;
    line-height: 1.7;
}

.ht-section-head .ht-tag {
    display: inline-block;
    background: #ffda44;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* 关于我们 */
.home-company {
    background: #fff;
}

.company-details p {
    font-size: 15px;
    color: #555;
    margin-bottom: 14px;
}

.company-details .btn {
    margin-top: 10px;
    border-radius: 6px;
    padding: 10px 28px;
}

.company-image {
    position: static !important;
    min-height: auto !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.company-image > div {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
}

.company-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 服务卡片 */
.home-services {
    background: #f7f9fc;
}

.home-services .services > [class*="col-"] {
    margin-bottom: 24px;
}

.ht-service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(9, 62, 182, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ht-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(9, 62, 182, 0.14);
}

.ht-service-card .ht-card-img {
    overflow: hidden;
}

.ht-service-card .ht-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ht-service-card:hover .ht-card-img img {
    transform: scale(1.05);
}

.ht-service-card .ht-card-body {
    padding: 22px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ht-service-card .ht-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #093eb6, #2b6de8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-bottom: 14px;
}

.ht-service-card h4 {
    font-size: 18px;
    color: #093eb6;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}

.ht-service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 16px;
}

.ht-service-card .btn {
    align-self: flex-start;
    border-radius: 6px;
    font-size: 13px;
    padding: 8px 20px;
}

/* 数据统计 - 修复白字浅底看不清 */
section.home-stats {
    background: linear-gradient(135deg, #093eb6 0%, #1a5fd4 100%) !important;
    padding: 56px 0 !important;
}

section.home-stats .row.stats > div {
    border: none !important;
    text-align: center;
    padding: 24px 15px !important;
}

section.home-stats .stats-info {
    float: none !important;
    display: block;
    text-align: center;
}

section.home-stats .stats-info h4,
section.home-stats .stats-info h4.counter {
    font-size: 36px !important;
    color: #fff !important;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

section.home-stats .stats-info p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px;
    margin-top: 8px;
}

section.home-stats .ht-stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

section.home-stats .ht-stat-icon i {
    font-size: 26px;
    color: #ffda44;
}

section.home-stats img {
    display: none !important;
}

/* 平台优势 */
section.home-process {
    background: #fff;
    padding: 72px 0 !important;
}

section.home-process .row.process {
    display: flex;
    align-items: center;
}

section.home-process .process p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 14px;
}

section.home-process .ht-section-head h2 {
    font-size: 28px;
}

.ht-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ht-feature-item {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 20px 22px;
    border-left: 4px solid #093eb6;
}

.ht-feature-item h5 {
    font-size: 16px;
    color: #093eb6;
    font-weight: 700;
    margin: 0 0 8px;
}

.ht-feature-item h5 i {
    color: #093eb6;
    margin-right: 6px;
}

.ht-feature-item p {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.7;
}

/* 页脚 - 修复黄色块错位重叠 */
footer .footer {
    background: #1a1a2e;
    padding-top: 0;
}

footer .row.pre-footer {
    position: static !important;
    top: auto !important;
    margin: 0;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
}

footer .pre-footer > div {
    padding: 0 10px !important;
    margin-bottom: 0;
    display: flex;
}

footer .contact-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px;
    padding: 28px 24px !important;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    float: none !important;
}

footer .pre-footer > div:nth-child(2n) .contact-box,
footer .pre-footer > div:nth-child(3n) .contact-box {
    background: rgba(255, 255, 255, 0.08) !important;
}

footer .contact-box i.fa {
    float: none !important;
    font-size: 22px !important;
    color: #ffda44 !important;
    width: auto !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    margin-top: 4px;
}

footer .contact-details {
    flex: 1;
}

footer h4.pre-footer-title {
    color: #fff !important;
    font-size: 16px !important;
    margin: 0 0 10px !important;
}

footer .contact-details p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

footer .pre-footer {
    padding: 48px 0 32px !important;
}

footer .widgets {
    padding: 36px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .widget-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
}

footer .about-txt img {
    max-height: 48px;
    width: auto;
    margin-bottom: 16px;
}

footer .about-txt p,
footer .newsletter p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.8;
}

footer .quick-links ul li a,
footer .our-services ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 2.2;
}

footer .quick-links ul li a:hover,
footer .our-services ul li a:hover {
    color: #ffda44;
}

footer .copyright {
    background: #12121f;
}

footer .copyright-bar p,
footer .copyright-bar a {
    font-size: 13px;
    line-height: 1.8;
}

/* 内页 */
.page-title {
    background: linear-gradient(135deg, #093eb6, #1a5fd4);
    padding: 56px 0 48px !important;
}

.page-title .title {
    font-size: 36px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-title .description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9) !important;
}

.breadcrumbs {
    background: #f7f9fc;
    padding: 14px 0;
    font-size: 14px;
}

/* 关于页 */
.about-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

.about-cta .cta h2 {
    font-size: 22px;
    line-height: 1.7;
    padding: 32px;
}

.about-culture img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

.about-stats .stats > div {
    text-align: center;
    padding: 24px 10px;
    background: #f7f9fc;
    border-radius: 10px;
    margin-bottom: 16px;
}

.about-stats img {
    display: none;
}

.about-stats .stats-info h4 {
    font-size: 28px;
    color: #093eb6;
    font-weight: 700;
}

.about-stats .stats-info p {
    color: #666;
    font-size: 14px;
}

.about-stats .ht-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #093eb6, #2b6de8);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.about-stats .ht-stat-icon i {
    font-size: 22px;
    color: #fff;
}

.sidebar.left {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 28px 24px;
}

.sidebar-title {
    font-size: 17px;
    color: #093eb6;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #093eb6;
}

.sidebar-blog-categories ul li a {
    font-size: 14px;
    line-height: 2.4;
    color: #555;
}

.sidebar-fact p {
    font-size: 14px;
    line-height: 1.9;
    color: #666;
}

/* 服务页 */
.services-company .hover-effect img,
.services-company img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}

.ht-service-block {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.ht-service-block h4 {
    margin-top: 0;
}

.ht-service-block p {
    font-size: 14px;
    line-height: 1.85;
    color: #555;
}

/* 联系页 */
.contact-area-box {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(9, 62, 182, 0.08);
    height: 100%;
    border-top: 4px solid #093eb6;
    transition: transform 0.3s;
}

.contact-area-box:hover {
    transform: translateY(-4px);
}

.contact-area-box .contact-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.contact-area-box .address,
.contact-area-box .phone,
.contact-area-box .email {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-area-box i {
    color: #093eb6;
    font-size: 18px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-area-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.ht-info-card {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 32px;
    line-height: 2;
}

.ht-info-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 6px;
}

.ht-map-card {
    background: linear-gradient(135deg, #f7f9fc, #eef3fb);
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    border: 1px solid #e0e8f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ht-map-card i {
    font-size: 48px;
    color: #093eb6;
    margin-bottom: 16px;
}

.ht-map-card h4 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.ht-map-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 按钮 */
.btn-primary {
    background: #093eb6;
    border-color: #093eb6;
    border-radius: 6px;
}

.btn-primary:hover {
    background: #073299;
    border-color: #073299;
}

/* 响应式 */
@media (max-width: 991px) {
    .slider-content h2 {
        font-size: 30px;
    }

    .slider-content p {
        font-size: 16px;
    }

    .flexslider .slides > li,
    .flexslider .slides > li img {
        min-height: 420px;
        height: 420px;
    }

    section.home-company,
    section.home-services,
    section.home-process {
        padding: 48px 0;
    }

    .ht-features {
        grid-template-columns: 1fr;
    }

    .company-image {
        margin-top: 32px;
    }
}

@media (max-width: 767px) {
    .logo img {
        max-height: 44px;
    }

    .slider-content h2 {
        font-size: 24px;
    }

    .slider-content p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .ht-section-head h2 {
        font-size: 26px;
    }

    section.home-stats .stats-info h4,
    section.home-stats .stats-info h4.counter {
        font-size: 28px !important;
    }

    footer .row.pre-footer {
        display: block;
    }

    footer .pre-footer > div {
        margin-bottom: 16px;
    }

    section.home-process .row.process {
        display: block;
    }

    .company-image {
        grid-template-columns: 1fr;
    }

    .company-image img {
        height: 200px;
    }

    footer .copyright-bar > div {
        text-align: center !important;
    }
}
