/**
 * 恒德润官网 - 现代蓝色主题样式
 * 参考 Durr 网站风格 - 工业化专业设计
 */

:root {
    /* 主题色 - 专业深蓝色系 */
    --primary: #0055A5;
    --primary-dark: #003D7A;
    --primary-light: #0078D4;
    --primary-lighter: #4A9FD4;
    --primary-gradient: linear-gradient(135deg, #0055A5 0%, #0078D4 100%);
    --primary-gradient-hover: linear-gradient(135deg, #003D7A 0%, #0055A5 100%);

    /* 辅助色 */
    --secondary: #00A3E0;
    --accent: #00C1E4;
    --accent-light: #E8F4FC;

    /* 文字颜色 */
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6c757d;
    --text-muted: #8e8e9a;

    /* 背景色 */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    --bg-blue-light: #f0f7ff;
    --bg-blue-gradient: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);

    /* 边框和阴影 */
    --border-light: #e2e8f0;
    --border-blue: #c7dcf0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 20px rgba(0, 85, 165, 0.25);
    --shadow-primary-lg: 0 8px 30px rgba(0, 85, 165, 0.3);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   全局样式
   ============================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* ============================================
   顶部Logo栏 - 保持原有样式
   ============================================ */

/* 不覆盖原有的header-logo-bar样式，保持style.css中的定义 */

/* ============================================
   导航栏 - 修复抖动问题
   ============================================ */

/* 防止菜单文字抖动 - 强制使用稳定的字体渲染 */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* 防止active状态时的文字粗细变化导致抖动 */
.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link,
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link.active {
    font-weight: 500 !important;
}

/* 防止hover时的布局变化 */
.ftco-navbar-light .navbar-nav > .nav-item {
    white-space: nowrap;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link span {
    display: inline-block;
}

/* ============================================
   Hero区域 - 非首页背景图修复
   ============================================ */

/* 非首页页面使用灰色背景（当inline style设置了background-image: none时），图片加载后会被替换 */
.hero-wrap[style*="background-image: none"] {
    background: #f5f5f5 !important;
    min-height: 350px;
}

.hero-wrap[style*="background-image: none"] .overlay {
    background: transparent;
}

/* 灰色背景时，文字使用深色 */
.hero-wrap[style*="background-image: none"] h1.bread {
    color: var(--text-dark);
}

.hero-wrap[style*="background-image: none"] .breadcrumbs {
    color: var(--text-medium);
}

.hero-wrap[style*="background-image: none"] .breadcrumbs a {
    color: var(--primary);
}

/* 背景图加载后，添加hero-loaded类，文字使用白色 */
.hero-wrap.hero-loaded {
    background-size: cover;
    background-position: center;
}

.hero-wrap.hero-loaded h1.bread {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.hero-wrap.hero-loaded .breadcrumbs {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.hero-wrap.hero-loaded .breadcrumbs a {
    color: #fff;
}

.hero-wrap.hero-loaded .breadcrumbs a:hover {
    text-decoration: underline;
}

.hero-wrap.hero-loaded .overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   区块标题
   ============================================ */

.heading-section .subheading {
    display: inline-block;
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--accent-light);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.heading-section h2 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.heading-section p {
    color: var(--text-medium);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   按钮
   ============================================ */

.btn-primary,
.btn-custom,
.btn.btn-primary {
    background: var(--primary-gradient) !important;
    border: 1px solid var(--primary) !important;
    color: #fff !important;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover,
.btn-custom:hover,
.btn.btn-primary:hover {
    background: var(--primary-gradient-hover) !important;
    border: 1px solid var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
    color: #fff !important;
}

.btn-secondary,
.btn.btn-secondary {
    background: var(--primary-gradient) !important;
    border: 1px solid var(--primary) !important;
    color: #fff !important;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-primary);
}

.btn-secondary:hover,
.btn.btn-secondary:hover {
    background: var(--primary-gradient-hover) !important;
    border: 1px solid var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
    color: #fff !important;
}

.btn-outline-primary,
.btn.btn-primary.btn-outline-primary {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    padding: 10px 26px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.btn-outline-primary:hover,
.btn.btn-primary.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.btn-white,
.btn.btn-white {
    background: #fff !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover,
.btn.btn-white:hover {
    background: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ============================================
   卡片样式
   ============================================ */

.card-modern {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-modern .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-modern .card-body {
    padding: 25px;
}

.card-modern .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-modern .card-text {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   侧边栏分类
   ============================================ */

.sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.sidebar-title,
.heading-sidebar {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.sidebar-title i,
.heading-sidebar i {
    margin-right: 10px;
    color: var(--primary);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 4px;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.category-link:hover {
    background: var(--bg-blue-light);
    color: var(--primary);
    padding-left: 20px;
}

.category-link.active {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.category-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.category-count {
    margin-left: auto;
    background: var(--bg-gray);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.category-link.active .category-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ============================================
   产品/图库卡片
   ============================================ */

.item-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.item-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--bg-gray);
    transition: var(--transition-normal);
}

.item-card:hover .item-card-img {
    transform: scale(1.05);
}

.item-card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.item-card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 85, 165, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.item-card:hover .item-card-img-wrapper::after {
    opacity: 1;
}

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

.item-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.item-card-title a {
    color: inherit;
}

.item-card-title a:hover {
    color: var(--primary);
}

.item-card-desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.item-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.item-card-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-primary);
}

.item-card-btn:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-primary-lg);
    color: #fff;
}

.item-card-btn i {
    margin-left: 8px;
    transition: var(--transition-fast);
}

.item-card:hover .item-card-btn i {
    transform: translateX(3px);
}

/* ============================================
   图库卡片
   ============================================ */

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-normal);
    display: block;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.gallery-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: var(--transition-normal);
}

.gallery-card:hover .gallery-card-img {
    transform: scale(1.08);
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 85, 165, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.gallery-card:hover .gallery-card-icon {
    transform: scale(1);
}

/* ============================================
   分页
   ============================================ */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.custom-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.custom-pagination li a,
.custom-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.custom-pagination li a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--accent-light);
}

.custom-pagination li.active span {
    background: var(--primary-gradient);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.custom-pagination li.disabled span {
    color: #ccc;
    cursor: not-allowed;
    background: var(--bg-gray);
}

.block-27 ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.block-27 ul li a,
.block-27 ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.block-27 ul li a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--accent-light);
}

.block-27 ul li.active a,
.block-27 ul li.active span {
    background: var(--primary-gradient);
    border-color: var(--primary);
    color: #fff;
}

.block-27 ul li.disabled a,
.block-27 ul li.disabled span {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   表单
   ============================================ */

.form-control {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 165, 0.15);
}

.form-control::placeholder {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================
   页脚
   ============================================ */

.ftco-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

.ftco-footer h2.ftco-heading-2 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.ftco-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.ftco-footer ul li {
    margin-bottom: 10px;
}

.ftco-footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition-fast);
}

.ftco-footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.ftco-footer ul li a span.fa-chevron-right {
    font-size: 10px;
}

.ftco-footer .block-23 ul li {
    display: flex;
    align-items: flex-start;
}

.ftco-footer .block-23 ul li span {
    margin-right: 15px;
    color: var(--primary-light);
}

.ftco-footer .bg-primary {
    background: #111111 !important;
}

.ftco-footer .bg-primary p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   语言切换
   ============================================ */

.lang-dropdown {
    position: relative;
    margin-left: 15px;
    z-index: 99999;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    min-width: 110px;
}

.lang-dropdown-toggle:hover {
    background: var(--primary);
    color: #fff;
}

.lang-dropdown-toggle:hover .flag-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lang-dropdown-toggle:hover #currentLangText {
    color: #fff;
}

.lang-dropdown-toggle .flag-icon {
    font-size: 11px;
    font-weight: 700;
    background: var(--accent-light);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--primary);
    transition: var(--transition-fast);
}

.lang-dropdown-toggle #currentLangText {
    flex: 1;
    color: var(--primary);
    transition: var(--transition-fast);
}

.lang-dropdown-toggle .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition-fast);
}

