/* ============================================================
   全局 CSS 变量（主题色）
   ============================================================ */
:root {
    --primary: #1a3b5d;
    --primary-light: #2a5a8a;
    --primary-dark: #0f263b;
    --secondary: #c9a845;
    --secondary-light: #e8d48f;
    --success: #2d8f5c;
    --info: #3b8c9e;
    --warning: #e6b42b;
    --danger: #c0392b;
    --light-bg: #f4f7fa;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --card-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   基础样式
   ============================================================ */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: #1e2a3a;
    line-height: 1.7;
}

a {
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--primary-light);
}

.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* ============================================================
   通用组件
   ============================================================ */
.card-custom {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    background: #fff;
}
.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: scale(1.02);
    color: #fff;
}

.btn-secondary-custom {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #1e2a3a;
}
.btn-secondary-custom:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    color: #1e2a3a;
}

/* 图标盒子（服务特点） */
.icon-box {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.icon-box-primary   { background: var(--primary); color: #fff; }
.icon-box-success   { background: var(--success); color: #fff; }
.icon-box-info      { background: var(--info); color: #fff; }
.icon-box-warning   { background: var(--warning); color: #1e2a3a; }
.icon-box-secondary { background: var(--secondary); color: #1e2a3a; }

/* 服务项目图标 */
.service-icon {
    width: 90px;
    height: 90px;
    line-height: 90px;
    font-size: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.service-icon:hover {
    transform: rotate(8deg) scale(1.05);
}
.service-icon-lg {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 32px;
}

/* 安全等级徽章 */
.badge-safety-low    { background: #e74c3c; color: #fff; }
.badge-safety-medium { background: #f39c12; color: #1e2a3a; }
.badge-safety-high   { background: #27ae60; color: #fff; }
.badge-safety-ultra  { background: var(--primary); color: #fff; }

/* 区块标题 */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.section-title i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* ============================================================
   幻灯片样式 - PC端
   ============================================================ */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #1a1a2e;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    text-align: left;
    color: #fff;
    z-index: 3;
    padding: 10px 5% 20px;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    position: relative;
    background: transparent;
}
.slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.slide-content h1 .highlight {
    color: #f39c12;
}
.slide-content p {
    font-size: 1.2rem;
    color: #eee;
    margin-bottom: 25px;
}

.slide-btn {
    display: inline-block;
    background: #f39c12;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.slide-btn:hover {
    transform: scale(1.05);
    color: #1a1a2e;
    text-decoration: none;
}

.slideshow-controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.dot.active {
    background: #e74c3c;
    border-color: #fff;
    transform: scale(1.2);
}

/* ============================================================
   PC端幻灯片响应式
   ============================================================ */
@media (max-width: 768px) {
    .slideshow-container {
        height: 400px;
    }
    .slide-content {
        padding: 50px 5% 15px;
        max-width: 90%;
    }
    .slide-content h1 {
        font-size: 2rem;
    }
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    .slide-btn {
        font-size: 0.95rem;
        padding: 10px 24px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .slideshow-container {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16 / 9;
        background: #1a1a2e;
    }
    
    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slide-image {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        background: #1a1a2e;
    }
    
    .slide-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1;
    }
    
    .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0.8rem 1.2rem;
        width: 85%;
        max-width: 300px;
        background: transparent;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-left: none;
        text-align: left;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
        z-index: 3;
    }
    
    .slide-content h1 {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
    }
    
    .slide-content h1:empty {
        display: none;
    }
    
    .slide-content p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.4;
    }
    
    .slide-content p:empty {
        display: none;
    }
    
    .slide-content .slide-btn {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
        border-radius: 50px;
        background: #f39c12;
        border-color: #f39c12;
        color: #1a1a2e;
        font-weight: 600;
        display: inline-block;
        margin-top: 4px;
        text-decoration: none;
    }
    
    .slide-content .slide-btn:hover {
        background: #e67e22;
        transform: scale(1.05);
        color: #1a1a2e;
        text-decoration: none;
    }
    
    .slideshow-controls {
        bottom: 10px;
        gap: 8px;
        z-index: 10;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        border: 2px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .dot.active {
        background: #f39c12;
        border-color: #fff;
        transform: scale(1.2);
    }
}

@media (max-width: 420px) {
    .slideshow-container {
        aspect-ratio: 16 / 9;
        min-height: 160px;
    }
    
    .slide-content {
        padding: 0.6rem 0.8rem;
        max-width: 88%;
    }
    
    .slide-content h1 {
        font-size: 1.1rem;
    }
    
    .slide-content p {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .slide-content .slide-btn {
        font-size: 0.6rem;
        padding: 0.2rem 0.8rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
    
    .slideshow-controls {
        bottom: 6px;
        gap: 6px;
    }
}

@media (max-width: 360px) {
    .slideshow-container {
        aspect-ratio: 16 / 9;
        min-height: 140px;
    }
    
    .slide-content {
        padding: 0.4rem 0.6rem;
        max-width: 90%;
        border-radius: 0;
    }
    
    .slide-content h1 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    
    .slide-content p {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    .slide-content .slide-btn {
        font-size: 0.55rem;
        padding: 0.15rem 0.6rem;
    }
}

/* ============================================================
   ★★★ 手机端独立幻灯片 (#mobileSlider) - 透明背景 + 居中 ★★★
   ============================================================ */
@media (max-width: 767.98px) {
    #mobileSlider {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16 / 9;
        background: #1a1a2e;
    }
    
    #mobileSlider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #mobileSlider .slide-image {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        background: #1a1a2e;
    }
    
    #mobileSlider .slide-overlay {
        display: none;
    }
    
    #mobileSlider .slide-content {
        position: absolute;
        top: 20%;
        left: 40%;
        transform: translate(-50%, -50%);
        padding: 0.6rem 1rem;
        width: 85%;
        max-width: 320px;
        background: transparent;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-left: none;
        text-align: left;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
        z-index: 3;
        display: none;
    }
    
    #mobileSlider .slide-content.has-content {
        display: block;
    }
    
    #mobileSlider .slide-content h1 {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
    }
    
    #mobileSlider .slide-content h1.empty {
        display: none;
    }
    
    #mobileSlider .slide-content p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.4;
    }
    
    #mobileSlider .slide-content p.empty {
        display: none;
    }
    
    #mobileSlider .slide-content .slide-btn {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
        border-radius: 50px;
        background: #f39c12;
        border-color: #f39c12;
        color: #1a1a2e;
        font-weight: 600;
        display: inline-block;
        margin-top: 4px;
        text-decoration: none;
    }
    
    #mobileSlider .slide-content .slide-btn:hover {
        background: #e67e22;
        transform: scale(1.05);
        color: #1a1a2e;
        text-decoration: none;
    }
    
    #mobileSlider .slideshow-controls {
        bottom: 10px;
        gap: 8px;
        z-index: 10;
    }
    
    #mobileSlider .dot {
        width: 10px;
        height: 10px;
        border: 2px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.2);
    }
    
    #mobileSlider .dot.active {
        background: #f39c12;
        border-color: #fff;
        transform: scale(1.2);
    }
}

