/* ============================================================
   山东洽濡文化传媒有限公司官网全局样式表
   ============================================================
   配色方案（三段式明暗节奏：深色Hero → 浅色正文 → 深色页脚）：
   主色    深蓝黑 #0F1B33（导航/Hero/页脚/深色块）
   辅助色  暖金   #C9A45C（标题强调线/点缀边框）
   点缀色  活力橙 #FF7A45（CTA按钮/高亮）
   枣红    枣红   #8B2D3A（logo元素/品牌强调/页脚装饰线）
   正文背景 #FFFFFF / 浅灰 #F7F7FA
   文字    深色 #1A1A2E / 浅灰 #B3B3B3
   说明：本文件包含网站全部样式（前台 + 后台），现代、专业、有电影感。
   ============================================================ */

/* ---------- 嵌入字体库（首页轮播 hero 文字可选字体，后台下拉所见即所得） ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@300;400;600&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&family=Lato:wght@300;400;700&family=Poppins:wght@300;400;500&family=Roboto:wght@300;400;500&display=swap');

/* ---------- 全局基础样式 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* 页面内锚点平滑滚动 */
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #1A1A2E;
    background: #FFFFFF;
    line-height: 1.7;
    /* 页面加载淡入动画（仅 opacity，避免 transform 残留导致 fixed 失效） */
    animation: pageFadeIn 0.6s ease both;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* 通用容器：让内容居中并限制最大宽度 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-light {
    background: #F7F7FA;
}

.section-dark {
    background: #0F1B33;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #0F1B33;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-title p {
    color: #B3B3B3;
    max-width: 640px;
    margin: 0 auto;
    font-size: 15px;
}

.section-title .title-line {
    width: 60px;
    height: 3px;
    background: #C9A45C; /* 辅助色暖金标题强调线 */
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-title.light h2 {
    color: #fff;
}

.section-title.light p {
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   顶部导航栏
   ============================================================ */
.site-header {
    position: sticky;      /* 吸顶固定 */
    top: 0;
    z-index: 1000;
    background: rgba(15, 27, 51, 0.92); /* 深蓝黑半透明 */
    backdrop-filter: blur(10px);         /* 毛玻璃效果 */
    border-bottom: 1px solid rgba(201, 164, 92, 0.25);
    transition: background 0.4s, box-shadow 0.4s;
}

/* 滚动后加深（由 main.js 添加 .scrolled） */
.site-header.scrolled {
    background: rgba(15, 27, 51, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo（枣红底金字） */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: #8B2D3A;   /* 枣红 */
    color: #C9A45C;        /* 暖金 */
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* 导航菜单 */
.main-nav .nav-list {
    display: flex;
    gap: 4px;
}

.main-nav .nav-list > li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 10px 16px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    transition: all 0.3s;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(201, 164, 92, 0.15);
}

.main-nav a.active {
    color: #C9A45C; /* 当前页高亮为暖金 */
    font-weight: 600;
}

/* 子菜单箭头 */
.main-nav .arrow {
    font-size: 11px;
    margin-left: 2px;
    opacity: 0.8;
}

/* 子菜单（默认隐藏，PC 悬停 / 移动端点开显示） */
.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #0F1B33;
    border: 1px solid rgba(201, 164, 92, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.main-nav .sub-menu a {
    padding: 10px 20px;
    border-radius: 0;
    white-space: nowrap;
    font-size: 14px;
}

.main-nav .sub-menu a:hover {
    background: rgba(201, 164, 92, 0.18);
    color: #C9A45C;
    padding-left: 24px;
}

/* PC 端：悬停展开子菜单 */
@media (min-width: 901px) {
    .main-nav .has-sub:hover .sub-menu {
        display: block;
        animation: subFadeIn 0.25s ease;
    }
}

@keyframes subFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 移动端菜单按钮（默认隐藏，手机上显示） */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   首页 Hero（深色大视觉）
   ============================================================ */
.hero {
    background: linear-gradient(rgba(15, 27, 51, 0.72), rgba(15, 27, 51, 0.72)), url('../uploads/hero/hero.jpg') center/cover no-repeat fixed;
    color: #fff;
    text-align: center;
    padding: 130px 20px 150px;
    position: relative;
    overflow: hidden;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 几何装饰：大圆环 + 金色光斑 + 网格点阵，模拟电影感背景 */
.hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(201, 164, 92, 0.25);
    box-shadow: 0 0 0 60px rgba(201, 164, 92, 0.06), 0 0 0 120px rgba(201, 164, 92, 0.03);
}

.hero::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 69, 0.18) 0%, transparent 70%);
}

.hero .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero .hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(201, 164, 92, 0.5);
    border-radius: 30px;
    color: #C9A45C;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 span {
    color: #C9A45C;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 680px;
    margin: 0 auto 40px;
}

.hero .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero 定位语（品牌标语下方的一句话定位） */
.hero p.hero-position {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 720px;
    margin: -24px auto 40px;
    line-height: 1.8;
}

/* 向下滚动引导箭头（明显化：放大 + 加亮 + 持续浮动/渐隐 + 光晕描边） */
.scroll-down {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 20px rgba(255, 255, 255, 0.65),
        0 0 36px rgba(255, 255, 255, 0.35);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
    animation: bounceDown 1.6s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.4; }
    50%      { transform: translate(-50%, 16px); opacity: 1; }
}

/* ============================================================
   首页 Hero 全屏轮播（后台可配：hero_slides / hero_main_title /
   hero_subtitle / hero_font）——参考 timeaxis.com.cn 简约高端风格
   ============================================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    overflow: hidden;
    padding: 0;
    display: block;
    background: #0a0e1a;
}

/* 媒体层铺满全屏 */
.hero-slider .hero-slides,
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 单张轮播项：默认透明，激活时直接显示（硬切，无叠化过渡） */
.hero-slider .slide {
    opacity: 0;
    z-index: 0;
}
.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

