/* ============================================================
   恋凰文化传媒有限公司 - 全局样式表
   品牌色：深红 #8B0000 / 金色 #DAA520
   ============================================================ */

:root {
    --primary: #8B0000;
    --primary-light: #B22222;
    --primary-dark: #5C0000;
    --gold: #DAA520;
    --gold-light: #F0D060;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --white: #fff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* ========== 基础重置 ========== */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-light); text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--primary); color: #fff; }

/* ========== 导航栏 ========== */
.navbar {
    background: #0a3d8c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 12px 0;
    transition: var(--transition);
}
.navbar.scrolled { padding: 8px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.navbar-brand img {
    height: 80px;
    max-height: 80px;
    margin-right: 0;
    border-radius: 6px;
}
.navbar-brand small {
    display: none;
}
.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 80px;
    padding: 0 18px !important;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover,
.nav-link.active { color: var(--gold) !important; }

/* 移动端导航 */
.navbar-toggler { border-color: rgba(255,255,255,0.4); padding: 8px; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }
.navbar-toggler:focus { box-shadow: none; outline: none; }

@media (max-width: 991px) {
    .navbar-collapse {
        background: #0a3d8c;
        padding: 15px 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-top: 10px;
    }
    .nav-link { line-height: normal; padding: 10px 0 !important; color: rgba(255,255,255,0.85) !important; }
    .nav-link::after { left: 0; right: 0; }
}

/* ========== 视频背景包装器 ========== */
.hero-video-wrapper {
    position: relative;
    overflow: hidden;
    background: #000;
}
.hero-video-wrapper .hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}
.hero-video-wrapper .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

/* ========== Hero Banner ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, #1a0a0a 0%, #3d0000 30%, #5c0000 60%, #3d0000 100%);
    z-index: 1;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139,0,0,0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}
.hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}
.hero .hero-buttons { animation: fadeInUp 1s ease 0.4s both; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}
.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.7);
    transform: rotate(45deg);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========== 通用按钮 ========== */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 36px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139,0,0,0.3);
}
.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px 36px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #B8860B);
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(218,165,32,0.4);
    color: #fff;
}
.btn-lg { padding: 14px 40px; font-size: 1.1rem; }
.btn-sm { padding: 8px 24px; font-size: 0.9rem; }

/* ========== 通用板块 ========== */
.section-padding { padding: 100px 0; }
@media (max-width: 768px) { .section-padding { padding: 60px 0; } }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .label {
    display: inline-block;
    background: rgba(139,0,0,0.08);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text);
    font-weight: 700;
    margin-bottom: 12px;
}
.section-header .divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto;
    border-radius: 2px;
}
.section-header .lead {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-header.text-start { text-align: left; }
.section-header.text-start .divider { margin: 15px 0; }

/* 滚动渐显动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 服务卡片 ========== */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(139,0,0,0.06);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========== 团队卡片 ========== */
.team-card {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); }
.team-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 6px rgba(218,165,32,0.15);
    background: #e0e0e0;
}
.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrapper img { transform: scale(1.08); }
.team-card h5 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.team-card .desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* ========== 客户 Logo 网格 ========== */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}
.client-logo {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}
.client-logo:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold);
}
.client-logo img {
    max-height: 50px;
    max-width: 120px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-logo .client-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========== 新闻列表 ========== */
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.news-card-img {
    height: 200px;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px; }
.news-card .date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.news-card .date i { color: var(--primary); margin-right: 4px; }
.news-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}
.news-card h5 a { color: var(--text); }
.news-card h5 a:hover { color: var(--primary); }
.news-card .excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.7;
}
.news-card .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.news-card .read-more i { transition: transform 0.3s; }
.news-card .read-more:hover i { transform: translateX(4px); }

/* ========== 客户Logo墙 ========== */
.client-logo-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px 8px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.client-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}
.client-logo-img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    margin-bottom: 6px;
}
.client-logo-card:hover .client-logo-img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.client-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    transition: var(--transition);
}
.client-logo-card:hover .client-initial {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #B8860B);
}
.client-logo-card .client-name {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
}
@media (max-width: 576px) {
    .client-logo-card { min-height: 80px; padding: 10px 5px; }
    .client-logo-img { max-height: 40px; }
    .client-initial { width: 44px; height: 44px; font-size: 0.75rem; }
}

/* ========== 案例卡片 ========== */
.case-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 3 / 2;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-card:hover img { transform: scale(1.05); }
.case-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 30px 20px 20px;
    color: #fff;
}
.case-overlay .category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gold);
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}
.case-overlay h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0; }

