/*
Theme Name: Yulinjun
Theme URI: https://yulinjun.com
Author: Yulinjun Advertising
Author URI: https://yulinjun.com
Description: 杭州御林军广告策划有限公司企业官网主题 — 餐饮一站式问题解决服务商，为品牌保驾护航。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yulinjun
Tags: one-column, two-columns, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* ========================================
   CSS Variables — 水墨沙场风格 v2.0
   Design System: Skeuomorphism + Motion + Ink-Wash Aesthetic
   ======================================== */
:root {
    /* 主色：墨黑（水墨底色） */
    --color-primary: #1a1a1a;
    /* 副色：浓墨 */
    --color-secondary: #2d2d2d;
    /* 强调色：战旗橙（火焰/烽火） */
    --color-accent: #d4622b;
    --color-accent-hover: #e8723a;
    --color-accent-glow: rgba(212, 98, 43, 0.15);
    /* 高亮色：朱砂红（印章色） */
    --color-highlight: #c23a2b;
    /* 文字色 */
    --color-text: #2d2d2d;
    --color-text-light: #7a7a7a;
    --color-text-white: #ffffff;
    /* 背景色 */
    --color-bg: #f5f0e8;
    --color-bg-light: #ede6d6;
    --color-bg-dark: #1a1a1a;
    /* 边框色 */
    --color-border: #d4cec2;
    --color-border-light: #e5dfd5;
    /* 金色点缀（印章/徽章） */
    --color-gold: #b8943e;
    --color-gold-light: #d4b05e;
    /* 字体 */
    --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-heading: 'Ma Shan Zheng', 'Noto Sans SC', 'PingFang SC', cursive;
    --font-serif: 'Noto Serif SC', 'Georgia', serif;
    --container-width: 1200px;
    --header-height: 80px;
    /* 动效 */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* 阴影层级 */
    --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.06), 0 1px 2px rgba(26, 26, 26, 0.04);
    --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.08), 0 2px 4px rgba(26, 26, 26, 0.04);
    --shadow-lg: 0 10px 30px rgba(26, 26, 26, 0.1), 0 4px 8px rgba(26, 26, 26, 0.05);
    --shadow-xl: 0 20px 50px rgba(26, 26, 26, 0.15), 0 8px 16px rgba(26, 26, 26, 0.08);
    --shadow-ink: 0 8px 32px rgba(26, 26, 26, 0.12), 0 2px 8px rgba(26, 26, 26, 0.06);
    /* 宣纸纹理（多层渐变模拟） */
    --texture-paper:
        radial-gradient(ellipse at 25% 15%, rgba(180, 160, 130, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 85%, rgba(180, 160, 130, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(200, 180, 150, 0.02) 0%, transparent 70%);
    --texture-ink:
        radial-gradient(ellipse at 15% 30%, rgba(212, 98, 43, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, rgba(194, 58, 43, 0.04) 0%, transparent 50%);
    /* 圆角 */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: var(--texture-paper);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--color-accent-hover);
}

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

/* 响应式媒体 */
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* 表格响应式 */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    letter-spacing: 2px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

::selection {
    background: rgba(212, 98, 43, 0.2);
    color: var(--color-primary);
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Top Bar — 墨黑底 + 水墨纹理
   ======================================== */
.top-bar {
    background: var(--color-primary);
    background-image: var(--texture-ink);
    color: var(--color-text-white);
    font-size: 0.85rem;
    padding: 8px 0;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: var(--color-text-white);
    opacity: 0.75;
    transition: var(--transition-fast);
}

.top-bar a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.top-bar i {
    margin-right: 5px;
    color: var(--color-accent);
}

/* ========================================
   Header / Navigation — 宣纸色 + 毛笔笔触底边
   ======================================== */
.site-header {
    background: rgba(245, 240, 232, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 206, 194, 0.5);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.3;
    border-radius: 50%;
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(245, 240, 232, 0.98);
}

.site-header.scrolled::after {
    opacity: 0.5;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    letter-spacing: 3px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-logo .logo-text {
    line-height: 1.2;
}

.site-logo .logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 1px;
    font-family: var(--font-main);
}

/* Main Navigation */
.main-navigation ul {
    display: flex;
    gap: 4px;
}

.main-navigation a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
    letter-spacing: 0.5px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-fast);
    transform: translateX(-50%);
    border-radius: 1px;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    width: 60%;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    margin: 6px 0;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   Hero Section — 墨黑渐变 + 水墨晕染
   ======================================== */
.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a2015 40%, var(--color-secondary) 100%);
    color: var(--color-text-white);
    overflow: hidden;
}

