/* ========================================
   华琪达科技 HOKYDA - 官网样式表
   配色规范：深蓝 #1E5AA8 / 青绿 #2DD1C0
   ======================================== */

/* === CSS变量 === */
:root {
    /* 核心色 */
    --primary: #1E5AA8;
    --primary-hover: #184a87;
    --primary-light: rgba(30, 90, 168, 0.08);
    --accent: #2DD1C0;
    --accent-hover: #22b8a8;
    --accent-light: rgba(45, 209, 192, 0.1);
    --accent-dark: #22b8a8;

    /* 中性色 */
    --black: #000000;
    --text-title: #333333;
    --text-body: #333333;
    --text-secondary: #666666;
    --text-aux: #999999;
    --text-white: #FFFFFF;

    /* 背景 */
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-dark: #1a1a2e;

    /* 边框和分割 */
    --border-color: #E5E9F0;

    /* 渐变 */
    --gradient-brand: linear-gradient(135deg, #1E5AA8 0%, #2DD1C0 100%);
    --gradient-accent: linear-gradient(135deg, #2DD1C0, #00e8d0);
    --gradient-dark: linear-gradient(135deg, #1E5AA8, #184a87);

    /* 功能色 */
    --success: #52C41A;
    --warning: #FAAD14;
    --error: #FF4D4F;
    --info: #1890FF;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 全局样式 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === 渐变文字 === */
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === 按钮 === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(30, 90, 168, 0.25);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 209, 192, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* === 页面Banner（子页面通用，具体背景图和高度由各页面内联样式覆盖） === */
.page-banner {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f3460 100%);
    text-align: center;
    color: var(--text-white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--accent);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-hover);
}

/* === 产品服务详情页 === */
.services-detail {
    padding: 100px 0;
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    text-align: center;
    color: var(--text-white);
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 32px;
}

.cta-section .btn {
    background: var(--text-white);
    color: var(--primary);
    padding: 14px 40px;
    font-size: 16px;
}

.cta-section .btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* === 区块通用标题 === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: var(--accent-light);
    color: var(--accent-hover);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 233, 240, 0.5);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-title);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 11px;
    font-weight: 400;
    color: var(--accent);
    display: block;
    letter-spacing: 3px;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 500;
}

.nav-actions .btn {
    padding: 10px 24px;
    font-size: 14px;
}

.nav-actions .btn-primary {
    background: var(--gradient-brand);
    color: var(--text-white);
    box-shadow: 0 2px 12px rgba(30, 90, 168, 0.25);
}

.nav-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 90, 168, 0.35);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-title);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Banner区
   ======================================== */
.hero {
    position: relative;
    height: 66.67vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero > .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #2DD1C0, #00e8d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: var(--accent);
    color: var(--text-white);
}

.hero-buttons .btn-primary:hover {
    background: var(--accent-hover);
}



.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 20;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ========================================
   核心优势
   ======================================== */
.advantages {
    padding: 100px 0;
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.advantage-card.featured::before {
    background: var(--accent);
    transform: scaleX(1);
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    color: var(--accent);
}

.advantage-icon svg {
    width: 36px;
    height: 36px;
}

.advantage-card.featured .advantage-icon {
    background: var(--accent);
    color: var(--text-white);
}

.advantage-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 16px;
}

.advantage-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   产品服务
   ======================================== */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 24px;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--accent);
    margin-bottom: 16px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-icon.small svg {
    width: 22px;
    height: 22px;
}

.service-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 10px;
}

.service-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 6px;
}

.service-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

.services-more {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ========================================
   数据统计
   ======================================== */
.stats {
    padding: 80px 0;
    background: url('assets/images/stats-bg.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    display: inline-block;
    margin-left: 2px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 8px;
    font-weight: 400;
}

/* ========================================
   成功案例
   ======================================== */
.cases {
    padding: 100px 0;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.08);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 90, 168, 0.6), transparent);
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-content {
    padding: 24px;
}

.case-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-light);
    color: var(--accent-hover);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   关于我们
   ======================================== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-title);
    font-weight: 500;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    object-fit: cover;
    height: 480px;
    box-shadow: var(--shadow-xl);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--gradient-brand);
    color: var(--text-white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.exp-number {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.exp-text {
    font-size: 14px;
    opacity: 0.85;
}

/* ========================================
   新闻资讯
   ======================================== */
.news {
    padding: 100px 0;
    background: var(--bg-white);
}

/* 轮播外层 */
.news-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.news-carousel {
    overflow: hidden;
    width: 100%;
}

.news-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 卡片宽度：桌面3列 */
.news-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

/* 分类标签 */
.news-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    color: var(--text-white);
}

.tag-case {
    background: #3b82f6;
}

.tag-company {
    background: #10b981;
}

.tag-product {
    background: #f59e0b;
}

.news-body {
    padding: 20px;
}

.news-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-title);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover .news-body h3 {
    color: var(--primary);
}

.news-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    transition: var(--transition);
}

.news-link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

/* 左右箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-title);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

/* 底部页码 */
.news-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.news-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.news-dots .dot:hover {
    background: var(--accent);
}

.news-dots .dot.active {
    width: 28px;
    border-radius: 12px;
    background: var(--primary);
}

/* ========================================
   合作伙伴
   ======================================== */
.partners {
    padding: 80px 0;
    background: var(--bg-light);
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: partnersScroll 30s linear infinite;
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 28px;
    height: 80px;
    min-width: 160px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: default;
    flex-shrink: 0;
}
.partner-logo img {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: var(--transition);
}
.partner-logo:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-logo .partner-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
.partner-logo:hover .partner-name {
    color: var(--primary);
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    max-width: 960px;
    margin: 0 auto;
}

.contact-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail .label {
    display: block;
    font-size: 12px;
    color: var(--text-aux);
    margin-bottom: 4px;
}

.contact-detail .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-title);
}

.contact-person {
    padding: 16px 20px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    font-size: 14px;
    color: var(--text-title);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    color: var(--text-white);
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   回到顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .advantages-grid,
    .services-grid,
    .services-more {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 360px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1000;
    }

    .advantages-grid,
    .services-grid,
    .services-more {
        grid-template-columns: 1fr;
    }

    .news-card {
        flex: 0 0 100%;
    }

    .carousel-prev {
        left: -10px;
    }

    .carousel-next {
        right: -10px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        max-width: 100%;
    }

    .contact-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-experience {
        left: 0;
        bottom: -16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        min-height: 400px;
    }

    .advantages,
    .services,
    .cases,
    .about,
    .contact {
        padding: 60px 0;
    }

    .page-banner {
        padding: 120px 0 50px;
    }

    .page-banner h1 {
        font-size: 32px;
    }

    .banner-desc {
        font-size: 15px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 26px;
    }

    .services-detail {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-desc {
        font-size: 14px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-item {
        padding: 12px 8px;
    }

    .contact-grid {
        max-width: 100%;
    }

    .contact-items {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        padding: 16px 20px;
        height: 64px;
        min-width: 140px;
    }
    .partner-logo img {
        max-width: 100px;
        max-height: 36px;
    }

    .page-banner {
        padding: 100px 0 40px;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .cta-section h2 {
        font-size: 22px;
    }

    .cta-section p {
        font-size: 15px;
    }
}