.lang-dropdown.open .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: 99999;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
}

.lang-dropdown-item:hover {
    background: var(--bg-blue-light);
    color: var(--primary);
}

.lang-dropdown-item.active {
    background: var(--accent-light);
    color: var(--primary);
    font-weight: 600;
}

.lang-dropdown-item .flag-icon {
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-gray);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-dark);
}

/* ============================================
   数字统计区块
   ============================================ */

.block-18 {
    text-align: center;
    padding: 20px;
}

.block-18 .number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.block-18 span {
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

/* ============================================
   服务卡片
   ============================================ */

.services-wrap {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    height: 100%;
}

.services-wrap:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.services-wrap .img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-gray);
    transition: var(--transition-normal);
}

.services-wrap:hover .img {
    transform: scale(1.03);
}

.services-wrap .text {
    padding: 25px;
}

.services-wrap .text h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.services-wrap .text p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

.services-wrap .icon {
    background: var(--primary-gradient) !important;
    box-shadow: var(--shadow-primary);
}

/* ============================================
   博客/新闻卡片
   ============================================ */

.blog-entry {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    height: 100%;
}

.blog-entry:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-entry .block-20 {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-gray);
    display: block;
}

.blog-entry .text {
    padding: 25px;
}

.blog-entry .meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-entry .meta a {
    color: var(--text-light);
}