/* 水墨晕染光晕效果 */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(212, 98, 43, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* ========================================
   Hero Video Background (首页通顶)
   ======================================== */

/* 通顶：hero 上移覆盖 top-bar + header */
body.home .hero-section.hero-video {
    margin-top: -112px;
    padding-top: 112px;
}

/* 视频背景层 */
.hero-video-bg {
    position: absolute;
    top: -112px;
    left: 0;
    width: 100%;
    height: calc(100% + 112px);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* 遮罩层 — 水墨渐变 */
.hero-overlay {
    position: absolute;
    top: -112px;
    left: 0;
    width: 100%;
    height: calc(100% + 112px);
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(26, 26, 26, 0.45) 40%,
        rgba(26, 26, 26, 0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* 有视频时隐藏 ::before 静态背景 */
body.home .hero-section.hero-video::before {
    display: none;
}

/* 首页 top-bar 透明 */
body.home .top-bar {
    position: relative;
    z-index: 1001;
    background: transparent;
}

/* 首页 header 透明 + 白色文字 */
body.home .site-header {
    position: relative;
    z-index: 1001;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

body.home .site-header::after {
    display: none;
}

body.home .site-header .logo-text strong,
body.home .site-header .logo-text .logo-sub {
    color: var(--color-text-white);
}

body.home .site-header .main-navigation a {
    color: rgba(255, 255, 255, 0.85);
}

body.home .site-header .main-navigation a::after {
    background: rgba(255, 255, 255, 0.6);
}

body.home .site-header .main-navigation a:hover,
body.home .site-header .main-navigation .current-menu-item > a,
body.home .site-header .main-navigation .current_page_item > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

body.home .site-header .main-navigation a:hover::after,
body.home .site-header .main-navigation .current-menu-item > a::after,
body.home .site-header .main-navigation .current_page_item > a::after {
    background: var(--color-accent);
}

body.home .site-header .menu-toggle span {
    background: var(--color-text-white);
}

/* 滚动后恢复宣纸色背景 */
body.home .site-header.scrolled {
    background: rgba(245, 240, 232, 0.98);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(212, 206, 194, 0.5);
}

body.home .site-header.scrolled::after {
    display: block;
}

body.home .site-header.scrolled .logo-text strong,
body.home .site-header.scrolled .logo-text .logo-sub {
    color: var(--color-text);
}

body.home .site-header.scrolled .main-navigation a {
    color: var(--color-text);
}

body.home .site-header.scrolled .main-navigation a:hover,
body.home .site-header.scrolled .main-navigation .current-menu-item > a,
body.home .site-header.scrolled .main-navigation .current_page_item > a {
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

body.home .site-header.scrolled .main-navigation a::after {
    background: var(--color-accent);
}

body.home .site-header.scrolled .menu-toggle span {
    background: var(--color-text);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 0;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 8px 20px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-sm);
    background: rgba(212, 98, 43, 0.08);
}

.hero-tagline::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    margin-right: 10px;
    transform: rotate(45deg);
}

.hero-title {
    font-size: 3.4rem;
    color: var(--color-bg);
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.hero-title span {
    color: var(--color-accent);
    position: relative;
}

.hero-desc {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.9;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Buttons — 方正硬朗 + 水墨动效
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 98, 43, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Section Common — 笔触分隔线
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-bg-dark);
    background-image: var(--texture-ink);
    color: var(--color-text-white);
}

.section-gray {
    background-color: var(--color-bg-light);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(180, 160, 130, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(180, 160, 130, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(180, 160, 130, 0.05) 0%, transparent 65%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 18px;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

/* 毛笔笔触分隔线 — 中间粗两端细 */
.section-header .section-line {
    display: inline-block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin-bottom: 18px;
    border-radius: 50% / 100%;
    position: relative;
}

.section-header .section-line::before,
.section-header .section-line::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--color-accent);
    opacity: 0.25;
    border-radius: 50% / 100%;
}

.section-header .section-line::before {
    left: -18px;
    width: 18px;
    height: 2px;
    top: 1px;
}

.section-header .section-line::after {
    right: -22px;
    width: 22px;
    height: 2px;
    top: 1px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.section-dark h2 {
    color: var(--color-text-white);
}

/* ========================================
   About Section (Home) — 宣纸质感 + 印章装饰
   ======================================== */
.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-home-text h3 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.about-home-text h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 10px;
    border-radius: 50% / 100%;
}

.about-home-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-home-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-home-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.about-home-image:hover::before {
    opacity: 0.5;
}

.about-home-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-home-image:hover img {
    transform: scale(1.03);
}

.about-home-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
}

/* ========================================
   Services Grid — 印章式图标 + 水墨晕染悬停
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

/* 水墨晕染顶部装饰 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-ink);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-highlight);
    transition: var(--transition);
    position: relative;
}

/* 印章四角装饰 */
.service-card .service-icon::before,
.service-card .service-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--color-highlight);
    opacity: 0.4;
    transition: var(--transition);
}

.service-card .service-icon::before {
    top: -4px;
    left: -4px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.service-card .service-icon::after {
    bottom: -4px;
    right: -4px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.service-card:hover .service-icon {
    background: var(--color-highlight);
    color: #ffffff;
    border-color: var(--color-highlight);
    transform: rotate(-3deg) scale(1.05);
}

.service-card:hover .service-icon::before,
.service-card:hover .service-icon::after {
    border-color: var(--color-highlight);
    opacity: 1;
}

.service-card h4 {
    margin-bottom: 12px;
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   Stats Section — 墨底 + 橙色数字 + 光晕
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 35px 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(212, 98, 43, 0.25);
    font-family: var(--font-heading);
}

.stat-number .stat-suffix {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-bg);
    opacity: 0.7;
    letter-spacing: 1px;
}

/* ========================================
   Brands Ticker — 墨底 + 橙色高亮
   ======================================== */
.brands-ticker {
    overflow: hidden;
    padding: 50px 0;
    position: relative;
}

/* 左右淡出遮罩 */
.brands-ticker::before,
.brands-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.brands-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-dark), transparent);
}

