/* 覆盖通用内容样式配色 */
:root {
    --content-primary: #ea580c;
    --content-primary-dark: #c2410c;
    --content-primary-light: #fb923c;
}

/* ============================================================
   分站模板2 - 活力橙红风
   特点：橙色主色、圆角设计、深色页脚、渐变CTA
   ============================================================ */

:root {
    --tpl2-primary: #ea580c;
    --tpl2-primary-dark: #c2410c;
    --tpl2-primary-light: #fb923c;
    --tpl2-accent: #f97316;
    --tpl2-text: #1f2937;
    --tpl2-text-light: #6b7280;
    --tpl2-bg: #ffffff;
    --tpl2-bg-gray: #f9fafb;
    --tpl2-border: #e5e7eb;
    --tpl2-footer-bg: #1f2937;
    --tpl2-footer-text: #d1d5db;
    --tpl2-radius: 12px;
    --tpl2-shadow: 0 4px 20px rgba(234, 88, 12, 0.1);
}

* { 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;
    color: var(--tpl2-text);
    background: var(--tpl2-bg);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.tpl2-container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
}

/* ---------- 导航栏 ---------- */
.tpl2-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tpl2-header .tpl2-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.tpl2-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tpl2-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--tpl2-primary), var(--tpl2-accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.tpl2-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--tpl2-text);
}

.tpl2-logo-text span {
    color: var(--tpl2-primary);
}

/* 导航 */
.tpl2-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tpl2-nav > a,
.tpl2-nav-dropdown > a {
    padding: 10px 16px;
    color: var(--tpl2-text);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.tpl2-nav > a:hover,
.tpl2-nav-dropdown > a:hover {
    color: var(--tpl2-primary);
    background: rgba(234, 88, 12, 0.08);
}

.tpl2-nav > a.active,
.tpl2-nav-dropdown > a.active {
    color: var(--tpl2-primary);
    background: rgba(234, 88, 12, 0.1);
}

.tpl2-nav-dropdown {
    position: relative;
}

.tpl2-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 100;
}

.tpl2-nav-dropdown:hover .tpl2-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tpl2-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--tpl2-text);
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.tpl2-dropdown-menu a:hover {
    background: rgba(234, 88, 12, 0.08);
    color: var(--tpl2-primary);
}

/* 右侧电话按钮 */
.tpl2-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tpl2-phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--tpl2-primary), var(--tpl2-accent));
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.tpl2-phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.tpl2-phone-icon {
    font-size: 18px;
}

.tpl2-phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tpl2-phone-text small {
    font-size: 11px;
    opacity: 0.9;
}

.tpl2-phone-text strong {
    font-size: 15px;
    font-weight: 700;
}

.tpl2-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--tpl2-text);
}

/* ---------- 页面Banner ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--tpl2-primary), var(--tpl2-accent));
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
    text-decoration: underline;
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--tpl2-text);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 16px;
    color: var(--tpl2-text-light);
}

/* ---------- 按钮 ---------- */
.tpl2-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.tpl2-btn-white {
    background: #fff;
    color: var(--tpl2-primary);
}

.tpl2-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tpl2-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.tpl2-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* ---------- CTA区域 ---------- */
.tpl2-cta {
    background: linear-gradient(135deg, var(--tpl2-primary), var(--tpl2-accent));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.tpl2-cta::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.tpl2-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.tpl2-cta-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.tpl2-cta-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.tpl2-cta-buttons {
    display: flex;
    gap: 16px;
}

/* ---------- 页脚 ---------- */
.tpl2-footer {
    background: var(--tpl2-footer-bg);
    color: var(--tpl2-footer-text);
    padding: 60px 0 0;
}

.tpl2-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tpl2-footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin: 16px 0;
    color: #9ca3af;
}

.tpl2-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.tpl2-contact-icon {
    width: 28px;
    height: 28px;
    background: rgba(234, 88, 12, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.tpl2-footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.tpl2-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--tpl2-primary);
    border-radius: 2px;
}

.tpl2-footer-col ul li {
    margin-bottom: 10px;
}

.tpl2-footer-col ul li a {
    font-size: 14px;
    color: #9ca3af;
    transition: color 0.2s;
}

.tpl2-footer-col ul li a:hover {
    color: var(--tpl2-primary-light);
}

/* 分站声明 */
.tpl2-footer-notice {
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.tpl2-footer-notice-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--tpl2-primary-light);
    margin-bottom: 10px;
}

.tpl2-footer-notice p {
    font-size: 13px;
    line-height: 1.8;
    color: #9ca3af;
    margin-bottom: 8px;
}

.tpl2-footer-notice p:last-child {
    margin-bottom: 0;
}

.tpl2-footer-notice strong {
    color: var(--tpl2-primary-light);
}

/* 底部版权 */
.tpl2-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: #6b7280;
}

.tpl2-footer-bottom a {
    color: #9ca3af;
    transition: color 0.2s;
}

.tpl2-footer-bottom a:hover {
    color: var(--tpl2-primary-light);
}

.tpl2-footer-links {
    display: flex;
    gap: 20px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .tpl2-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .tpl2-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .tpl2-nav.show {
        display: flex;
    }

    .tpl2-mobile-toggle {
        display: block;
    }

    .tpl2-phone-text {
        display: none;
    }

    .tpl2-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .tpl2-footer-grid {
        grid-template-columns: 1fr;
    }

    .tpl2-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .page-banner h1 {
        font-size: 28px;
    }
}




/* Footer Logo 颜色修复（深色背景上使用浅色文字） */
.tpl2-footer .tpl2-logo-text { color: #fff; }
.tpl2-footer .tpl2-logo-text span { color: #fb923c; }
.tpl2-footer .tpl2-logo-icon { background: rgba(255,255,255,0.15); color: #fb923c; }


/* Page Banner 文字颜色修复（确保文字和背景对比度） */
.page-banner h1 { color: #fff !important; }
.page-banner p { color: rgba(255,255,255,0.95) !important; }
.page-banner .breadcrumb { color: rgba(255,255,255,0.9) !important; }
.page-banner .breadcrumb a { color: #fff !important; }