/* ========== 联系表单 ========== */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.contact-form-wrapper .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 6px;
}
.contact-form-wrapper .form-label .required { color: var(--primary); margin-left: 2px; }
.contact-form-wrapper .form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.contact-form-wrapper .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
}
.contact-form-wrapper textarea.form-control { resize: vertical; min-height: 120px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(139,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--primary);
}
.contact-info-item h6 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ========== 面包屑 ========== */
.breadcrumb-wrapper {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 45px 0 35px 0;
    margin-top: 76px;
    color: #fff;
}
@media (max-width: 991px) {
    .breadcrumb-wrapper {
        padding: 24px 0 12px 0;
        margin-top: 56px;
    }
    .breadcrumb-wrapper h1 { font-size: 1.3rem; margin-bottom: 4px; }
}
.breadcrumb-wrapper h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.breadcrumb-wrapper .breadcrumb {
    margin: 0; padding: 0; background: none;
    font-size: 0.9rem;
}
.breadcrumb-wrapper .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.breadcrumb-wrapper .breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-wrapper .breadcrumb-item.active { color: var(--gold); }
.breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ========== 页脚 ========== */
footer {
    background: var(--bg-dark);
    color: #ccc;
    padding: 60px 0 0;
}
footer h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
footer h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}
footer a { color: #ccc; font-size: 0.9rem; transition: var(--transition); }
footer a:hover { color: var(--gold); padding-left: 5px; }
footer .footer-links { list-style: none; padding: 0; margin: 0; }
footer .footer-links li { margin-bottom: 10px; }
footer .footer-links li i { font-size: 0.6rem; color: var(--gold); margin-right: 8px; }
footer .footer-contact p { font-size: 0.9rem; margin-bottom: 8px; }
footer .footer-contact p i { color: var(--gold); margin-right: 8px; width: 16px; text-align: center; }
footer .footer-qrcode { text-align: center; }
footer .footer-qrcode img { width: 120px; border-radius: var(--radius); border: 3px solid #333; }
footer .footer-qrcode p { font-size: 0.8rem; margin-top: 8px; color: var(--text-muted); }
.footer-brand { margin-bottom: 1rem; }
.footer-logo-img { max-height: 70px; width: auto; opacity: 0.95; transition: var(--transition); }
.footer-logo-img:hover { opacity: 1; filter: brightness(1.1); }
.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(139,0,0,0.3);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ========== 404 页面 ========== */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}
.error-page h1 {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.15;
}
.error-page h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; }
.error-page p { color: var(--text-light); margin-bottom: 30px; }

/* ========== 页面内 Banner（子页面顶部） ========== */
.page-banner {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%),
                var(--bg-dark) center/cover no-repeat;
    margin-top: 76px;
    color: #fff;
    text-align: center;
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: 2px; }
.page-banner .lead { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 15px auto 0; }

/* ========== 时间线 ========== */
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    padding-bottom: 35px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px var(--primary);
}
.timeline-item .year {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
}
.timeline-item h5 { font-size: 1.05rem; font-weight: 700; }
.timeline-item p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* ========== 统计数字 ========== */
.stat-item { text-align: center; padding: 20px; }
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-number .plus { color: var(--gold); }
.stat-label { color: var(--text-light); font-size: 0.95rem; }

/* ========== 筛选标签 ========== */
.filter-tabs { text-align: center; margin-bottom: 40px; }
.filter-tab {
    display: inline-block;
    padding: 8px 24px;
    margin: 0 5px 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: transparent;
}
.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========== 分页 ========== */
.pagination-wrapper { text-align: center; margin-top: 40px; }
.pagination {
    display: inline-flex;
    gap: 5px;
}
.pagination .page-link {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius) !important;
    font-size: 0.9rem;
    transition: var(--transition);
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ========== 响应式补充 ========== */
@media (max-width: 768px) {
    .hero { min-height: 80vh; }
    .hero h1 { letter-spacing: 1px; }
    .contact-form-wrapper { padding: 25px 20px; }
    .service-card { padding: 30px 20px; }
    .page-banner { min-height: 30vh; }
    footer { padding: 40px 0 0; }
    footer h5 { margin-top: 20px; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ========== 浮动联系栏 ========== */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.float-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}
.float-contact a:hover {
    transform: scale(1.1);
    color: #fff;
}
.float-contact .phone-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}
.float-contact .wechat-btn {
    background: linear-gradient(135deg, #07C160, #06ad56);
}
.float-contact .contact-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.float-contact a .tooltip-text {
    position: absolute;
    right: 60px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
.float-contact a:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px) {
    .float-contact { right: 10px; bottom: 80px; }
    .float-contact a { width: 44px; height: 44px; font-size: 1.1rem; }
    .float-contact a .tooltip-text { display: none; }
}

/* ========== 百度统计（隐藏） ========== */
.baidu-stat { display: none; }
/* ============================================================
   恋凰文化传媒 - 移动端优化补充样式
   说明：将此文件内容追加到 css/style.css 末尾即可
   ============================================================ */

/* ========== 平板端优化 (max-width: 991px) ========== */
@media (max-width: 991px) {
    /* 导航栏优化 */
    .navbar-brand {
        font-size: 1.2rem;
        gap: 10px;
    }
    .navbar-brand img {
        height: 50px;
        max-height: 50px;
    }
    /* 关于我们图片在平板端居中 */
    #about .col-lg-6:last-child {
        margin-top: 30px;
        text-align: center;
    }
}