@media (max-width: 480px) {
    #mobileSlider .slide-content {
        padding: 0.5rem 0.8rem;
        max-width: 88%;
    }
    
    #mobileSlider .slide-content h1 {
        font-size: 1.1rem;
    }
    
    #mobileSlider .slide-content p {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    
    #mobileSlider .slide-content .slide-btn {
        font-size: 0.6rem;
        padding: 0.2rem 0.8rem;
    }
    
    #mobileSlider .dot {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
}

@media (max-width: 360px) {
    #mobileSlider .slide-content {
        padding: 0.4rem 0.6rem;
        max-width: 90%;
    }
    
    #mobileSlider .slide-content h1 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    
    #mobileSlider .slide-content p {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    #mobileSlider .slide-content .slide-btn {
        font-size: 0.55rem;
        padding: 0.15rem 0.6rem;
    }
}

/* ============================================================
   页脚友情链接
   ============================================================ */
.friend-link {
    color: #adb5bd;
    transition: var(--transition);
}
.friend-link:hover {
    color: #fff;
    text-decoration: none;
}

.price-card .card-header {
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-area-list {
    list-style: none;
    padding-left: 0;
}
.service-area-list li::before {
    content: "•";
    color: var(--secondary);
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}

.map-placeholder {
    background-color: #e9ecef;
    text-align: center;
    padding: 2rem;
    border-radius: var(--card-radius);
}

/* ============================================================
   登录页面样式
   ============================================================ */
body.login-page {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    max-width: 400px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-card .card-body {
    padding: 2rem;
}
.login-logo {
    font-size: 2.5rem;
    color: #0d6efd;
}

/* ============================================================
   后台管理样式
   ============================================================ */
body.admin-body {
    font-size: 0.95rem;
    background-color: #f0f2f5;
}

.sidebar {
    background: #1e2a3a;
    min-height: 100vh;
}
.sidebar .nav-link {
    color: #ced4da;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 0;
    transition: var(--transition);
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: #0d6efd;
}
.sidebar .nav-link i {
    width: 22px;
    margin-right: 12px;
}

.main-content {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 2rem;
}

.card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.table th, .table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.btn { font-size: 0.9rem; }
.form-label { font-weight: 500; }

.thumb-slide {
    width: 80px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.btn-sidebar-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1060;
    background: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border-color: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) {
    .btn-sidebar-toggle {
        display: none !important;
    }
}

/* ============================================================
   后台移动端适配
   ============================================================ */
@media (max-width: 767.98px) {
    #sidebarMenu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 280px;
        z-index: 1050;
        overflow-y: auto;
        background: #1e2a3a;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding-top: 60px;
        min-height: auto !important;
        display: block !important;
    }
    #sidebarMenu.show {
        transform: translateX(0);
    }
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }
    .sidebar-backdrop.show {
        display: block;
    }
    .main-content {
        padding-top: 70px;
    }

    .table-responsive .table {
        display: block;
        width: 100%;
    }
    .table-responsive .table thead {
        display: none;
    }
    .table-responsive .table tbody,
    .table-responsive .table tr {
        display: block;
        width: 100%;
    }
    .table-responsive .table tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 0.5rem;
        background: #fff;
    }
    .table-responsive .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
        white-space: normal;
        word-break: break-word;
    }
    .table-responsive .table td:last-child {
        border-bottom: none;
    }
    .table-responsive .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    .card-body .table {
        display: table;
        width: 100%;
        overflow-x: visible;
    }
    .btn-toolbar .btn {
        margin-bottom: 4px;
    }
}

