/* ============================================================
   铁墨佳建站 tiemojia.cn - 主样式表
   风格：遮阳帽户外风 | 米白+军绿+卡其 | 硬朗折线分割布局
   纯CSS3，无框架依赖
   ============================================================ */

/* ---------- CSS变量定义 ---------- */
:root {
    /* 主色系 */
    --cream: #F5F1E8;          /* 米白 */
    --cream-dark: #EDE8DC;     /* 深米白 */
    --cream-light: #FAF8F3;    /* 浅米白 */
    --army: #4A5D3A;           /* 军绿 */
    --army-dark: #3A4A2E;      /* 深军绿 */
    --army-light: #6B7A58;     /* 浅军绿 */
    --army-mid: #556845;       /* 中军绿 */
    --khaki: #C4B896;          /* 卡其 */
    --khaki-dark: #A89B7A;     /* 深卡其 */
    --khaki-light: #D9CFB8;    /* 浅卡其 */
    --khaki-pale: #E8E0CC;     /* 淡卡其 */

    /* 文字色 */
    --text-dark: #2C2C2C;
    --text-mid: #555555;
    --text-light: #888888;
    --text-white: #FFFFFF;

    /* 功能色 */
    --accent: #B87333;         /* 铜色点缀 */
    --success: #5A7A4A;
    --warning: #C49A3A;

    /* 布局 */
    --container-max: 1280px;
    --nav-height: 72px;
    --section-pad: 100px;
    --section-pad-mobile: 60px;

    /* 字体 */
    --font-main: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    --font-title: "Microsoft YaHei", "SimHei", sans-serif;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

    /* 过渡 */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--army);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

p {
    margin-bottom: 16px;
}

/* ---------- 通用容器 ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--army);
    color: var(--text-white);
    border-color: var(--army);
}

.btn-primary:hover {
    background-color: var(--army-dark);
    border-color: var(--army-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--army);
    border-color: var(--army);
}

.btn-outline:hover {
    background-color: var(--army);
    color: var(--text-white);
}

.btn-khaki {
    background-color: var(--khaki);
    color: var(--army-dark);
    border-color: var(--khaki);
}

.btn-khaki:hover {
    background-color: var(--khaki-dark);
    border-color: var(--khaki-dark);
    color: var(--text-white);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* 折线切角按钮 */
.btn-clip {
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* ---------- 区块通用 ---------- */
section {
    position: relative;
}

.section-pad {
    padding: var(--section-pad) 0;
}

.section-pad-top {
    padding-top: var(--section-pad);
}

.section-pad-bottom {
    padding-bottom: var(--section-pad);
}

.bg-cream {
    background-color: var(--cream);
}

.bg-cream-dark {
    background-color: var(--cream-dark);
}

.bg-army {
    background-color: var(--army);
    color: var(--text-white);
}

.bg-army h2, .bg-army h3, .bg-army h4 {
    color: var(--text-white);
}

.bg-khaki {
    background-color: var(--khaki-pale);
}

.bg-khaki-dark {
    background-color: var(--khaki-light);
}

/* ---------- 区块标题 ---------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header .label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--army);
    font-weight: 600;
    margin-bottom: 16px;
    padding: 6px 20px;
    border: 1px solid var(--army-light);
    background-color: rgba(74,93,58,0.05);
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--army);
    margin: 20px auto 0;
    position: relative;
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: var(--khaki-dark);
}

.section-header p {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--text-mid);
    font-size: 16px;
}

/* 左侧标题样式 */
.section-header-left {
    text-align: left;
    margin-bottom: 48px;
}

.section-header-left .label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--army);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header-left h2 {
    font-size: 36px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--army);
}