/* ========== 手机端优化 (max-width: 768px) ========== */
@media (max-width: 768px) {
    /* 全局字体微调 */
    body { font-size: 15px; }

    /* 导航栏 */
    .navbar { padding: 8px 0; }
    .navbar-brand { font-size: 1.1rem; }
    .navbar-brand img { height: 45px; max-height: 45px; }
    .navbar-brand small { display: block; font-size: 0.6rem; }

    /* Hero Banner */
    .hero { min-height: 70vh; }
    .hero h1 { letter-spacing: 1px; }
    .hero .subtitle { line-height: 1.6; }
    .hero .hero-buttons .btn { display: block; width: 80%; margin: 8px auto; }
    .hero .hero-buttons .btn:last-child { margin-right: auto; }
    .scroll-indicator { bottom: 20px; }

    /* 通用板块 */
    .section-padding { padding: 50px 0; }
    .section-header { margin-bottom: 35px; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header .lead { font-size: 0.95rem; padding: 0 10px; }

    /* 关于我们 */
    #about h2 { font-size: 1.5rem; }
    #about .row { text-align: center; }
    #about .col-4 { padding: 0 5px; }
    #about .col-4 small { font-size: 0.7rem; }

    /* 数据看板 - 两列布局 */
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.85rem; }

    /* 服务卡片 */
    .service-card { padding: 25px 18px; }
    .service-icon { width: 60px; height: 60px; line-height: 60px; font-size: 2rem; }

    /* 团队卡片 */
    .team-img-wrapper { width: 120px; height: 120px; }

    /* 客户 Logo */
    .client-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    /* 页脚 */
    footer { padding: 35px 0 0; }
    footer h5 { margin-top: 22px; font-size: 1rem; }
    footer .footer-qrcode { text-align: left; margin-top: 15px; }
    footer .footer-qrcode img { width: 90px; }

    /* 子页面 Banner */
    .page-banner { min-height: 25vh; margin-top: 60px; }
    .page-banner h1 { font-size: 1.6rem; }
    .breadcrumb-wrapper { margin-top: 60px; padding: 20px 0 10px 0; }

    /* 联系表单 */
    .contact-form-wrapper { padding: 22px 16px; }
    .contact-info-item { gap: 10px; }
    .contact-info-icon { width: 40px; height: 40px; font-size: 1rem; }

    /* 案例卡片：比例由 aspect-ratio 统一控制（3:2） */
    .case-card { aspect-ratio: 3 / 2; }

    /* 返回顶部按钮 */
    .back-to-top { bottom: 15px; right: 15px; width: 40px; height: 40px; font-size: 1rem; }
}

/* ========== 超小屏幕优化 (max-width: 480px) ========== */
@media (max-width: 480px) {
    /* Hero 进一步优化 */
    .hero { min-height: 60vh; }
    .hero h1 { font-size: 1.6rem !important; }
    .hero .subtitle { font-size: 0.9rem !important; }
    .hero .hero-buttons .btn { width: 90%; font-size: 0.95rem; }

    /* 数据看板 - 强制两列 */
    .stat-number { font-size: 1.7rem; }
    .stat-label { font-size: 0.78rem; }

    /* 服务卡片标题 */
    .service-card h4 { font-size: 1rem; }
    .service-card p { font-size: 0.85rem; }

    /* 导航折叠菜单文字居中 */
    .navbar-collapse { text-align: center; }
    .nav-link { font-size: 1rem; }

    /* 页脚居中 */
    footer { text-align: center; }
    footer h5::after { left: 50%; transform: translateX(-50%); }
    footer .footer-qrcode { text-align: center; }
}