/* 图片背景 */
.hero-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 视频背景 */
.hero-slider .slide-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 深色渐变遮罩（保证文字可读） */
.hero-slider .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, rgba(10, 14, 26, 0.72) 0%, rgba(10, 14, 26, 0.35) 55%, rgba(10, 14, 26, 0.55) 100%);
    pointer-events: none;
}

/* 居左文字（参照 timeaxis.com.cn：主标题距左约 20%、距顶约 35%，英文/副标/按钮依次向下排列） */
.hero-slider .hero-text {
    position: absolute;
    left: 20%;
    top: 35%;
    z-index: 3;
    max-width: 720px;
    text-align: left;
    color: #fff;
}

.hero-slider .hero-text h1 {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 14px;
}

/* 英文标题（主标题下方，字号介于主副标题之间，细体） */
.hero-slider .hero-text .hero-title-en {
    font-family: 'Montserrat', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 3px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 18px;
}

.hero-slider .hero-text .hero-subtitle {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 21px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 40px;
}

/* 「查看详情」按钮：红色圆角矩形实底、白色文字、胶囊形（参照参考站放大 1.5~2 倍） */
.hero-slider .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #D70A18;   /* 参考站红 rgb(215,10,24) */
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;
    padding: 0 48px;
    height: 68px;
    line-height: 68px;
    border-radius: 68px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(215, 10, 24, 0.4);
}

.hero-slider .hero-btn:hover {
    background: #f01b2a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(215, 10, 24, 0.55);
}

/* 轮播态大 Logo（首页纯轮播状态：左上角两倍大小，贴近角落距左/顶约 2.5%） */
.hero-logo {
    position: absolute;
    left: 2.5%;
    top: 2.5%;
    z-index: 5;
    display: block;
    opacity: 1;
    padding: 0;
    margin: 0;
    line-height: 0;
    transition: opacity 0.4s ease;
}
.hero-logo img {
    height: 8vh;
    min-height: 56px;
    max-height: 110px;
    width: auto;
    display: block;
}
/* 滚动出现页眉后隐藏轮播态大 Logo（由 main.js 切换 body.scrolled） */
.page-home.scrolled .hero-logo {
    opacity: 0;
    pointer-events: none;
}

/* 首页（index.php）轮播态页眉逻辑：
   首屏不显示页眉（透明隐藏、轮播全屏铺满），点击查看详情或下滑后页眉淡入吸顶 */