/* ============================================================
   导航栏
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background-color: transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    background-color: rgba(245,241,232,0.97);
    box-shadow: var(--shadow-sm);
    height: 64px;
    backdrop-filter: blur(10px);
}

.site-header .header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo img {
    height: 44px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
    font-family: var(--font-title);
}

.site-header.scrolled .site-logo .logo-text {
    color: var(--army-dark);
}

.site-logo .logo-sub {
    font-size: 11px;
    color: var(--khaki-light);
    letter-spacing: 3px;
    display: block;
    margin-top: -2px;
}

.site-header.scrolled .site-logo .logo-sub {
    color: var(--text-light);
}

/* 主导航 */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.site-header.scrolled .main-nav > li > a {
    color: var(--text-dark);
}

.main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--khaki);
    transition: var(--transition);
}

.main-nav > li > a:hover::after,
.main-nav > li.active > a::after {
    width: 24px;
}

.main-nav > li > a:hover,
.main-nav > li.active > a {
    color: var(--khaki);
}

.site-header.scrolled .main-nav > li > a:hover,
.site-header.scrolled .main-nav > li.active > a {
    color: var(--army);
}

/* 下拉菜单 */
.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--cream-light);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 12px 0;
    border-top: 3px solid var(--army);
}

.main-nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-mid);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.main-nav .dropdown li a:hover {
    background-color: rgba(74,93,58,0.06);
    color: var(--army);
    border-left-color: var(--army);
    padding-left: 28px;
}

/* 头部CTA按钮 */
.header-cta {
    flex-shrink: 0;
    margin-left: 20px;
}

.header-cta .btn {
    padding: 10px 28px;
    font-size: 14px;
    background-color: var(--khaki);
    color: var(--army-dark);
    border-color: var(--khaki);
}

.header-cta .btn:hover {
    background-color: var(--khaki-dark);
    color: var(--text-white);
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
    transform-origin: center;
}

.site-header.scrolled .hamburger span {
    background-color: var(--army-dark);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端导航遮罩 */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
}

/* ============================================================
   Hero / Banner 区域
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--army-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58,74,46,0.85) 0%, rgba(74,93,58,0.6) 50%, rgba(196,184,150,0.3) 100%);
}

/* 折线装饰遮罩 */
.hero-clip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background-color: var(--cream);
    clip-path: polygon(0 60%, 15% 40%, 30% 55%, 45% 35%, 60% 50%, 75% 30%, 90% 45%, 100% 35%, 100% 100%, 0 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    padding-top: var(--nav-height);
}

.hero-content .hero-label {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--khaki);
    font-weight: 600;
    margin-bottom: 24px;
    padding: 8px 24px;
    border: 1px solid rgba(196,184,150,0.4);
    background-color: rgba(196,184,150,0.1);
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 56px;
    color: var(--text-white);
    margin-bottom: 24px;
    max-width: 720px;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content h1 .highlight {
    color: var(--khaki);
    position: relative;
}

.hero-content .hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-content .hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-content .hero-btns .btn-outline {
    color: var(--text-white);
    border-color: rgba(255,255,255,0.5);
}

.hero-content .hero-btns .btn-outline:hover {
    background-color: var(--text-white);
    color: var(--army-dark);
    border-color: var(--text-white);
}

/* Hero数据统计条 */
.hero-stats {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 60px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.hero-stats .stat-item {
    padding: 24px 20px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.hero-stats .stat-item:first-child {
    border-left: none;
}

.hero-stats .stat-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--khaki);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stats .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    letter-spacing: 1px;
}

/* 内页Banner */
.page-banner {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--army-dark);
}

.page-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-banner .banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(58,74,46,0.9) 0%, rgba(74,93,58,0.7) 60%, rgba(196,184,150,0.4) 100%);
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    padding-top: var(--nav-height);
}

.page-banner .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.page-banner .breadcrumb a {
    color: var(--khaki);
}

.page-banner .breadcrumb a:hover {
    text-decoration: underline;
}

.page-banner .breadcrumb span {
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}

.page-banner h1 {
    font-size: 42px;
    color: var(--text-white);
    font-weight: 800;
    margin-bottom: 12px;
}

.page-banner .banner-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

/* 折线底部装饰 */
.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--cream);
    clip-path: polygon(0 70%, 10% 50%, 20% 65%, 30% 45%, 40% 60%, 50% 40%, 60% 55%, 70% 35%, 80% 50%, 90% 40%, 100% 55%, 100% 100%, 0 100%);
    z-index: 3;
}