/* ========== 触摸设备优化 ========== */
/* 增大手机端可点击区域 */
@media (hover: none) and (pointer: coarse) {
    .nav-link { min-height: 44px; display: flex; align-items: center; }
    .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .filter-tab { min-height: 44px; display: inline-flex; align-items: center; }
    .pagination .page-link { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
    .float-contact a { width: 52px; height: 52px; }
}

/* ========== 图片懒加载占位 ========== */
img[loading="lazy"] {
    background: #f0f0f0;
    min-height: 100px;
}

/* ========== 横屏手机优化 ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: 100vh; }
    .scroll-indicator { display: none; }
    .navbar { padding: 5px 0; }
}

/* ========== 视频加载提示 ========== */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.video-loading .spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.video-loading.hidden {
    display: none;
}

/* === 证书展示 === */
.certificates-section h3 {
    position: relative;
    padding-bottom: 15px;
}
.certificates-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #DAA520, #B8860B);
    border-radius: 2px;
}
.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(218, 165, 32, 0.18) !important;
}
.certificate-card .modal-trigger-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(218, 165, 32, 0.9);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.certificate-card:hover .modal-trigger-icon {
    opacity: 1;
}
@media (max-width: 768px) {
    .certificates-section > h3 {
        font-size: 1.4rem;
    }
    .certificate-card > div:first-child {
        padding: 10px !important;
    }
    .certificate-card > div:first-child > div {
        padding: 20px 10px !important;
    }
    .certificate-card > div:first-child > div > div:nth-child(2) {
        padding: 0 10px !important;
    }
    .certificate-card > div:first-child > div > div:nth-child(2) > p {
        font-size: 0.9rem !important;
        line-height: 1.8 !important;
    }
}

/* === 核心团队 === */
.team-card {
    height: 100%;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 74, 110, 0.15) !important;
}
.team-card h4 {
    transition: color 0.3s ease;
}
.team-card:hover h4 {
    color: #1a4a6e;
}
@media (max-width: 768px) {
    .team-card > div:first-child {
        padding-top: 100% !important;
    }
    .team-card > div:nth-child(2) {
        padding: 18px 15px !important;
    }
    .team-card > div:nth-child(2) > p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }
    /* 首页核心团队圆形头像保持正圆，避免被 about.html 的响应式规则撑高 */
    #team .team-img-wrapper {
        width: 120px !important;
        height: 120px !important;
        padding-top: 0 !important;
    }
}

/* ========= 微信二维码弹窗 ========= */
.wechat-qr-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.wechat-qr-modal[style*="flex"] {
    display: flex !important;
}
.wechat-qr-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;
    position: relative;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.wechat-qr-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.wechat-qr-close:hover {
    color: #333;
}
.wechat-qr-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a2e;
}
.wechat-qr-img {
    margin: 0 auto 15px;
}
.wechat-qr-img img {
    max-width: 200px;
    border-radius: 8px;
}
.wechat-qr-tip {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}
/* ========= 自营IP页案例数量角标 ========= */
.case-badge {
    display: inline-block;
    background: #8B0000;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 12px;
    font-weight: 600;
    vertical-align: middle;
}
/* ========= 自营IP详情页 - 相关案例卡片 ========= */
.ip-detail-section .related-case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    height: 100%;
}
.ip-detail-section .related-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.ip-detail-section .related-case-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.ip-detail-section .related-case-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a2e;
}
.ip-detail-section .related-case-card p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* ========= IP 图片长廊卡片 ========= */
.ip-gallery-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.ip-gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}
.ip-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.ip-gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ip-gallery-card:hover img {
    transform: scale(1.04);
}
.ip-gallery-card:first-child img {
    height: 360px;   /* 第一张图更大 */
}
.ip-gallery-caption {
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #666;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

/* ============================================================
   移动端响应式优化补充（2026-07-25）
   目标：杜绝横向溢出、保证图片/媒体自适应、长文本不撑破布局
   ============================================================ */

/* 全局：图片/视频/嵌入框不超出视口 */
img, video, iframe { max-width: 100%; }

/* 长链接、长单词、连续字母不撑破布局 */
body { overflow-wrap: break-word; }

/* 详情页动态内容中的图片与表格自适应（防止 API 富文本里的宽图/宽表溢出） */
#detailContent img, #newsContent img, #caseContent img,
.ip-article-body img, .ip-content img, .news-detail-body img, .case-detail-body img,
.shuiling-topic img {
    max-width: 100%;
    height: auto;
}
.table-responsive, table { max-width: 100%; }
#detailContent table, #newsContent table, #caseContent table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* IP 详情英雄封面：移动端满宽且等比，避免方形图溢出 */
.ip-detail-hero img { width: 100%; height: auto; }

/* 极小屏（≤360px）微调，防止标题与导航溢出 */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.85rem; letter-spacing: 1px; }
    .navbar-brand { font-size: 1rem; }
    .navbar-brand small { font-size: 0.55rem; }
    .section-header h2 { font-size: 1.4rem; }
    /* 兜底：极窄屏下任意大间距网格不超过容器，避免横向滚动 */
    .container > .row, .container-fluid > .row { --bs-gutter-x: 1rem !important; }
    /* 联系信息/表单堆叠后留出更多呼吸空间 */
    .contact-info-item { margin-bottom: 16px; }
}