.brands-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-dark), transparent);
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: ticker 25s linear infinite;
}

.brands-track .brand-item {
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    transition: var(--transition-fast);
    cursor: default;
    letter-spacing: 1px;
}

.brands-track .brand-item:hover {
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(212, 98, 43, 0.3);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Cases Section — 朱砂红标签 + 悬停光影
   ======================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
    position: relative;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-ink);
    border-color: transparent;
}

.case-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

/* 图片遮罩渐变 */
.case-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover .case-card-image::after {
    opacity: 1;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

.case-card-tag {
    display: inline-block;
    background: rgba(194, 58, 43, 0.1);
    color: var(--color-highlight);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(194, 58, 43, 0.15);
}

.case-card h4 {
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.case-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.case-stats {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.case-stat {
    flex: 1;
    text-align: center;
}

.case-stat strong {
    display: block;
    color: var(--color-highlight);
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.case-stat span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ========================================
   News Section
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

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

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

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

.news-card-date {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.news-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.news-card h4 a {
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.news-card h4 a:hover {
    color: var(--color-accent);
}

.news-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   CTA Section — 战旗渐变 + 光效
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-accent) 0%, #c85a28 50%, var(--color-accent-hover) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 战旗光效 */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--color-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-section p {
    color: rgba(26, 26, 26, 0.65);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.btn-dark {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
    position: relative;
    z-index: 2;
}

.btn-dark:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 26, 26, 0.35);
}

/* ========================================
   Footer — 墨底 + 水墨纹理
   ======================================== */
.site-footer {
    background-color: var(--color-bg-dark);
    background-image: var(--texture-ink);
    color: rgba(255, 255, 255, 0.65);
    padding-top: 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col h5 {
    color: var(--color-text-white);
    margin-bottom: 22px;
    font-size: 1.05rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--color-accent);
    margin-top: 4px;
    font-size: 0.85rem;
}

.footer-wechat {
    text-align: center;
    margin-top: 18px;
}

.footer-wechat img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0 auto 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.footer-wechat img:hover {
    border-color: var(--color-accent);
}

.footer-wechat span {
    font-size: 0.8rem;
    display: block;
    opacity: 0.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--color-accent);
}

/* ========================================
   Back to Top — 橙色圆形 + 墨色图标
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(212, 98, 43, 0.35);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 98, 43, 0.45);
    background: var(--color-accent-hover);
}

.back-to-top.visible {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

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

/* ========================================
   Page Templates — 页面Banner
   ======================================== */
.page-banner {
    background: linear-gradient(135deg, var(--color-primary), #2a2015, var(--color-secondary));
    padding: 120px 0 70px;
    text-align: center;
    color: var(--color-text-white);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 98, 43, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--color-bg), transparent);
    z-index: 1;
}

.page-banner h1 {
    color: var(--color-text-white);
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    letter-spacing: 4px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.page-banner .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.6;
    position: relative;
    z-index: 2;
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumb a:hover {
    color: var(--color-accent);
}

.page-content {
    padding: 60px 0;
}

/* About Page Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-content {
    width: 45%;
    padding: 28px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.timeline-content h4 {
    color: var(--color-accent);
    margin-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 28px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-bg), 0 0 0 6px rgba(212, 98, 43, 0.2);
}

/* Services Page */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--color-bg);
    border: 2px solid var(--color-highlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-highlight);
    margin-bottom: 22px;
    position: relative;
}

.service-detail h3 {
    margin-bottom: 16px;
}

.service-detail ul {
    margin-top: 16px;
}

.service-detail ul li {
    padding: 8px 0;
    padding-left: 22px;
    position: relative;
    color: var(--color-text-light);
}

.service-detail ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 2px solid var(--color-accent);
    transform: translateY(-50%) rotate(45deg);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--color-accent);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #ffffff;
}