/* ============================================================
   特色服务网格 - 首页
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-card {
    position: relative;
    padding: 48px 32px;
    background-color: var(--cream-light);
    border: 1px solid var(--khaki-pale);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--army);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    background-color: var(--army);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74,93,58,0.1);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: rgba(255,255,255,0.15);
}

.feature-card .feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--army);
    transition: var(--transition);
}

.feature-card:hover .feature-icon svg {
    fill: var(--khaki);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.feature-card:hover h3 {
    color: var(--text-white);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 20px;
    line-height: 1.7;
    transition: var(--transition);
}

.feature-card:hover p {
    color: rgba(255,255,255,0.8);
}

.feature-card .feature-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--army);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.feature-card:hover .feature-link {
    color: var(--khaki);
}

.feature-card .feature-link::after {
    content: '→';
    transition: var(--transition);
}

.feature-card:hover .feature-link::after {
    transform: translateX(4px);
}

/* ============================================================
   关于我们 - 图文交错
   ============================================================ */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-split.reverse .about-image {
    order: 2;
}

.about-image {
    position: relative;
}

.about-image .img-frame {
    position: relative;
    overflow: hidden;
}

.about-image .img-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover .img-frame img {
    transform: scale(1.05);
}

/* 折线相框装饰 */
.about-image .img-frame::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--khaki);
    z-index: -1;
}

.about-image .img-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: var(--army);
    color: var(--text-white);
    padding: 20px 28px;
    text-align: center;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.about-image .img-badge .num {
    font-size: 36px;
    font-weight: 800;
    color: var(--khaki);
    line-height: 1;
}

.about-image .img-badge .text {
    font-size: 13px;
    margin-top: 4px;
    letter-spacing: 1px;
}

.about-text .label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--army);
    font-weight: 600;
    margin-bottom: 16px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text > p {
    color: var(--text-mid);
    margin-bottom: 20px;
    font-size: 15px;
}

.about-text .about-points {
    margin: 32px 0;
}

.about-text .about-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-dark);
}

.about-text .about-points li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background-color: var(--army);
    margin-top: 8px;
    transform: rotate(45deg);
}

/* ============================================================
   服务列表 - 卡片式
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background-color: var(--cream-light);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--khaki-pale);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card .card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .card-img img {
    transform: scale(1.08);
}

.service-card .card-img .card-num {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--army);
    color: var(--khaki);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    letter-spacing: 2px;
}

.service-card .card-body {
    padding: 28px;
}

.service-card .card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card .card-body p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card .card-body .card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--army);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .card-body .card-link:hover {
    color: var(--army-dark);
    gap: 10px;
}

/* ============================================================
   案例展示 - 网格瀑布
   ============================================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--army-dark);
}

.case-item .case-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.case-item .case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.case-item:hover .case-img img {
    transform: scale(1.1);
    opacity: 0.6;
}

.case-item .case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    background: linear-gradient(transparent, rgba(58,74,46,0.95));
    transform: translateY(30%);
    transition: var(--transition);
}

.case-item:hover .case-overlay {
    transform: translateY(0);
}

.case-item .case-cat {
    font-size: 12px;
    color: var(--khaki);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.case-item .case-title {
    font-size: 20px;
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.case-item .case-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    opacity: 0;
    transition: var(--transition);
    margin-bottom: 12px;
}

.case-item:hover .case-desc {
    opacity: 1;
}

.case-item .case-link {
    font-size: 13px;
    color: var(--khaki);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: var(--transition);
}

.case-item:hover .case-link {
    opacity: 1;
}

/* ============================================================
   资讯列表
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--cream-light);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--khaki-pale);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-card .news-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-img img {
    transform: scale(1.06);
}

.news-card .news-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--army);
    color: var(--text-white);
    text-align: center;
    padding: 8px 14px;
    line-height: 1.2;
}

.news-card .news-date .day {
    font-size: 22px;
    font-weight: 800;
    display: block;
}

.news-card .news-date .month {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--khaki);
}

.news-card .news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-cat {
    font-size: 12px;
    color: var(--army);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card .news-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.news-card:hover .news-body h3 {
    color: var(--army);
}

.news-card .news-body p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    flex: 1;
}

.news-card .news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--khaki-pale);
    font-size: 13px;
    color: var(--text-light);
}

.news-card .news-meta .read-more {
    color: var(--army);
    font-weight: 600;
}

/* 资讯列表页 - 大列表样式 */
.news-list-large {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    background-color: var(--cream-light);
    padding: 24px;
    border: 1px solid var(--khaki-pale);
    transition: var(--transition);
}