/* ============================================================
   响应式微调（前台）
   ============================================================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.4rem;
    }
    .icon-box {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }
    .service-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 28px;
    }
}

/* ============================================================
   手机端服务区域优化
   ============================================================ */
@media (max-width: 767.98px) {
    #service-area .row.g-4 > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 1.25rem;
    }
    #service-area .row.g-4 {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    #service-area .row.g-4 > [class*="col-"]:not(:last-child) {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }
    #service-area .mt-4.pt-3 {
        margin-top: 1.5rem !important;
        padding-top: 1.25rem !important;
        border-top: 1px solid #dee2e6 !important;
    }
    #service-area .bg-light {
        padding: 1.5rem 1rem !important;
    }
    #service-area h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    #service-area ul li {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
}

/* ============================================================
   页脚样式
   ============================================================ */
.footer-new {
    background: #1f2937;
    color: #e8e8e8;
    padding: 20px 200px 20px;
    margin-top: auto;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
.footer-new .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr 1.2fr;
    gap: 32px;
    padding: 10px 0 30px;
}
.footer-new .section-title-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
.footer-new .section-title-wrapper .section-title {
    margin-bottom: 0;
    border-left: 3px solid #c9a84c;
    padding-left: 12px;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}
.footer-new .section-title-wrapper .section-title i {
    margin-right: 8px;
    color: #c9a84c;
}
.footer-new .title-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    border: 0;
    opacity: 0.5;
    width: 70%;
    margin-top: 6px;
}
.footer-new .about-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.7;
    padding: 2px 0;
}
.footer-new .about-text i {
    color: #c9a84c;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}
.footer-new .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-right: 6px;
}
.footer-new .badge.bg-primary {
    background: #3b82f6;
    color: #fff;
}
.footer-new .badge.bg-success {
    background: #22c55e;
    color: #fff;
}
.footer-new .badge.bg-info {
    background: #06b6d4;
    color: #fff;
}
.footer-new .mt-3 {
    margin-top: 12px;
}
.footer-new .qual-list,
.footer-new .service-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 0;
    margin: 0;
}
.footer-new .qual-list li,
.footer-new .service-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #ffffff;
    padding: 5px 0;
    line-height: 1.6;
}
.footer-new .qual-list li i,
.footer-new .service-list li i {
    color: #c9a84c;
    font-size: 16px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.footer-new .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.5;
}
.footer-new .contact-item i {
    width: 22px;
    color: #c9a84c;
    font-size: 16px;
    text-align: center;
    flex-shrink: 0;
}
.footer-new .contact-item a {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-new .contact-item a:hover {
    color: #c9a84c;
}
.footer-new .footer-bottom {
    padding-top: 12px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.footer-new .footer-top-divider,
.footer-new .friend-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    border: 0;
    opacity: 0.5;
}
.footer-new .footer-top-divider {
    width: 100%;
    margin-bottom: 12px;
}
.footer-new .friend-divider {
    width: 100%;
    margin: 8px 0 12px;
}
.footer-new .friend-title {
    font-size: 30px;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 4px;
    font-weight: 500;
}
.footer-new .friend-title span {
    color: #c9a84c;
}
.footer-new .bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    align-items: center;
}
.footer-new .bottom-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 0.5px;
    transition: color 0.25s;
    position: relative;
}
.footer-new .bottom-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #c9a84c;
    transition: width 0.3s;
}
.footer-new .bottom-links a:hover {
    color: #ffffff;
}
.footer-new .bottom-links a:hover::after {
    width: 100%;
}
.footer-new .bottom-links .divider {
    color: #3a3a4a;
    user-select: none;
}
.footer-new .copyright {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-align: center;
    margin-top: 4px;
}
.footer-new .copyright .gold {
    color: #c9a84c;
}
.footer-new .copyright #runTime {
    color: #c9a84c;
    font-weight: 600;
}