/* 横屏矮高度：英雄区更紧凑 */
@media (max-height: 480px) and (orientation: landscape) {
    .hero { min-height: 100vh; }
    .hero .hero-buttons .btn { display: inline-block; width: auto; margin: 8px 6px; }
}

/* 2026-07-26 修复：手机端固定导航栏遮挡 Hero 标题 —— 大幅加大安全间距 */
/* 实测移动端固定导航栏高约 71px，以下 padding 留出充足余量且不过度留白 */
@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        padding-top: 150px !important;
        padding-bottom: 70px;
        min-height: auto !important;
    }
    .hero h1 { margin-top: 0; }
}
@media (max-width: 480px) {
    .hero { padding-top: 140px !important; padding-bottom: 60px; }
    .hero h1 { font-size: 1.55rem !important; }
    .hero .subtitle { font-size: 0.9rem !important; }
    .hero .hero-buttons { margin-top: 18px; }
}
@media (max-width: 360px) {
    .hero { padding-top: 132px !important; }
    .hero h1 { font-size: 1.45rem !important; }
}

/* ========== 导航栏下拉菜单（自营IP二级菜单） ========== */
.navbar-nav .dropdown-toggle::after {
    /* 关闭 Bootstrap 默认三角，改用自定义 caret，避免与下划线 ::after 冲突 */
    display: none;
}
.navbar .caret {
    font-size: 0.7em;
    margin-left: 0.3em;
    opacity: 0.85;
    display: inline-block;
    transition: transform 0.2s ease;
}
.navbar .dropdown.show .caret,
.navbar .dropdown:hover .caret {
    transform: rotate(180deg);
}
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    padding: 8px;
    min-width: 230px;
    margin-top: 6px;
    z-index: 1050;
}
.dropdown-menu .dropdown-item {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    white-space: normal;
    transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: #f7f1e6;
    color: var(--gold);
}
.dropdown-menu .dropdown-item.active {
    background: var(--gold);
    color: #fff;
}
/* 桌面端：悬停展开下拉 */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
    .navbar-nav .dropdown:hover > .nav-link::after {
        transform: scaleX(1);
    }
}
/* 移动端：下拉菜单随折叠面板内联显示 */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
        margin: 0 0 8px 12px;
        padding: 4px 0;
        min-width: auto;
    }
    .navbar-nav .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
    }
    .navbar-nav .dropdown-menu .dropdown-item:hover,
    .navbar-nav .dropdown-menu .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.12);
        color: var(--gold);
    }
    .navbar-nav .dropdown-menu .dropdown-item.active {
        background: var(--gold);
        color: #fff;
    }
}
/* 自营IP：主链接保持原始跳转，小箭头独立负责展开下拉 */
/* li 作为 flex 容器，让"文字链接"与"箭头"并排；菜单为绝对定位不影响布局 */
.nav-item.dropdown { display: flex; align-items: center; }
.dropdown-caret {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0 4px;
    font-size: 0.7em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    outline: none;
}
.dropdown-caret:focus-visible { color: var(--gold); }
/* 移动端：主链接占满剩余宽度，箭头靠右 */
@media (max-width: 991px) {
    .nav-item.dropdown > .nav-link { flex: 1 1 auto; }
}

/* 下拉菜单定位：桌面端绝对定位置于导航栏正下方，避免遮挡一级"自营IP"链接 */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu { position: absolute; top: 100%; left: 0; right: auto; }
}
/* 移动端：菜单内联展开（随折叠面板自然推下），不浮动遮挡 */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu { position: static; top: auto; left: auto; right: auto; }
}