.news-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-list-item .item-img {
    height: 220px;
    overflow: hidden;
}

.news-list-item .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-list-item:hover .item-img img {
    transform: scale(1.05);
}

.news-list-item .item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-item .item-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.news-list-item .item-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-list-item h3 {
    font-size: 22px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.news-list-item:hover h3 {
    color: var(--army);
}

.news-list-item p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 16px;
}

.news-list-item .item-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--army);
    align-self: flex-start;
}

/* ============================================================
   数据统计区
   ============================================================ */
.stats-section {
    background-color: var(--army-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bg2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stats-grid .stat-box {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stats-grid .stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.15);
}

.stats-grid .stat-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--khaki);
    line-height: 1;
    margin-bottom: 12px;
}

.stats-grid .stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
}

/* ============================================================
   流程步骤
   ============================================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    position: relative;
    padding: 40px 24px;
    text-align: center;
    background-color: var(--cream-light);
    border: 1px solid var(--khaki-pale);
    transition: var(--transition);
}

.process-step:hover {
    background-color: var(--army);
    z-index: 2;
}

.process-step .step-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--khaki-pale);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.process-step:hover .step-num {
    color: rgba(255,255,255,0.2);
}

.process-step .step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74,93,58,0.1);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background-color: rgba(255,255,255,0.15);
}

.process-step .step-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--army);
    transition: var(--transition);
}

.process-step:hover .step-icon svg {
    fill: var(--khaki);
}

.process-step h4 {
    font-size: 17px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.process-step:hover h4 {
    color: var(--text-white);
}

.process-step p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.6;
    transition: var(--transition);
}

.process-step:hover p {
    color: rgba(255,255,255,0.75);
}

/* ============================================================
   价格方案
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--cream-light);
    border: 1px solid var(--khaki-pale);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background-color: var(--army);
    border-color: var(--army);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card .pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--khaki);
    color: var(--army-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    letter-spacing: 2px;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-card.featured h3 {
    color: var(--text-white);
}

.pricing-card .pricing-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.pricing-card.featured .pricing-desc {
    color: rgba(255,255,255,0.7);
}

.pricing-card .pricing-price {
    margin-bottom: 28px;
}

.pricing-card .pricing-price .currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: top;
}

.pricing-card .pricing-price .amount {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.pricing-card.featured .pricing-price {
    color: var(--khaki);
}

.pricing-card .pricing-price .period {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}

.pricing-card.featured .pricing-price .period {
    color: rgba(255,255,255,0.6);
}

.pricing-card .pricing-features {
    text-align: left;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-card .pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--khaki-pale);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
}

.pricing-card .pricing-features li::before {
    content: '✓';
    color: var(--army);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--khaki);
}

/* ============================================================
   客户评价 / 合作伙伴
   ============================================================ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-item {
    background-color: var(--cream-light);
    border: 1px solid var(--khaki-pale);
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    filter: grayscale(0.3);
}

.partner-item:hover {
    filter: grayscale(0);
    border-color: var(--army);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.partner-item .partner-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--army-dark);
    letter-spacing: 1px;
    text-align: center;
}

/* ============================================================
   FAQ 折叠面板
   ============================================================ */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--cream-light);
    border: 1px solid var(--khaki-pale);
    margin-bottom: 16px;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--army);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-item.active .faq-question {
    color: var(--army);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--khaki-pale);
    color: var(--army);
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
}