.blog-entry .meta a:hover {
    color: var(--primary);
}

.blog-entry .heading {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-entry .heading a {
    color: var(--text-dark);
}

.blog-entry .heading a:hover {
    color: var(--primary);
}

/* ============================================
   联系信息区块
   ============================================ */

.dbox {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-blue-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.dbox .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: var(--shadow-primary);
}

.dbox .icon span {
    color: #fff;
}

.dbox .text span {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.dbox .text p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 15px;
}

/* ============================================
   FAQ 手风琴
   ============================================ */

.faq-section .card {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.faq-section .card-header {
    background: var(--bg-white);
    border: none;
    padding: 0;
}

.faq-section .card-header button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.faq-section .card-header button:hover {
    background: var(--bg-blue-light);
}

.faq-section .card-header button.collapsed {
    color: var(--text-medium);
}

.faq-section .card-header button:not(.collapsed) {
    color: var(--primary);
    background: var(--accent-light);
}

.faq-section .card-header button i {
    transition: var(--transition-fast);
    color: var(--primary);
}

.faq-section .card-header button:not(.collapsed) i {
    transform: rotate(180deg);
}

.faq-section .card-body {
    padding: 0 20px 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   CTA 区块
   ============================================ */

.bg-primary {
    background: var(--primary-gradient) !important;
}

.ftco-no-pt {
    padding-top: 0;
}

.ftco-no-pb {
    padding-bottom: 0;
}

/* ============================================
   移动端适配
   ============================================ */

.mobile-category-btn {
    display: none;
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.mobile-category-btn i {
    margin-right: 10px;
    color: var(--primary);
}

@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        z-index: 9999;
        border-radius: 0;
        transition: var(--transition-normal);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }

    .sidebar.show {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        backdrop-filter: blur(2px);
    }

    .sidebar-overlay.show {
        display: block;
    }

    .mobile-category-btn {
        display: block;
    }

    .sidebar-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        background: var(--bg-gray);
        border: none;
        border-radius: 50%;
        font-size: 18px;
        color: var(--text-medium);
        cursor: pointer;
        transition: var(--transition-fast);
    }

    .sidebar-close:hover {
        background: var(--primary);
        color: #fff;
    }
}

@media (min-width: 992px) {
    .sidebar-close {
        display: none;
    }
}

/* ============================================
   动画效果
   ============================================ */

.ftco-animate {
    opacity: 0;
    visibility: hidden;
}

.ftco-animated {
    opacity: 1;
    visibility: visible;
}

/* 加载器 - 使用深色中性背景 */
#ftco-loader {
    background: #1a1a2e;
}