/* ============================================================
   页脚响应式
   ============================================================ */
@media (max-width: 1024px) {
    .footer-new {
        padding: 36px 32px 18px;
    }
    .footer-new .footer-main {
        gap: 28px;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-new .about-col {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    .footer-new .qual-col {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-new .service-col {
        grid-column: 2;
        grid-row: 2;
    }
    .footer-new .contact-col {
        grid-column: 3;
        grid-row: 2;
    }
}

@media (max-width: 820px) {
    .footer-new .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-new .about-col {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .footer-new .qual-col {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-new .service-col {
        grid-column: 2;
        grid-row: 2;
    }
    .footer-new .contact-col {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

@media (max-width: 600px) {
    .footer-new {
        padding: 28px 18px 16px;
        padding-bottom: 20px;
    }
    .footer-new .footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 10px 0 18px;
    }
    .footer-new .about-text,
    .footer-new .qual-list li,
    .footer-new .service-list li,
    .footer-new .contact-item {
        font-size: 15px;
    }
    .footer-new .bottom-links a {
        font-size: 14px;
    }
    .footer-new .about-col,
    .footer-new .qual-col,
    .footer-new .service-col,
    .footer-new .contact-col {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 400px) {
    .footer-new .bottom-links {
        flex-direction: column;
        gap: 4px;
    }
    .footer-new .bottom-links .divider {
        display: none;
    }
}

/* ============================================================
   ★★★ 导航固定样式 - 修复手机端顶部空白 ★★★
   ============================================================ */

/* ===== 顶部信息栏 ===== */
.top-bar {
    position: relative;
    z-index: 1030;
    transition: all 0.3s ease;
}

/* ===== 主导航：默认正常定位 ===== */
.navbar-fixed {
    position: relative;
    z-index: 1020;
    background: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 60px;
    width: 100%;
}

/* ===== 导航固定状态（滚动到顶部后触发） ===== */
.navbar-fixed.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    animation: slideDown 0.4s ease;
}

/* 固定后顶部信息栏隐藏 */
.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

/* 固定后 body 留白 */
body.has-fixed-nav {
    padding-top: 60px;
}

/* 固定后顶部信息栏占位消失 */
body.has-fixed-nav .top-bar {
    display: none;
}

/* 下划线动画 */
.navbar-fixed .navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}
.navbar-fixed .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: #0d6efd;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.navbar-fixed .navbar-nav .nav-link:hover::after,
.navbar-fixed .navbar-nav .nav-link.active::after {
    width: 60%;
}
.navbar-fixed .navbar-nav .nav-link.active {
    color: #0d6efd !important;
}

/* ===== 品牌Logo ===== */
.navbar-fixed .navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    padding: 4px 0;
}
.navbar-fixed .navbar-brand i {
    color: #0d6efd;
}

/* ===== 滑入动画 ===== */
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   ★★★ 手机端导航修复 - 无顶部空白 ★★★
   ============================================================ */
@media (max-width: 991.98px) {
    /* 顶部信息栏隐藏 */
    .top-bar {
        display: none !important;
    }
    
    /* 导航菜单样式 */
    .navbar-fixed .navbar-collapse {
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        padding: 10px 0;
        background: #fff;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .navbar-fixed .navbar-nav .nav-link {
        padding: 10px 15px;
        border-bottom: 1px solid #f1f3f5;
    }
    
    .navbar-fixed .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-fixed .navbar-nav .nav-link.active {
        background: #e8f0fe;
        border-radius: 8px;
        color: #0d6efd !important;
    }
    
    .navbar-fixed .navbar-brand {
        font-size: 1rem;
    }
    
    /* ✅ 关键修复：导航始终固定在顶部，无 padding-top */
    .navbar-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        min-height: 56px;
    }
    
    /* ✅ body 不需要额外的 padding-top，因为导航已经覆盖了内容 */
    body {
        padding-top: 0 !important;
    }

    /* ✅ 幻灯片容器在手机端需要额外 padding-top */
    .slideshow-container {
        margin-top: 0;
    }
}

/* 小屏手机适配 */
@media (max-width: 576px) {
    .navbar-fixed {
        min-height: 52px;
    }
    .navbar-fixed .navbar-brand {
        font-size: 0.9rem;
    }
    .navbar-fixed .navbar-toggler {
        padding: 4px 8px;
        font-size: 0.9rem;
    }
    .navbar-fixed .container {
        padding-top: 2px;
        padding-bottom: 2px;
    }
}

/* ============================================================
   PC端初始状态（顶部信息栏可见）
   ============================================================ */
@media (min-width: 992px) {
    body {
        padding-top: 0 !important;
    }
    #page-content {
        padding-top: 0;
    }
    /* PC端导航不是固定定位 */
    .navbar-fixed {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }
}

/* ============================================================
   ★★★ 浮动电话按钮 ★★★
   ============================================================ */
.floating-phone {
    display: none !important;
}

@media (max-width: 767.98px) {
    .floating-phone {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 10px 16px 12px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12) !important;
    }
    .floating-phone .btn {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        padding: 14px 20px !important;
        border-radius: 50px !important;
        letter-spacing: 0.5px !important;
        width: 100% !important;
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
        border: none !important;
        color: #fff !important;
        box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4) !important;
        animation: phonePulse 2s ease-in-out infinite !important;
    }
    .floating-phone .btn:hover,
    .floating-phone .btn:focus,
    .floating-phone .btn:active {
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
        color: #fff !important;
        border: none !important;
    }
    .floating-phone .btn .badge {
        font-size: 0.65rem !important;
        padding: 3px 10px !important;
        border-radius: 50px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #16a34a !important;
        font-weight: 700 !important;
    }
    @keyframes phonePulse {
        0% { box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4) !important; }
        50% { box-shadow: 0 4px 30px rgba(34, 197, 94, 0.7) !important; }
        100% { box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4) !important; }
    }
    .floating-phone .btn:active {
        transform: scale(0.96) !important;
    }
    body {
        padding-bottom: 80px !important;
    }
    .floating-phone.hide {
        transform: translateY(100%) !important;
        opacity: 0 !important;
        transition: all 0.3s ease !important;
    }
    .floating-phone.show {
        transform: translateY(0) !important;
        opacity: 1 !important;
        transition: all 0.3s ease !important;
    }
}

