/* 主题3 视觉与交互优化（SEO 友好：纯 CSS 动画，不阻塞渲染） */

:root {
    --t3-primary: #063060;
    --t3-accent: #fc0476;
    --t3-muted: #5a6472;
    --t3-surface: #f6f8fb;
    --t3-radius: 8px;
    --t3-shadow: 0 12px 32px rgba(6, 48, 96, 0.08);
}

/* 横幅 */
.slider-section {
    height: auto;
    min-height: 0;
    overflow: hidden;
}

.slider-section .slider-list .slider-area {
    min-height: 560px;
    height: 70vh;
    max-height: 970px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.slider-section .slider-list .slider-area.lozad {
    opacity: 1;
}

.slider-section .slider-content {
    max-width: 760px;
    padding: 24px 0;
}

.slider-section .slider-content h1,
.slider-section .slider-content h2 {
    color: var(--t3-primary);
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.slider-section .slider-content p {
    color: #1f2a37;
    font-size: 18px;
    line-height: 1.7;
    max-width: 640px;
}

.slider-section .slider-button a {
    display: inline-block;
    margin-top: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slider-section .slider-button a:hover {
    transform: translateY(-2px);
    box-shadow: var(--t3-shadow);
}

.slider-section .slider-list .owl-dots {
    position: relative;
    top: 0;
    margin-top: -42px;
    margin-bottom: 20px;
    z-index: 3;
}

.slider-section .slider-list .owl-dot span {
    transition: background 0.25s ease, transform 0.25s ease;
}

.slider-section .slider-list .owl-dot.active span,
.slider-section .slider-list .owl-dot:hover span {
    background: var(--t3-accent);
}

/* 模块标题统一 */
.dreamit-section-title .dreamit-section-sub-title h5 {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dreamit-section-title .dreamit-section-main-title h2 {
    color: var(--t3-primary);
    line-height: 1.25;
}

/* FAQ */
.faq-area {
    background: var(--t3-surface);
    padding-bottom: 80px !important;
}

.faq-area .dreamit-faq-thumb img {
    width: 100%;
    border-radius: var(--t3-radius);
    box-shadow: var(--t3-shadow);
}

.faq-area #accordion .card {
    border: 1px solid #e8edf3;
    margin-bottom: 12px;
    border-radius: var(--t3-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.25s ease;
}

.faq-area #accordion .card:hover {
    box-shadow: var(--t3-shadow);
}

.faq-area #accordion .card-header {
    padding: 0;
    background: #fff;
    border-bottom: 0;
}

.faq-area #accordion .card-header .btn-link {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--t3-primary);
    text-decoration: none;
    white-space: normal;
    line-height: 1.55;
}

.faq-area #accordion .card-header .btn-link:not(.collapsed) {
    color: var(--t3-accent);
}

.faq-area #accordion .card-header .btn-link:hover,
.faq-area #accordion .card-header .btn-link:focus {
    color: var(--t3-accent);
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

.faq-area #accordion .card-body {
    padding: 0 22px 20px;
    color: var(--t3-muted);
    line-height: 1.8;
    font-size: 15px;
}

/* 评价 / 评论 */
.testi-section .testi_list.owl-carousel .owl-stage-outer {
    padding: 10px 0 28px;
}

.testi-section .testi_list .single-testi-box {
    margin: 0 12px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testi-section .testi_list .single-testi-box:hover {
    transform: translateY(-4px);
}

.testi-section .testi_list .testi-content p {
    line-height: 1.75;
    color: var(--t3-muted);
}

.testi-section .testi_list .owl-dots {
    margin-top: 12px;
}

.testi-section .testi_list .owl-dot.active span {
    background: var(--t3-accent);
}

/* 荣誉数据 */
.choose-section .single-choose-box {
    transition: transform 0.25s ease;
}

.choose-section .single-choose-box:hover {
    transform: translateY(-4px);
}

/* 联系/订阅/搜索展示 */
.contact-form-display .btn,
.subscribe-form-display .subscribe-button,
.search-form-display .btn2 {
    cursor: default;
}

/* 联系方式模块（call-do-action）与上下模块间距 */
.call-do-action {
    margin-top: 60px !important;
    margin-bottom: 80px !important;
    padding: 20px 0;
}

.call-do-action .single-call-box {
    margin-top: 0;
}

.call-do-action .row.upper4 {
    margin-bottom: 0;
}

/* 新闻模块顶部 CTA 与相邻模块间距 */
.call-section {
    margin-top: 80px;
    margin-bottom: 40px;
}

/* 回到顶部 */
.go-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.go-top.active {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    transform: translateY(-3px);
}

/* 图片懒加载占位（Logo 除外，避免导航 Logo 出现灰/白块） */
.lozad[data-src]:not(header img):not(footer img),
.lozad[data-bg-image] {
    background-color: #eef2f6;
}

img.lozad {
    transition: opacity 0.35s ease;
}

/* 无障碍焦点 */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--t3-accent);
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .call-do-action {
        margin-top: 40px !important;
        margin-bottom: 60px !important;
    }

    .call-section {
        margin-top: 60px;
        margin-bottom: 30px;
    }

    .slider-section .slider-list .slider-area {
        min-height: 420px;
        height: 58vh;
    }

    .slider-section .slider-content h1 {
        font-size: 42px;
    }

    .slider-section .slider-content h2 {
        font-size: 36px;
    }

    .faq-area .dreamit-faq-thumb {
        margin-bottom: 28px;
    }
}

@media (max-width: 575px) {
    .slider-section .slider-list .slider-area {
        min-height: 360px;
        height: 52vh;
    }

    .slider-section .slider-content h1 {
        font-size: 30px;
    }

    .slider-section .slider-content h2 {
        font-size: 26px;
    }

    .slider-section .slider-content p {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