.faq-item.active .faq-question .faq-icon {
    background-color: var(--army);
    color: var(--text-white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
}

/* ============================================================
   联系表单
   ============================================================ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-mid);
    margin-bottom: 32px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--khaki-pale);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list .info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--army);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-list .info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--khaki);
}

.contact-info-list .info-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info-list .info-content p {
    font-size: 14px;
    color: var(--text-mid);
    margin: 0;
}

.contact-form {
    background-color: var(--cream-light);
    padding: 40px;
    border: 1px solid var(--khaki-pale);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-main);
    border: 1px solid var(--khaki-light);
    background-color: var(--cream);
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--army);
    box-shadow: 0 0 0 3px rgba(74,93,58,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 8px;
}

/* ============================================================
   团队成员
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    position: relative;
    overflow: hidden;
    background-color: var(--cream-light);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-card .team-img {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.team-card .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-img img {
    transform: scale(1.06);
}

.team-card .team-info {
    padding: 20px;
    text-align: center;
}

.team-card .team-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.team-card .team-info .position {
    font-size: 13px;
    color: var(--army);
    letter-spacing: 2px;
}

/* ============================================================
   案例详情页
   ============================================================ */
.case-detail-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.case-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(58,74,46,0.9) 100%);
}

.case-detail-hero .hero-caption {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.case-detail-hero .hero-caption .cat {
    font-size: 14px;
    color: var(--khaki);
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.case-detail-hero .hero-caption h1 {
    font-size: 42px;
    color: var(--text-white);
    max-width: 700px;
}

.case-meta-bar {
    background-color: var(--army-dark);
    padding: 32px 0;
}

.case-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.case-meta-item {
    text-align: center;
}

.case-meta-item .meta-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.case-meta-item .meta-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--khaki);
}

.case-content {
    padding: 80px 0;
}

.case-content .content-body {
    max-width: 860px;
    margin: 0 auto;
}

.case-content .content-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid var(--army);
}

.case-content .content-body h3 {
    font-size: 22px;
    margin: 32px 0 16px;
}

.case-content .content-body p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.case-content .content-body img {
    width: 100%;
    margin: 30px 0;
}

.case-content .content-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.case-content .content-body ul li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-mid);
    list-style: disc;
}

/* ============================================================
   资讯详情页
   ============================================================ */
.article-detail {
    padding: 80px 0;
}

.article-detail .article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--khaki-pale);
}

.article-detail .article-header .article-cat {
    display: inline-block;
    font-size: 13px;
    color: var(--army);
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-detail .article-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-detail .article-header .article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.article-detail .article-header .article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-detail .article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-detail .article-body p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-mid);
    margin-bottom: 24px;
}

.article-detail .article-body h2 {
    font-size: 26px;
    margin: 40px 0 20px;
}

.article-detail .article-body h3 {
    font-size: 20px;
    margin: 32px 0 16px;
}

.article-detail .article-body img {
    width: 100%;
    margin: 30px 0;
}

.article-detail .article-body blockquote {
    border-left: 4px solid var(--army);
    padding: 20px 28px;
    background-color: var(--khaki-pale);
    margin: 30px 0;
    font-size: 17px;
    font-style: italic;
    color: var(--army-dark);
}

.article-tags {
    max-width: 800px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--khaki-pale);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags a {
    padding: 6px 16px;
    background-color: var(--khaki-pale);
    font-size: 13px;
    color: var(--army);
    transition: var(--transition);
}

.article-tags a:hover {
    background-color: var(--army);
    color: var(--text-white);
}

/* 相关文章 */
.related-news {
    padding: 60px 0 80px;
    background-color: var(--cream-dark);
}