@media (max-width: 576px) {
    .floating-phone {
        padding: 8px 12px 10px !important;
    }
    .floating-phone .btn {
        font-size: 0.95rem !important;
        padding: 12px 16px !important;
    }
    .floating-phone .btn .badge {
        font-size: 0.55rem !important;
        padding: 2px 8px !important;
    }
    body {
        padding-bottom: 72px !important;
    }
}

@media (max-width: 400px) {
    .floating-phone .btn {
        font-size: 0.85rem !important;
        padding: 10px 12px !important;
    }
    body {
        padding-bottom: 64px !important;
    }
}

body.admin-body .floating-phone,
body.login-page .floating-phone {
    display: none !important;
}

/* 手机端"我们的地盘"街道文字统一调大 */
@media (max-width: 776px) {
    #service-area .col-6 ul {
        font-size: 0.9rem !important;
    }
    #service-area .col-6 ul li {
        font-size: 1.1rem !important;
        line-height: 2 !important;
    }
}

/* ============================================================
   ★★★ 产品占位图样式 ★★★
   ============================================================ */
.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #adb5bd;
    font-size: 3rem;
    min-height: 150px;
    border-radius: 8px;
}

/* ============================================================
   ★★★ 后台表格图片占位 ★★★
   ============================================================ */
.table-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f3f5;
    border-radius: 4px;
    color: #adb5bd;
    font-size: 1.2rem;
}