.contact-form {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: var(--transition-fast);
    background: var(--color-bg);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-glow);
}

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

/* Cases Archive */
.case-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.case-filters button {
    padding: 10px 28px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    font-family: var(--font-main);
    color: var(--color-text);
}

.case-filters button:hover,
.case-filters button.active {
    background: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(212, 98, 43, 0.25);
}

/* ========================================
   Blog / Archive
   ======================================== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Single Post */
.single-post-header {
    text-align: center;
    padding: 40px 0;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-content p {
    margin-bottom: 20px;
}

/* Sidebar */
.sidebar .widget {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.sidebar .widget-title {
    font-size: 1.1rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    position: relative;
}

.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-highlight);
}

/* ========================================
   404 Page
   ======================================== */
.error-404 {
    text-align: center;
    padding: 120px 0;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--color-accent);
    line-height: 1;
    text-shadow: 0 4px 30px rgba(212, 98, 43, 0.2);
}

.error-404 p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* ========================================
   Animations — 入场动画 + 微交互
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 统计数字跳动动画 */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 水墨晕染动画 */
@keyframes inkSpread {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; }
    100% { opacity: 1; transform: scale(1); }
}

/* ========================================
   Responsive — 响应式布局
   ======================================== */

/* ---------- 大平板 (≤1200px) ---------- */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

/* ---------- 平板 (≤1024px) ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .about-home-grid {
        gap: 40px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .section {
        padding: 80px 0;
    }
}

/* ---------- 手机横屏/小平板 (≤768px) ---------- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    .container {
        padding: 0 20px;
    }

    .top-bar {
        display: none;
    }

    :root {
        --header-height: 60px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        box-shadow: var(--shadow-lg);
        padding: 15px;
        z-index: 1000;
        border-bottom: 2px solid var(--color-accent);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation a {
        padding: 14px 18px;
        border-bottom: 1px solid var(--color-border-light);
        border-radius: 0;
    }

    .main-navigation a::after {
        display: none;
    }

    .hero-section {
        min-height: 480px;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
        padding: 6px 14px;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 12px;
    }

    body.home .hero-section.hero-video {
        margin-top: -60px;
        padding-top: 60px;
    }

    body.home .hero-video-bg,
    body.home .hero-overlay {
        top: -60px;
        height: calc(100% + 60px);
    }

    body.home .hero-video-bg {
        display: none;
    }

    body.home .hero-section.hero-video::before {
        display: block;
        opacity: 0.4;
    }

    body.home .site-header.scrolled .main-navigation {
        background: var(--color-bg);
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-home-image img {
        height: 280px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cases-grid,
    .news-grid,
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        text-align: left;
        padding-left: 50px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }

    .page-banner {
        padding: 90px 0 50px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 28px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px 14px;
        font-size: 16px;
    }

    .service-card {
        padding: 28px 22px;
    }

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

    .case-card-image,
    .news-card-image {
        height: 180px;
    }

    .service-detail-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .stat-item::after {
        display: none;
    }
}

/* ---------- 手机竖屏 (≤480px) ---------- */
@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }

    .container {
        padding: 0 16px;
    }

    .hero-section {
        min-height: 400px;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .section {
        padding: 45px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .footer-grid {
        gap: 25px;
        padding-bottom: 30px;
    }

    .site-footer {
        padding-top: 50px;
    }

    .footer-wechat img {
        width: 100px;
        height: 100px;
    }

    .error-404 h1 {
        font-size: 5rem;
    }

    .error-404 {
        padding: 60px 0;
    }

    .page-banner {
        padding: 70px 0 40px;
    }

    .page-banner h1 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-info-card {
        padding: 20px;
    }

    .case-filters button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .brands-ticker {
        padding: 30px 0;
    }

    .brands-track .brand-item {
        font-size: 1.1rem;
    }
}

/* ---------- 触控设备优化 ---------- */
@media (hover: none) and (pointer: coarse) {
    .main-navigation a {
        padding: 14px 18px;
    }

    .btn {
        padding: 14px 28px;
        min-height: 48px;
    }

    .case-filters button {
        padding: 12px 22px;
        min-height: 44px;
    }

    .service-card:hover,
    .case-card:hover,
    .news-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .service-card:hover::before {
        opacity: 0;
    }

    .about-home-image:hover img {
        transform: none;
    }

    .case-card:hover .case-card-image img {
        transform: none;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 25px;
        right: 25px;
    }
}

/* ---------- 横屏手机优化 ---------- */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 340px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

/* ---------- 打印样式 ---------- */
@media print {
    .top-bar,
    .site-header,
    .back-to-top,
    .hero-buttons,
    .cta-section,
    .brands-ticker,
    .site-footer::before {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .section-dark {
        background: #f5f5f5;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .brands-track {
        animation: none;
    }
}