#ftco-loader .path {
    stroke: #fff;
}

#ftco-loader .path-bg {
    stroke: rgba(255, 255, 255, 0.2);
}

/* ============================================
   其他组件
   ============================================ */

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.4;
    color: var(--primary);
}

.empty-state p {
    font-size: 16px;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

/* 分隔线 */
.divider {
    height: 1px;
    background: var(--border-light);
    margin: 30px 0;
}

/* 选择文本 */
::selection {
    background: var(--primary);
    color: #fff;
}

/* Toast 提示 */
.toast-message {
    background: var(--primary-gradient) !important;
}

.toast-message.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.toast-message.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.toast-message.warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #333 !important;
}

/* ============================================
   产品页面特定样式
   ============================================ */

.product-page-wrapper,
.gallery-page-wrapper {
    padding: 60px 0;
    background: var(--bg-light);
}

.product-sidebar,
.gallery-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 100px;
}

.product-sidebar-title,
.gallery-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.product-sidebar-title i,
.gallery-sidebar-title i {
    margin-right: 8px;
    color: var(--primary);
}

.product-card,
.gallery-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.product-card:hover,
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-btn {
    background: var(--primary-gradient);
    box-shadow: var(--shadow-primary);
}

.product-card-btn:hover {
    box-shadow: var(--shadow-primary-lg);
}

/* ============================================
   新闻页面特定样式
   ============================================ */

.news-list-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.news-list-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.news-list-item .news-title a:hover {
    color: var(--primary);
}

.news-list-item .news-btn {
    color: var(--primary);
}

.news-list-item .news-btn:hover {
    color: var(--primary-dark);
}

/* ============================================
   产品详情页特定样式
   ============================================ */

.product-gallery .main-image {
    background-color: var(--bg-light);
    box-shadow: var(--shadow-md);
}

.product-gallery .thumb-images .thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 85, 165, 0.3);
}

.product-info .product-badge {
    background: var(--primary-gradient);
}

.product-highlights .highlight-item {
    background: var(--accent-light);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.product-highlights .highlight-item:hover {
    background: linear-gradient(135deg, #d0e8ff 0%, #b8dcff 100%);
}

.product-highlights .highlight-item i {
    color: var(--primary);
}

.product-cta .btn-primary {
    box-shadow: var(--shadow-primary);
}

.product-cta .btn-primary:hover {
    box-shadow: var(--shadow-primary-lg);
}

.product-cta .btn-outline-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-detail-section .section-title {
    border-bottom: 3px solid var(--primary);
}

.product-content {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   轮播图
   ============================================ */

.banner-carousel .item {
    position: relative;
}

/* 轮播图容器 - 加载时不显示蓝色背景 */
.banner-carousel {
    background-color: #f5f5f5 !important;
    background-image: none !important;
}

/* Owl Carousel加载时的背景 */
.owl-carousel {
    background-color: #f5f5f5;
}

.owl-carousel .owl-stage-outer {
    background-color: #f5f5f5;
}

.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.5);
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #fff;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    background: var(--bg-blue-gradient) !important;
}

.hero-section h1 {
    color: var(--text-dark) !important;
}

.hero-section p {
    color: var(--text-medium) !important;
}

/* ============================================
   About Section
   ============================================ */

.about-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ============================================
   Section 背景
   ============================================ */

.ftco-section {
    padding: 80px 0;
}

.ftco-section.bg-light {
    background: var(--bg-light) !important;
}

/* ============================================
   响应式调整
   ============================================ */

@media (max-width: 767px) {
    .hero-wrap h1.bread {
        font-size: 2rem;
    }

    .heading-section .subheading {
        font-size: 20px;
    }

    .heading-section h2 {
        font-size: 12px;
    }

    .block-18 .number {
        font-size: 36px;
    }

    .ftco-section {
        padding: 50px 0;
    }
}
