﻿/* Global link underline removal */
a { text-decoration: none; }
a:hover { text-decoration: none; }

.nav-item {
        display: flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        white-space: nowrap !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        padding-top: 0.375rem !important;
        padding-bottom: 0.375rem !important;
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
        transition-duration: 300ms !important;
}

.nav-item:hover {
        --tw-text-opacity: 1 !important;
        color: rgb(0 82 204 / var(--tw-text-opacity, 1)) !important;
}

@media (min-width: 768px) {
.nav-item {
                font-size: 1.125rem !important;
                line-height: 1.75rem !important;
        }
}

.section-title {
        position: relative !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        font-size: 2.25rem !important;
        line-height: 2.5rem !important;
        font-weight: 700 !important;
}

.section-title::after {
        position: absolute !important;
        left: 50% !important;
        bottom: -8px !important;
        height: 0.5rem !important;
        width: 6rem !important;
        --tw-translate-x: -50% !important;
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
        --tw-bg-opacity: 1 !important;
        background-color: rgb(0 82 204 / var(--tw-bg-opacity, 1)) !important;
        --tw-content: '' !important;
        content: var(--tw-content) !important;
}

.nav-item .fa {
        color: #D92121 !important;
    }

.section-subtitle {
        margin-bottom: 2rem !important;
        text-align: center !important;
        font-size: 1.125rem !important;
        line-height: 1.75rem !important;
        --tw-text-opacity: 1 !important;
        color: rgb(75 85 99 / var(--tw-text-opacity, 1)) !important;
}

.card-hover {
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
}

.card-hover:hover {
        --tw-translate-y: -0.75rem;
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
        --tw-bg-opacity: 1;
        background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
        --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.btn-primary {
        border-radius: 0.375rem;
        --tw-bg-opacity: 1;
        background-color: rgb(0 82 204 / var(--tw-bg-opacity, 1));
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        --tw-text-opacity: 1;
        color: rgb(255 255 255 / var(--tw-text-opacity, 1));
        transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
}

.btn-primary:hover {
        --tw-bg-opacity: 1;
        background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.safe-bottom {
        padding-bottom: 5rem;
}

@media (min-width: 768px) {
.safe-bottom {
                padding-bottom: 0px;
        }
}

.intro-img {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
        width: 100%;
        border-radius: 0.5rem;
        object-fit: cover;
        --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.back-to-top {
            position: fixed;
            bottom: max(30px, env(safe-area-inset-bottom) + 20px);
            right: max(20px, env(safe-area-inset-right) + 10px);
            background-color: #D92121;
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 9999;
            -webkit-tap-highlight-color: transparent;
        }
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
.footer-nav{margin-bottom:12px;line-height:1.8;text-align: center;}
.footer-nav a{color:#2563eb;text-decoration:none;font-size:14px;font-weight:500;margin:0 6px}
.footer-nav a:hover{color:#1d4ed8;text-decoration:none}
@media (max-width: 768px) {
footer { margin-bottom: 60px !important; padding-bottom: 20px !important; }
            html { scroll-padding-top: 180px; }
            .section-title { font-size: 28px !important; }
            .section-subtitle { font-size: 15px !important; }
        }
        @media (max-width: 640px) {
            html { scroll-padding-top: 220px; }
        }

        * { box-sizing: border-box; }
        body {
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }
        img, svg {
            max-width: 100%;
            display: block;
        }

/* 客户评价区移动端单列显示（电脑端保持两列不变） */
@media (max-width: 767px) {
    .review-list { grid-template-columns: 1fr !important; }
    .review-list .text-grayText { overflow-wrap: anywhere; word-break: break-word; }
}

/* 首屏banner内边距：避让固定导航并保证文字上下间距（原Tailwind类未编译，padding失效）*/
.hero-banner { padding-top: 140px; padding-bottom: 56px; }
@media (min-width: 768px) {
    .hero-banner { padding-top: 180px; padding-bottom: 80px; }
}

/* banner文字重新设计：主标题+卖点卡片(图标+标题+详细描述)+公司介绍（桌面端三列，移动端单列）*/
.hero-title { font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-features { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; max-width: 64rem; margin-left: auto; margin-right: auto; }
.hero-feature { display: flex; align-items: flex-start; gap: 0.75rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.18); padding: 1rem 1.25rem; border-radius: 0.75rem; text-align: left; }
.hero-feature i { color: #fcd34d; font-size: 1.25rem; margin-top: 0.15rem; flex-shrink: 0; }
.hero-feature-text strong { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; }
.hero-feature-text span { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.hero-desc { max-width: 48rem; margin: 0 auto 2rem; font-size: clamp(0.9rem, 1.5vw, 1.05rem); line-height: 1.8; color: rgba(255,255,255,0.85); }
@media (min-width: 768px) {
    .hero-features { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* banner CTA按钮：图标+立即咨询+电话号码，整合为一个明显按钮 */
.hero-cta { display: inline-flex; align-items: center; gap: 1rem; background: linear-gradient(to right, #2563eb, #3b82f6, #06b6d4); color: #fff; font-weight: 700; font-size: 1.25rem; padding: 1.1rem 2.75rem; border-radius: 9999px; box-shadow: 0 20px 40px -12px rgba(0,0,0,0.3); text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; }
.hero-cta:hover { box-shadow: 0 20px 40px -8px rgba(59,130,246,0.55); transform: scale(1.05); }
.hero-cta .cta-icon { font-size: 1.4rem; animation: cta-pulse 2s ease-in-out infinite; }
.hero-cta .cta-phone { font-weight: 400; font-size: 1.1rem; color: rgba(255,255,255,0.92); border-left: 1px solid rgba(255,255,255,0.4); padding-left: 1rem; }
@keyframes cta-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (max-width: 767px) { .hero-cta { font-size: 1.05rem; padding: 0.9rem 1.75rem; gap: 0.65rem; } .hero-cta .cta-icon { font-size: 1.15rem; } .hero-cta .cta-phone { font-size: 0.95rem; padding-left: 0.65rem; } }