.related-news .section-header {
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-item {
    background-color: var(--cream-light);
    overflow: hidden;
    transition: var(--transition);
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-item .related-img {
    height: 160px;
    overflow: hidden;
}

.related-item .related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.related-item:hover .related-img img {
    transform: scale(1.06);
}

.related-item .related-body {
    padding: 18px;
}

.related-item .related-body h4 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
    transition: var(--transition);
}

.related-item:hover .related-body h4 {
    color: var(--army);
}

.related-item .related-body .date {
    font-size: 12px;
    color: var(--text-light);
}

/* ============================================================
   CTA 行动召唤区
   ============================================================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: var(--army-dark);
}

.cta-section .cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-section .cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.cta-section .cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 40px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
}

.cta-section .cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
    background-color: #2A3320;
    color: rgba(255,255,255,0.7);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 17px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: var(--khaki);
}

.footer-col .footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-col .footer-logo img {
    height: 36px;
}

.footer-col .footer-logo .logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '›';
    color: var(--khaki);
    font-size: 16px;
}

.footer-links li a:hover {
    color: var(--khaki);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    fill: var(--khaki);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom .copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom .footer-menu {
    display: flex;
    gap: 24px;
}

.footer-bottom .footer-menu a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-bottom .footer-menu a:hover {
    color: var(--khaki);
}

/* ============================================================
   404页面
   ============================================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cream);
    text-align: center;
    padding: 40px 24px;
}

.error-page .error-code {
    font-size: 180px;
    font-weight: 900;
    color: var(--army);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -10px;
}

.error-page h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

.error-page p {
    font-size: 16px;
    color: var(--text-mid);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   滚动渐入动画
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   回到顶部按钮
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--army);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    font-size: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--army-dark);
    transform: translateY(-4px);
}

/* ============================================================
   响应式设计
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid,
    .cases-grid,
    .news-grid,
    .pricing-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .stats-grid .stat-box:not(:last-child)::after {
        display: none;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .about-split {
        gap: 50px;
    }
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .case-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
        --nav-height: 60px;
    }

    /* 移动端导航 */
    .hamburger {
        display: flex;
    }

    .mobile-overlay {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--cream-light);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 30px;
        gap: 0;
        overflow-y: auto;
        transition: right 0.35s ease;
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav > li > a {
        color: var(--text-dark);
        padding: 14px 16px;
        border-bottom: 1px solid var(--khaki-pale);
    }

    .main-nav > li > a::after {
        display: none;
    }

    .main-nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        border-top: none;
        display: none;
        background-color: var(--cream-dark);
    }

    .main-nav > li.dropdown-open .dropdown {
        display: block;
    }

    .header-cta {
        display: none;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 34px;
    }
    .hero-content .hero-desc {
        font-size: 15px;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
    }
    .hero-stats .stat-item {
        padding: 16px 12px;
    }
    .hero-stats .stat-num {
        font-size: 32px;
    }

    /* 内页Banner */
    .page-banner {
        height: 320px;
    }
    .page-banner h1 {
        font-size: 28px;
    }

    /* 网格 */
    .features-grid,
    .services-grid,
    .cases-grid,
    .news-grid,
    .pricing-grid,
    .related-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 关于 */
    .about-split,
    .about-split.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-split.reverse .about-image {
        order: 0;
    }
    .about-image .img-frame img {
        height: 320px;
    }
    .about-text h2 {
        font-size: 28px;
    }

    /* 资讯大列表 */
    .news-list-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-list-item .item-img {
        height: 200px;
    }

    /* 表单 */
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 28px 20px;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* 区块标题 */
    .section-header h2 {
        font-size: 28px;
    }
    .section-header-left h2 {
        font-size: 26px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 28px;
    }

    /* 案例详情 */
    .case-detail-hero {
        height: 360px;
    }
    .case-detail-hero .hero-caption h1 {
        font-size: 28px;
    }
    .case-meta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* 文章详情 */
    .article-detail .article-header h1 {
        font-size: 26px;
    }
    .article-detail .article-header .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    /* 404 */
    .error-page .error-code {
        font-size: 120px;
    }

    /* 价格 */
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .case-meta-grid {
        grid-template-columns: 1fr;
    }
    .hero-content .hero-btns {
        flex-direction: column;
    }
    .hero-content .hero-btns .btn {
        width: 100%;
    }
}