.page-home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.45s ease, opacity 0.45s ease, background 0.4s ease;
    pointer-events: none;
}
.page-home .site-header.scrolled {
    opacity: 1;
    transform: translateY(0);
    background: rgba(15, 27, 51, 0.92);
    border-bottom: 1px solid rgba(201, 164, 92, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

/* 切换指示点 */
.hero-slider .hero-dots {
    position: absolute;
    left: 79px;
    bottom: 64px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-slider .hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider .hero-dot.active {
    background: #8B2D3A;
    width: 26px;
    border-radius: 6px;
}

.hero-slider .scroll-down {
    z-index: 3;
}

/* 移动端响应式：文字缩小、按钮自适应、留白减少 */
@media (max-width: 768px) {
    .hero-slider .hero-text {
        left: 24px;
        right: 24px;
        top: 40%;
        transform: translateY(-50%);
        max-width: none;
    }
    .hero-slider .hero-text h1 {
        font-size: 26px;
    }
    .hero-slider .hero-text .hero-title-en {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }
    .hero-slider .hero-text .hero-subtitle {
        font-size: 16px;
        margin-bottom: 26px;
    }
    .hero-slider .hero-btn {
        height: 52px;
        line-height: 52px;
        padding: 0 32px;
        font-size: 18px;
    }
    .hero-slider .hero-dots {
        left: 24px;
        bottom: 56px;
    }
    .hero-logo {
        left: 2.5%;
        top: 2.5%;
    }
    .hero-logo img {
        height: 7vh;
        min-height: 44px;
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .hero-slider .hero-text h1 {
        font-size: 22px;
    }
    .hero-slider .hero-text .hero-title-en {
        font-size: 15px;
        letter-spacing: 1px;
    }
    .hero-slider .hero-text .hero-subtitle {
        font-size: 14px;
    }
    .hero-slider .hero-btn {
        height: 46px;
        line-height: 46px;
        padding: 0 26px;
        font-size: 16px;
    }
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #FF7A45;   /* 活力橙 CTA */
    color: #0F1B33;
}

.btn-primary:hover {
    background: #ff8d5e;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 122, 69, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: #C9A45C;
    color: #C9A45C;
    transform: translateY(-2px);
}

.btn-gold {
    background: #C9A45C;
    color: #0F1B33;
}

.btn-gold:hover {
    background: #d6b36f;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(201, 164, 92, 0.35);
}

/* ============================================================
   业务板块卡片（首页 + 业务页）
   ============================================================ */
.business-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.business-card {
    background: #fff;
    border-radius: 12px;
    padding: 0 0 28px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(15, 27, 51, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s; /* 悬停上浮 + 金色边框高亮 */
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.14);
    border-color: #C9A45C;
}

/* 业务卡片顶部缩略图（对应业务实拍图） */
.business-card .biz-thumb {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.business-card .biz-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .biz-thumb img {
    transform: scale(1.07);
}

.business-card .biz-body {
    padding: 28px 24px 0;
}

.business-card .biz-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #0F1B33, #1d3053);
    color: #C9A45C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: all 0.3s;
}

.business-card:hover .biz-icon {
    background: linear-gradient(135deg, #8B2D3A, #0F1B33);
    transform: scale(1.06);
}

.business-card h3 {
    color: #0F1B33;
    margin-bottom: 10px;
    font-size: 17px;
}

.business-card p {
    color: #B3B3B3;
    font-size: 13px;
    margin-bottom: 16px;
    min-height: 40px;
}

.business-card .biz-link {
    color: #FF7A45;
    font-weight: 600;
    font-size: 14px;
}

.business-card .biz-link:hover {
    color: #0F1B33;
}

/* ============================================================
   案例卡片（网格）
   ============================================================ */
.case-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.case-filter .filter-btn {
    padding: 9px 22px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.case-filter .filter-btn:hover {
    border-color: #C9A45C;
    color: #0F1B33;
}

.case-filter .filter-btn.active {
    background: #0F1B33;
    color: #fff;
    border-color: #0F1B33;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 27, 51, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s; /* 悬停上浮 + 阴影加深 + 金色边框 */
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.16);
    border-color: #C9A45C;
}

.case-card .case-cover {
    height: 200px;
    background: linear-gradient(135deg, #0F1B33, #1d3053);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A45C;
    font-size: 40px;
    overflow: hidden;
    position: relative;
}

/* 封面渐变占位装饰 */
.case-card .case-cover::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid rgba(201, 164, 92, 0.3);
}

.case-card .case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card .case-body {
    padding: 22px;
}

.case-card .case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.case-card .case-tag {
    display: inline-block;
    background: #F7F7FA;
    color: #8B2D3A;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(139, 45, 58, 0.25);
}

.case-card .case-client {
    color: #B3B3B3;
    font-size: 13px;
}

.case-card .case-body h3 {
    color: #0F1B33;
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.case-card .case-body p {
    color: #777;
    font-size: 14px;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-card .case-link {
    color: #FF7A45;
    font-weight: 600;
    font-size: 14px;
}

.case-card .case-link:hover {
    color: #0F1B33;
}

/* ============================================================
   关于我们（首页 + 关于页）
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: #0F1B33;
    font-size: 28px;
    margin-bottom: 16px;
}

.about-text p {
    color: #555;
    margin-bottom: 14px;
}

.about-visual {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 27, 51, 0.06);
}

.about-visual::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(255, 122, 69, 0.3);
    pointer-events: none;
}

.about-visual img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.about-visual p {
    font-size: 15px;
    color: #0F1B33;
    font-weight: 600;
    margin: 14px 0 18px;
}

/* 团队实拍照片墙（关于我们页） */
.team-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.team-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 14px rgba(15, 27, 51, 0.08);
    transition: transform 0.4s ease;
}

.team-gallery img:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(15, 27, 51, 0.16);
}

/* 发展历程时间线 */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #C9A45C;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 6px;
    width: 13px;
    height: 13px;
    background: #0F1B33;
    border: 3px solid #C9A45C;
    border-radius: 50%;
}

.timeline-item .year {
    color: #8B2D3A;
    font-weight: bold;
    font-size: 16px;
}

.timeline-item h3 {
    color: #0F1B33;
    margin: 4px 0;
}

.timeline-item p {
    color: #666;
    font-size: 14px;
}

/* ============================================================
   合作伙伴 Logo 墙（首页）
   ============================================================ */
.partner-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: all 0.3s;
    overflow: hidden;
}

.partner-item:hover {
    border-color: #C9A45C;
    box-shadow: 0 10px 26px rgba(15, 27, 51, 0.1);
    transform: translateY(-4px);
}

.partner-item img {
    max-height: 46px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    /* 全彩直显：去掉灰色滤镜与降透明度，让合作伙伴 logo 以原始色彩呈现 */
    filter: none;
    opacity: 1;
    transition: all 0.3s;
}

.partner-item:hover img {
    /* 悬停时轻微放大（不套灰度滤镜） */
    transform: scale(1.08);
}

/* 无 logo 时显示名称文字 */
.partner-item .partner-name {
    color: #0F1B33;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

/* ============================================================
   新闻卡片 / 新闻列表（洽濡动态）
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    padding: 0 0 24px;
    box-shadow: 0 4px 18px rgba(15, 27, 51, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.14);
    border-color: #C9A45C;
}

/* 新闻卡片缩略图 */
.news-card .news-thumb {
    height: 170px;
    overflow: hidden;
}

.news-card .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-card .news-body {
    padding: 20px 24px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card .news-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.news-card .news-cat {
    display: inline-block;
    background: rgba(139, 45, 58, 0.08);
    color: #8B2D3A;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(139, 45, 58, 0.2);
}

.news-card .news-date {
    color: #B3B3B3;
    font-size: 13px;
}

.news-card h3 {
    color: #0F1B33;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    flex: 1;
}

.news-card p {
    color: #777;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻列表页（含分类筛选 + 分页） */
.news-cat-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.news-list-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.news-list-item {
    background: #fff;
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 16px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.news-list-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 22px rgba(15, 27, 51, 0.1);
    border-color: #C9A45C;
}

.news-list-item .news-item-left {
    flex: 1;
    min-width: 0;
}

.news-list-item .news-item-left .news-date {
    color: #B3B3B3;
    font-size: 13px;
    margin-bottom: 6px;
}

.news-list-item h3 {
    color: #0F1B33;
    font-size: 17px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list-item p {
    color: #777;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-item .news-cat {
    display: inline-block;
    background: rgba(139, 45, 58, 0.08);
    color: #8B2D3A;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(139, 45, 58, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.pagination a,
.pagination span {
    display: inline-block;
    min-width: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: #C9A45C;
    color: #0F1B33;
}

.pagination .current {
    background: #0F1B33;
    color: #fff;
    border-color: #0F1B33;
}

/* ============================================================
   案例详情页 / 新闻详情页
   ============================================================ */
.detail-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.detail-head {
    text-align: center;
    margin-bottom: 36px;
}

.detail-head .detail-tag {
    display: inline-block;
    background: rgba(139, 45, 58, 0.08);
    color: #8B2D3A;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(139, 45, 58, 0.2);
    margin-bottom: 14px;
}

.detail-head h1 {
    color: #0F1B33;
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.detail-head .detail-client {
    color: #C9A45C;
    font-weight: 600;
}

.detail-head .detail-meta {
    color: #B3B3B3;
    font-size: 14px;
    margin-top: 6px;
}

.detail-cover {
    height: 340px;
    background: linear-gradient(135deg, #0F1B33, #1d3053);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A45C;
    font-size: 70px;
    margin-bottom: 32px;
    overflow: hidden;
    position: relative;
}

.detail-cover::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(201, 164, 92, 0.3);
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-block {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
    border: 1px solid #eee;
}

.detail-block h2 {
    color: #0F1B33;
    font-size: 20px;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid #C9A45C; /* 暖金强调线 */
}

.detail-block p {
    color: #555;
    white-space: pre-line; /* 保留换行（新闻正文多段显示） */
}

/* 成果数据 */
.results-box {
    background: linear-gradient(135deg, #0F1B33, #1d3053);
    color: #fff;
    border-radius: 12px;
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.results-box .result-item .num {
    font-size: 36px;
    color: #FF7A45; /* 活力橙成果数据 */
    font-weight: bold;
}

.results-box .result-item .label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin-top: 4px;
}

/* 上一篇 / 下一篇 */
.detail-prev-next {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.detail-prev-next a {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 14px;
    color: #555;
    max-width: 48%;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-prev-next a:hover {
    border-color: #C9A45C;
    color: #0F1B33;
}

/* ============================================================
   业务板块页
   ============================================================ */
.biz-detail {
    max-width: 980px;
    margin: 0 auto;
}

.biz-intro {
    text-align: center;
    background: #F7F7FA;
    border-radius: 14px;
    padding: 50px 40px;
    margin-bottom: 40px;
}

.biz-intro .biz-icon-big {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #8B2D3A, #0F1B33);
    color: #C9A45C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.biz-intro h1 {
    color: #0F1B33;
    font-size: 30px;
    margin-bottom: 14px;
}

.biz-intro p {
    color: #666;
    max-width: 720px;
    margin: 0 auto;
}

.biz-section-title {
    text-align: center;
    margin: 44px 0 28px;
}

.biz-section-title h2 {
    color: #0F1B33;
    font-size: 24px;
}

.biz-section-title .title-line {
    width: 50px;
    height: 3px;
    background: #C9A45C;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 服务内容清单 */
.biz-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.biz-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.biz-item:hover {
    border-color: #C9A45C;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 27, 51, 0.08);
}

.biz-item .check {
    width: 26px;
    height: 26px;
    background: rgba(255, 122, 69, 0.12);
    color: #FF7A45;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.biz-item span {
    color: #333;
    font-size: 15px;
}

/* 服务流程（4 步） */
.biz-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: flow;
}

.flow-step {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.flow-step:hover {
    border-color: #C9A45C;
    transform: translateY(-4px);
}

.flow-step .step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    background: #0F1B33;
    color: #C9A45C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.flow-step h3 {
    color: #0F1B33;
    font-size: 16px;
    margin-bottom: 8px;
}

.flow-step p {
    color: #777;
    font-size: 13px;
}

/* 适用客户 */
.biz-customers {
    background: #F7F7FA;
    border-radius: 12px;
    padding: 26px 30px;
    border-left: 4px solid #8B2D3A;
}

.biz-customers p {
    color: #555;
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 18px rgba(15, 27, 51, 0.06);
    border: 1px solid #eee;
}

.contact-info-box h3 {
    color: #0F1B33;
    margin-bottom: 22px;
    font-size: 20px;
}

.contact-info-box .info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-box .info-item .icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0F1B33, #1d3053);
    color: #C9A45C;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-box .info-item .label {
    color: #B3B3B3;
    font-size: 13px;
}

.contact-info-box .info-item .value {
    color: #333;
    font-size: 15px;
}

/* 联系表单 */
.contact-form {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 18px rgba(15, 27, 51, 0.06);
    border: 1px solid #eee;
}

.contact-form h3 {
    color: #0F1B33;
    margin-bottom: 22px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #C9A45C;
    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* 提示消息 */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #e8f7ee;
    color: #1a7f4b;
    border: 1px solid #b7e4c8;
}

.alert-error {
    background: #fdecec;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}

/* ============================================================
   页面内部标题横幅（子页面）
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, #0F1B33 0%, #152642 55%, #1d3053 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(201, 164, 92, 0.25);
}

.page-banner h1 {
    font-size: 34px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    z-index: 1;
}

/* ============================================================
   联系 CTA 区块
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #0F1B33, #1d3053);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 1px solid rgba(201, 164, 92, 0.15);
}

.cta-section h2 {
    font-size: 30px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   页脚（深色）
   ============================================================ */
.site-footer {
    background: #0F1B33;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
}

/* 枣红装饰线 */
.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, #8B2D3A 0%, #C9A45C 50%, #8B2D3A 100%);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 36px;
    padding: 54px 20px 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.9;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #C9A45C;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-col ul a:hover {
    color: #C9A45C;
    padding-left: 4px;
}

/* ===== 页脚公司全称：单行不换行、完整显示（不得截断） ===== */
.footer-company-name {
    white-space: nowrap;
    min-width: 0;
}

/* ===== 页脚二维码区（3 个二维码位：视频号/公众号/微信号） ===== */
.footer-qrcodes {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.footer-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 84px;
}
.footer-qrcode-item img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    border-radius: 8px;
}
.footer-qrcode-item .qrcode-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}
.footer-qrcode-item em {
    font-style: normal;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 联系我们页二维码区（3 个二维码位） ===== */
.contact-qrcodes {
    display: flex;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.contact-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 112px;
}
.contact-qrcode-item img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #eee;
}
.contact-qrcode-item em {
    font-style: normal;
    font-size: 13px;
    color: #555;
}

/* ===== 联系图标（后台可替换成图片图标） ===== */
.contact-info-box .info-item .icon img {
    width: 24px;
    height: 24px;
    display: block;
}

/* ===== 案例详情页视频播放 ===== */
.detail-video {
    margin-top: 36px;
}
.detail-video h2 {
    font-size: 22px;
    color: #0F1B33;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #C9A45C;
}
.detail-video video {
    width: 100%;
    border-radius: 10px;
    background: #0F1B33;
    box-shadow: 0 10px 30px rgba(15, 27, 51, 0.15);
}
/* 案例外链视频跳转按钮（video_type=external 时展示） */
.detail-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #0F1B33, #1c2f52);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 27, 51, 0.25);
    transition: all 0.25s ease;
}
.detail-video-btn:hover {
    background: linear-gradient(135deg, #1c2f52, #2b4470);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 27, 51, 0.35);
}
.detail-video-btn::after {
    content: '↗';
    font-size: 18px;
}
.detail-video-tip {
    margin-top: 14px;
    font-size: 13px;
    color: #888;
}

/* ===== FAQ 常见问题模块（前台展示 + GEO 语义化） ===== */
.faq-section {
    padding: 64px 0;
    background: #f8f8fa;
}
.faq-section .section-title {
    text-align: center;
    font-size: 30px;
    color: #0F1B33;
    margin-bottom: 10px;
}
.faq-section .section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 36px;
}
.faq-list {
    max-width: 840px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    color: #0F1B33;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: "+";
    font-size: 20px;
    color: #C9A45C;
}
.faq-item.open .faq-question::after {
    content: "\2013";
}
.faq-answer {
    display: none;
    padding: 0 20px 16px;
    color: #666;
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* 公安网安备案（鲁公网安备）展示：图标与文字垂直居中、整条可点，与 ICP 备案风格一致 */
.footer-bottom .footer-beian a {
    display: inline-block;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.2s ease;
}
.footer-bottom .footer-beian a:hover {
    color: #C9A45C;
}
.footer-bottom .footer-beian a.gongan-beian img {
    display: inline-block;
    height: 15px;
    width: auto;
    margin-right: 4px;
    vertical-align: middle;
}

/* ============================================================
   滚动淡入动画（main.js 添加 .visible）
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   后台管理界面样式
   ============================================================ */
.admin-body {
    background: #F7F7FA;
    display: flex;
    min-height: 100vh;
}

/* 后台侧边栏 */
.admin-sidebar {
    width: 230px;
    background: #0F1B33;
    color: #fff;
    flex-shrink: 0;
    min-height: 100vh;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .sidebar-brand {
    padding: 22px 20px;
    font-size: 17px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.admin-sidebar .sidebar-brand .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
    background: #8B2D3A;
    color: #C9A45C;
}

.admin-sidebar nav a {
    display: block;
    padding: 13px 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-sidebar nav a.active {
    background: rgba(201, 164, 92, 0.15);
    color: #C9A45C;
    border-left-color: #C9A45C;
}

.admin-sidebar nav a .menu-icon {
    margin-right: 8px;
    opacity: 0.85;
}

/* 后台主内容区 */
.admin-main {
    flex: 1;
    padding: 30px;
    min-width: 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-header h1 {
    color: #0F1B33;
    font-size: 24px;
}

.admin-header .admin-user {
    color: #777;
    font-size: 14px;
}

/* 后台统计卡片 */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
    border: 1px solid #eee;
}

.stat-card .stat-num {
    font-size: 32px;
    font-weight: bold;
    color: #0F1B33;
}

.stat-card .stat-label {
    color: #B3B3B3;
    font-size: 14px;
    margin-top: 4px;
}

.stat-card .stat-num.orange {
    color: #FF7A45;
}

/* 后台数据表格 */
.admin-table-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
    overflow-x: auto;
    border: 1px solid #eee;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.admin-table th,
.admin-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.admin-table th {
    background: #f8f9fb;
    color: #0F1B33;
    font-weight: bold;
}

.admin-table tr:hover td {
    background: #fafbfd;
}

.admin-table .thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    background: #F7F7FA;
}

.admin-table .tag {
    display: inline-block;
    background: rgba(139, 45, 58, 0.08);
    color: #8B2D3A;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 16px;
    border: 1px solid rgba(139, 45, 58, 0.2);
}

/* 后台按钮 */
.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 5px;
    display: inline-block;
    margin-right: 6px;
}

.btn-edit {
    background: #eef3fb;
    color: #0F1B33;
}

.btn-edit:hover {
    background: #dbe6f7;
}

.btn-delete {
    background: #fdecec;
    color: #c0392b;
}

.btn-delete:hover {
    background: #f8d7d7;
}

.btn-add {
    background: #0F1B33;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    display: inline-block;
}

.btn-add:hover {
    background: #1d3053;
}

.btn-cancel {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    margin-left: 10px;
    border: none;
    cursor: pointer;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

/* 后台表单卡片 */
.admin-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
    border: 1px solid #eee;
    max-width: 800px;
}

.admin-form-card .form-group label {
    color: #0F1B33;
}

/* 后台登录页 */
.login-body {
    background: linear-gradient(135deg, #0F1B33 0%, #152642 55%, #1d3053 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.login-box .login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-box .login-logo .logo-mark {
    width: 56px;
    height: 56px;
    font-size: 28px;
    margin: 0 auto 12px;
    background: #8B2D3A;
    color: #C9A45C;
}

.login-box .login-logo h1 {
    color: #0F1B33;
    font-size: 22px;
}

.login-box .login-logo p {
    color: #B3B3B3;
    font-size: 13px;
}

/* ============================================================
   响应式适配（手机 / 平板）
   ============================================================ */
@media (max-width: 1100px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partner-wall {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .biz-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .biz-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 90px 20px 120px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .business-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .partner-wall {
        grid-template-columns: repeat(3, 1fr);
    }

    .biz-items,
    .biz-flow {
        grid-template-columns: 1fr;
    }

    .results-box {
        grid-template-columns: 1fr;
    }

    .detail-prev-next {
        flex-direction: column;
    }

    .detail-prev-next a {
        max-width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* 移动端导航：显示菜单按钮，菜单折叠 */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #0F1B33;
        display: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: 10px 0;
    }

    .main-nav a {
        padding: 13px 24px;
        border-radius: 0;
    }

    /* 移动端子菜单：点击展开（由 main.js 控制 .open） */
    .main-nav .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(201, 164, 92, 0.4);
        margin-left: 20px;
        background: rgba(255, 255, 255, 0.03);
    }

    .main-nav .has-sub.open .sub-menu {
        display: block;
    }

    /* 后台侧边栏在手机上变为顶部横条 */
    .admin-body {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
        height: auto;
        position: static;
    }

    .admin-sidebar nav ul {
        display: flex;
        flex-wrap: wrap;
    }

    .admin-sidebar nav a {
        padding: 10px 14px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .admin-sidebar nav a.active {
        border-left: none;
        border-bottom-color: #C9A45C;
    }

    .admin-main {
        padding: 20px 14px;
    }

    .stat-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   后台表单卡片兼容类（admin-form-wrap 旧类名，与新 admin-form-card 同款）
   ============================================================ */
.admin-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
    border: 1px solid #eee;
    max-width: 800px;
}

/* ============================================================
   图片素材整合新增样式（Logo / 横幅 / 列表缩略图 / 详情配图）
   ============================================================ */
/* 导航 Logo 图片（深色背景上显示白色横带标） */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 4px;
    flex-shrink: 0;
}

/* 页脚 Logo 图片 */
.footer-logo-img {
    height: 34px;
    width: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 4px;
}

/* 业务页大图横幅（深色遮罩 + 标题，配图铺满） */
.page-banner.biz-banner {
    background: linear-gradient(rgba(15, 27, 51, 0.62), rgba(15, 27, 51, 0.62)), var(--biz-bg) center/cover no-repeat;
    padding: 100px 20px;
}

/* 新闻列表页条目缩略图（左侧小图） */
.news-item-thumb {
    width: 150px;
    height: 92px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-list-item:hover .news-item-thumb img {
    transform: scale(1.06);
}

/* 新闻详情页配图 */
.news-detail-image {
    max-width: 860px;
    margin: 0 auto 26px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(15, 27, 51, 0.1);
}

.news-detail-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* 响应式：列表缩略图在小屏缩小 */
@media (max-width: 640px) {
    .news-item-thumb {
        width: 110px;
        height: 72px;
    }
}

/* ============================================================
   数据概览页专属样式（admin/dashboard.php）
   说明：以下 .dash-* 类为数据概览 8 大模块的专属视觉样式，
         沿用全站品牌色：深蓝黑 #0F1B33 / 暖金 #C9A45C / 酒红 #8B2D3A。
   ============================================================ */

/* 锚点跳转平滑滚动（配合顶部模块导航条） */
html {
    scroll-behavior: smooth;
}

/* 顶部模块导航条：横向胶囊链接 */
.dash-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
}

.dash-nav-link {
    display: inline-block;
    padding: 8px 18px;
    font-size: 14px;
    color: #0F1B33;
    background: #f4f5f9;
    border: 1px solid #e8eaf0;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dash-nav-link:hover {
    background: rgba(201, 164, 92, 0.15);
    color: #8B2D3A;
    border-color: #C9A45C;
}

/* 模块分区卡片：白底 / 圆角 / 阴影 / 内边距 */
.dash-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 26px 28px;
    margin-bottom: 26px;
    box-shadow: 0 3px 12px rgba(15, 27, 51, 0.05);
    scroll-margin-top: 20px; /* 锚点跳转时顶部留白，避免贴边 */
}

/* 模块大标题：金色竖条装饰，视觉层级清晰醒目 */
.dash-section-title {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: #0F1B33;
    margin: 0 0 20px;
    padding-left: 14px;
    line-height: 1.4;
}

.dash-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #C9A45C, #8B2D3A);
}

/* 双列图表网格 */
.dash-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

/* 工具栏：时间段切换 + 自定义查询 */
.dash-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e8eaf0;
}

/* 时间段切换标签 */
.dash-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dash-tabs a {
    display: inline-block;
    padding: 7px 16px;
    font-size: 13px;
    color: #555;
    background: #f4f5f9;
    border: 1px solid #e8eaf0;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dash-tabs a:hover {
    color: #0F1B33;
    border-color: #C9A45C;
}

.dash-tabs a.active {
    background: #0F1B33;
    color: #fff;
    border-color: #0F1B33;
}

/* 图表容器 */
.dash-chart {
    background: #fbfcfe;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

/* 图表小标题 */
.dash-chart-title {
    font-size: 15px;
    font-weight: bold;
    color: #0F1B33;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef0f5;
}

/* 折线图图例 */
.chart-legend {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chart-legend i {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

/* 柱状图 */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 170px;
    padding-top: 10px;
    overflow-x: auto;
}

.bar-col {
    flex: 1;
    min-width: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.bar-value {
    font-size: 11px;
    color: #999;
}

.bar {
    width: 100%;
    max-width: 26px;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #C9A45C, #b28d45);
    transition: height 0.3s ease;
}

.bar-label {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

/* 环形图 */
.pie-chart {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pie-legend {
    font-size: 13px;
    color: #333;
    min-width: 160px;
}

.pie-legend strong {
    color: #0F1B33;
    margin-left: auto;
}

/* 横向条形（关键词 / 地域 / 设备 / 操作系统） */
.hbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
}

.hbar-name {
    width: 120px;
    flex-shrink: 0;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hbar-track {
    flex: 1;
    height: 8px;
    background: #eef0f5;
    border-radius: 999px;
    overflow: hidden;
}

.hbar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0F1B33, #33507f);
}

.hbar-num {
    width: 44px;
    flex-shrink: 0;
    text-align: right;
    color: #0F1B33;
    font-weight: bold;
}

/* 排名列表 */
.rank-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #eef0f5;
    font-size: 14px;
}

.rank-row:last-child {
    border-bottom: none;
}

.rank-no {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #f4f5f9;
    color: #0F1B33;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rank-name {
    flex: 1;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-num {
    color: #8B2D3A;
    font-weight: bold;
    font-size: 13px;
    flex-shrink: 0;
}

/* 转化漏斗 */
.funnel-row {
    margin-bottom: 14px;
}

.funnel-bar {
    padding: 10px 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, #0F1B33, #33507f);
    color: #fff;
    font-size: 14px;
    min-width: 120px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: width 0.4s ease;
}

.funnel-loss {
    margin-top: 5px;
    font-size: 12px;
    color: #c0392b;
}

.funnel-overall {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(201, 164, 92, 0.12);
    border: 1px solid rgba(201, 164, 92, 0.4);
    border-radius: 8px;
    font-size: 14px;
    color: #0F1B33;
}

.funnel-overall strong {
    color: #8B2D3A;
}

/* 系统监控"不可用"负载值置灰显示 */
.stat-num.unavailable {
    color: #B3B3B3 !important;
}

/* 数据概览响应式：窄屏适配 */
@media (max-width: 900px) {
    .dash-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dash-section {
        padding: 18px 16px;
    }

    .dash-section-title {
        font-size: 18px;
    }

    .dash-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-chart {
        padding: 14px 12px;
    }

    .hbar-name {
        width: 80px;
    }
}

/* ============================================================
   dashboard 待处理留言：标题与入口按钮并排
   ============================================================ */
.dash-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.dash-chart-head .dash-chart-title {
    margin-bottom: 0;
}


/* ============================================================
   P0 功能新增样式（在线报价 / 服务项目 / 团队介绍 / 资质荣誉）
   配色沿用现有：#0F1B33 深蓝底 / #C9A45C 金 / #FF7A45 橙 / #8B2D3A 暗红
   ============================================================ */

/* 导航"获取报价"高亮按钮（橙色胶囊）
   垂直对齐修复：改用 inline-flex 居中，配合 .nav-list flex 基线对齐，
   使按钮文字与前面导航项文字中心线在同一水平线上 */
.nav-quote-btn {
    display: block;
    text-align: center;
    background: #FF7A45;
    color: #fff !important;
    border-radius: 20px;
    padding: 10px 18px !important;
    margin-left: 6px;
    line-height: 1.7;
    white-space: nowrap;
    vertical-align: middle;
    transition: background 0.3s ease;
}
.nav-quote-btn:hover {
    background: #C9A45C;
}

/* ---------- 报价表单（quote.php） ---------- */
.quote-section {
    padding-top: 70px;
    padding-bottom: 80px;
}
.quote-form-wrap {
    max-width: 820px;
    margin: 0 auto;
    background: #0F1B33;
    border: 1px solid rgba(201, 164, 92, 0.25);
    border-radius: 12px;
    padding: 34px 38px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.quote-form .form-group {
    margin-bottom: 20px;
}
.quote-form label {
    display: block;
    color: #E8E2D4;
    font-size: 14px;
    margin-bottom: 8px;
}
.quote-form label .req {
    color: #FF7A45;
    font-style: normal;
    margin-left: 2px;
}
.quote-form .form-input {
    width: 100%;
    box-sizing: border-box;
    background: #15233F;
    border: 1px solid rgba(201, 164, 92, 0.3);
    border-radius: 8px;
    color: #F2EFE6;
    padding: 11px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}
.quote-form .form-input:focus {
    border-color: #C9A45C;
}
.quote-form select.form-input {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.quote-form option {
    background: #15233F;
    color: #F2EFE6;
}
.quote-form textarea.form-input {
    resize: vertical;
    min-height: 110px;
}
.quote-form .form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.quote-form .form-actions .btn {
    min-width: 180px;
}
.quote-note {
    color: #B3B3B3;
    font-size: 13px;
}

/* ---------- 服务项目（services.php） ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
/* 最后一行仅剩 1 张业务卡片时：居中展示，避免"孤张"排布 */
.service-card-lone {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 480px;
    width: 100%;
}
@media (max-width: 768px) {
    .service-grid { grid-template-columns: 1fr !important; }
    .service-card-lone { max-width: 100%; }
}
.service-card {
    background: #0F1B33;
    border: 1px solid rgba(201, 164, 92, 0.22);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: #C9A45C;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.service-thumb {
    height: 180px;
    overflow: hidden;
    background: #0b1428;
}
.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-body {
    padding: 24px 24px 28px;
}
.service-icon {
    font-size: 30px;
    font-style: normal;
    margin-bottom: 10px;
    color: #C9A45C;
}
.service-body h3 {
    color: #F2EFE6;
    font-size: 19px;
    margin-bottom: 10px;
}
.service-summary {
    color: #C9A45C;
    font-size: 14px;
    margin-bottom: 12px;
}
.service-card .biz-link {
    display: inline-block;
    margin-top: 14px;
    color: #FF7A45;
    font-weight: 600;
    font-size: 14px;
}
.service-card .biz-link:hover {
    color: #C9A45C;
}
.service-detail {
    color: #B3B3B3;
    font-size: 13px;
    line-height: 1.9;
}
.service-cta {
    margin-top: 52px;
    text-align: center;
}
.service-cta p {
    color: #B3B3B3;
    margin-bottom: 16px;
}

/* ---------- 团队介绍（team.php） ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}
.team-card {
    background: #fff;
    border: 1px solid #ece6d8;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.team-photo {
    height: 250px;
    overflow: hidden;
    background: #0F1B33;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 68px;
    color: #C9A45C;
    background: #0F1B33;
}
.team-body {
    padding: 20px 18px 24px;
}
.team-body h3 {
    color: #0F1B33;
    font-size: 18px;
    margin-bottom: 6px;
}
.team-pos {
    color: #8B2D3A;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.team-intro {
    color: #6b6b6b;
    font-size: 13px;
    line-height: 1.8;
}

/* ---------- 资质荣誉（honors.php） ---------- */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}
.honor-card {
    background: #0F1B33;
    border: 1px solid rgba(201, 164, 92, 0.22);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.honor-card:hover {
    transform: translateY(-5px);
    border-color: #C9A45C;
}
.honor-img {
    height: 200px;
    background: #0b1428;
}
.honor-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.honor-title {
    padding: 18px 18px 20px;
    border-top: 1px solid rgba(201, 164, 92, 0.2);
}
.honor-title h3 {
    color: #F2EFE6;
    font-size: 16px;
    margin-bottom: 8px;
}
.honor-view {
    color: #C9A45C;
    font-size: 13px;
    text-decoration: none;
}
.honor-view:hover {
    color: #FF7A45;
}

/* ---------- P0 新页面移动端适配 ---------- */
@media (max-width: 768px) {
    .quote-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .quote-form-wrap {
        padding: 24px 18px;
    }
}

/* ---------- P0 后台：报价页签 / 状态徽章（admin/quotes.php 等） ---------- */
.admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.admin-tabs a {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #444;
    font-size: 14px;
    text-decoration: none;
}
.admin-tabs a:hover {
    border-color: #C9A45C;
    color: #C9A45C;
}
.admin-tabs a.active {
    background: #0F1B33;
    border-color: #0F1B33;
    color: #fff;
}
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
    white-space: nowrap;
}
.badge-success { background: #27ae60; }
.badge-info    { background: #2980b9; }
.badge-warning { background: #f39c12; }
.badge-muted   { background: #95a5a6; }
.badge-link    { background: #2980b9; }

/* ============================================================
 * P1 新增样式（留言闭环 / 案例增强 / 在线咨询 / 富文本编辑器 / 前台富文本正文）
 * ============================================================ */

/* ---------- 侧边栏"未处理留言"角标 ---------- */
.menu-badge {
    display: inline-block;
    min-width: 18px;
    padding: 1px 6px;
    margin-left: 4px;
    background: #e74c3c;
    color: #fff;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    vertical-align: 1px;
}

/* ---------- 在线咨询悬浮按钮（右下角） ---------- */
.consult-float-btn {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #8B2D3A;
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.consult-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.32);
    color: #fff;
}
.consult-float-icon { font-size: 20px; line-height: 1; }
.consult-float-text { font-size: 13px; line-height: 1.2; text-align: center; }

/* ---------- 咨询弹层 ---------- */
.consult-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 9991;
    background: rgba(15,27,51,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.consult-modal-mask.show { opacity: 1; visibility: visible; }
.consult-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9992;
    width: 300px;
    max-width: 88vw;
    transform: translate(-50%, -50%) scale(.92);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
}
.consult-modal.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.consult-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}
.consult-modal-close:hover { color: #8B2D3A; }
.consult-modal-body { padding: 26px 20px 20px; text-align: center; }
.consult-modal-body h4 { margin: 0 0 12px; color: #0F1B33; font-size: 17px; }
.consult-modal-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.consult-modal-qr img {
    border: 1px solid #eee;
    border-radius: 6px;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    margin: 0 auto;
}
.consult-modal-body p { margin: 10px 0 0; color: #666; font-size: 13px; }
.consult-modal-fallback p { margin: 6px 0; }
.consult-modal-phone { color: #8B2D3A !important; font-weight: 600; }
.consult-modal-email { color: #0F1B33 !important; }

/* ---------- 富文本编辑器（includes/editor.php） ---------- */
.rich-editor { border: 1px solid #ddd; border-radius: 6px; background: #fff; overflow: hidden; }
.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 6px 8px;
    background: #f5f6f8;
    border-bottom: 1px solid #e5e7eb;
}
.rich-editor-toolbar button {
    min-width: 30px;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}
.rich-editor-toolbar button:hover { border-color: #C9A45C; color: #0F1B33; }
.rich-editor-sep { display: inline-block; width: 1px; margin: 2px 6px; background: #d9dce1; }
.rich-editor-area {
    padding: 12px 14px;
    min-height: 260px;
    outline: none;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    background: #fff;
}
.rich-editor-area:focus { box-shadow: inset 0 0 0 1px #0F1B33; }
.rich-editor-area blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid #C9A45C; color: #666; }
.rich-editor-tip { padding: 6px 12px; font-size: 12px; color: #999; background: #fafbfc; }

/* ---------- 前台富文本正文（news/case/faq 详情渲染） ---------- */
.rich-content { line-height: 1.9; color: #3a3f45; font-size: 15px; word-break: break-word; }
.rich-content p { margin: 0 0 14px; }
.rich-content h2, .rich-content h3 { color: #0F1B33; margin: 22px 0 10px; }
.rich-content ul, .rich-content ol { margin: 0 0 14px 22px; }
.rich-content li { margin-bottom: 4px; }
.rich-content a { color: #C9A45C; }
.rich-content img { max-width: 100%; height: auto; border-radius: 6px; }
.rich-content blockquote { margin: 14px 0; padding: 10px 14px; border-left: 3px solid #C9A45C; background: #faf6ec; color: #666; }

/* ---------- 案例列表卡片增强（分类/浏览量/日期） ---------- */
.case-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 12px; color: #888; }
.case-meta .case-views { color: #8B2D3A; }
.case-meta .case-date { color: #999; }
.case-cat-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    background: #0F1B33;
    color: #fff;
    font-size: 12px;
}
.case-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.case-filter-bar a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 18px;
    color: #444;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease;
}
.case-filter-bar a:hover { border-color: #C9A45C; color: #C9A45C; }

/* ============================================================
   全站图片/视频禁止右键下载、拖拽保存、长按保存
   （仅针对 img / video 元素，不影响导航、链接、表单等交互）
   ============================================================ */
img,
video {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.case-filter-bar a.active { background: #0F1B33; border-color: #0F1B33; color: #fff; }

/* ===== 后台新 Logo 图片（替代原文字 logo） ===== */
.admin-sidebar .sidebar-brand .sidebar-logo-img {
    width: auto;
    height: 32px;
    margin-right: 10px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.login-box .login-logo .login-logo-img {
    width: 220px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
    object-fit: contain;
}

