/* ==========================================================================
   香港墨林药业集团 - 森林墨绿风格样式表
   设计灵感：中国水墨画意境、留白、优雅对称
   主色调：深森林绿 #228B22 / #2F4F2F / #3CB371 + 墨黑 #1a1a1a + 米白 #F5F5DC
   字体：Noto Serif SC（中文衬线）+ Cormorant Garamond（英文衬线）
   ========================================================================== */

/* ===== CSS 变量定义 ===== */
:root {
    --green-deep: #2F4F2F;      /* 深森林绿 */
    --green-mid: #228B22;       /* 森林绿 */
    --green-light: #3CB371;     /* 浅森林绿 */
    --green-mist: #4a7c59;      /* 雾绿 */
    --ink-black: #1a1a1a;       /* 墨黑 */
    --ink-soft: #2a2a2a;        /* 软墨 */
    --cream: #F5F5DC;           /* 米白 */
    --cream-dark: #e8e8c8;      /* 深米白 */
    --paper: #faf8f0;           /* 宣纸色 */
    --gold: #b8a06a;            /* 古铜金（点缀） */
    --shadow-ink: rgba(26, 26, 26, 0.35);
    --shadow-green: rgba(47, 79, 47, 0.4);
    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-cn: 'Noto Serif SC', 'Songti SC', serif;
    --font-en: 'Cormorant Garamond', serif;
    --font-brush: 'Ma Shan Zheng', 'Noto Serif SC', cursive;
}

/* ===== 全局重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity; /* 垂直滑动吸附 */
}

body {
    font-family: var(--font-cn);
    background: var(--paper);
    color: var(--ink-black);
    line-height: 1.8;
    overflow-x: hidden;
    /* 水墨纸纹背景 */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(60, 179, 113, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(47, 79, 47, 0.05) 0%, transparent 45%),
        linear-gradient(180deg, #faf8f0 0%, #f5f3e8 100%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

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

ul {
    list-style: none;
}

/* ========== 容器 ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 通用区块 ========== */
.section {
    padding: 120px 0;
    position: relative;
    scroll-snap-align: start;
}

/* 区块标题 */
.section-head {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-mark {
    display: inline-block;
    font-family: var(--font-brush);
    font-size: 28px;
    color: var(--green-light);
    background: var(--cream);
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    border: 2px solid var(--green-mid);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px var(--shadow-green);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--green-deep);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green-mid), transparent);
    margin: 16px auto 0;
}

.section-sub {
    font-family: var(--font-en);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--green-mist);
    letter-spacing: 0.05em;
}

/* ========== 飘落竹叶 ========== */
.bamboo-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.bamboo-leaf {
    position: absolute;
    top: -40px;
    color: var(--green-light);
    opacity: 0.5;
    animation: leafFall linear infinite;
    user-select: none;
}

@keyframes leafFall {
    0% {
        transform: translateY(-40px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(105vh) translateX(120px) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================================================
   1. 导航栏 + Logo 展示区
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(60, 179, 113, 0.2);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 4px 30px var(--shadow-ink);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo 展示区 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-family: var(--font-brush);
    font-size: 32px;
    color: var(--cream);
    background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow-green);
    border: 1px solid rgba(60, 179, 113, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-cn {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.1em;
}

.logo-en {
    font-family: var(--font-en);
    font-size: 0.7rem;
    color: var(--green-light);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* 桌面导航 */
.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--cream);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    position: relative;
    border-radius: 4px;
    transition: all var(--transition-base);
}

/* 墨色 hover 效果 */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--green-light);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--green-light);
}

.nav-link:hover::before {
    width: 70%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
    color: var(--cream) !important;
    border: 1px solid var(--green-light);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-green);
}

.nav-cta::before {
    display: none;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ==========================================================================
   2. 全屏轮播图（水墨滑动式）
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    scroll-snap-align: start;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* 水墨晕染过渡 */
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: opacity var(--transition-slow), clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(26, 26, 26, 0.4) 60%, rgba(26, 26, 26, 0.8) 100%),
        linear-gradient(180deg, rgba(26, 26, 26, 0.5) 0%, transparent 30%, transparent 70%, rgba(26, 26, 26, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cream);
    padding: 0 24px;
    max-width: 900px;
    animation: heroFadeUp 1.2s ease-out;
}

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

.hero-eyebrow {
    font-size: 1rem;
    letter-spacing: 0.5em;
    color: var(--green-light);
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 36px;
    opacity: 0.95;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--green-light);
    color: var(--cream);
    font-size: 1rem;
    letter-spacing: 0.15em;
    background: rgba(34, 139, 34, 0.2);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

/* 墨色晕染 hover */
.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--green-mid);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.hero-btn:hover {
    color: var(--cream);
    border-color: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-green);
}

.hero-btn:hover::before {
    width: 400px;
    height: 400px;
}

/* 轮播指示器 */
.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(245, 245, 220, 0.4);
    border: 1px solid rgba(245, 245, 220, 0.6);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-dot.active {
    background: var(--green-light);
    transform: scale(1.3);
    box-shadow: 0 0 12px var(--green-light);
}

/* 轮播箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(245, 245, 220, 0.3);
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all var(--transition-base);
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: var(--green-mid);
    border-color: var(--green-light);
}

.hero-arrow.prev {
    left: 30px;
}

.hero-arrow.next {
    right: 30px;
}

/* 向下滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--cream);
    z-index: 10;
    opacity: 0.8;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--cream);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--cream);
    border-radius: 2px;
    animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

/* ==========================================================================
   3. 关于我们
   ========================================================================== */
.about {
    background:
        radial-gradient(circle at 10% 20%, rgba(60, 179, 113, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--paper) 0%, #f0ede0 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    filter: contrast(1.05) saturate(0.9);
    box-shadow: 0 20px 60px var(--shadow-green);
    position: relative;
}

.about-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 79, 47, 0.15), transparent 50%);
    pointer-events: none;
}

.about-seal {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background: var(--ink-black);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-brush);
    font-size: 1.8rem;
    line-height: 1.1;
    border: 3px solid var(--green-light);
    box-shadow: 0 8px 30px var(--shadow-ink);
    transform: rotate(-5deg);
}

.about-text {
    padding-left: 20px;
}

.about-lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--green-deep);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    text-align: justify;
}

/* 统计数据 */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(47, 79, 47, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-en);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--green-mid);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--green-mist);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   4. 服务介绍（水墨卡片滑动）
   ========================================================================== */
.services {
    background: var(--ink-black);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(34, 139, 34, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(60, 179, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services .section-title {
    color: var(--cream);
}

.services .section-sub {
    color: var(--green-light);
}

.services .section-mark {
    background: var(--ink-soft);
    border-color: var(--green-light);
}

.services-slider {
    overflow: hidden;
    padding: 10px 0;
}

.services-track {
    display: flex;
    gap: 30px;
    transition: transform var(--transition-slow);
    will-change: transform;
}

.service-card {
    flex: 0 0 calc(25% - 22.5px);
    background: linear-gradient(160deg, rgba(47, 79, 47, 0.4), rgba(26, 26, 26, 0.6));
    border: 1px solid rgba(60, 179, 113, 0.25);
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

/* 墨色晕染 hover */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(60, 179, 113, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--green-light);
    box-shadow: 0 20px 50px rgba(60, 179, 113, 0.3);
}

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

.service-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-brush);
    font-size: 4rem;
    color: rgba(60, 179, 113, 0.15);
    line-height: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
}

.service-desc {
    font-size: 0.92rem;
    color: rgba(245, 245, 220, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-tag {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--green-light);
    padding: 4px 12px;
    border: 1px solid rgba(60, 179, 113, 0.4);
    border-radius: 20px;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

/* 滑动控制 */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--green-light);
    color: var(--green-light);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.slider-btn:hover {
    background: var(--green-mid);
    color: var(--cream);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(60, 179, 113, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-dot.active {
    background: var(--green-light);
    width: 28px;
    border-radius: 5px;
}

/* ==========================================================================
   5. 客户案例（滑动展示）
   ========================================================================== */
.cases {
    background:
        radial-gradient(circle at 90% 10%, rgba(60, 179, 113, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #f0ede0 0%, var(--paper) 100%);
}

.cases-slider {
    overflow: hidden;
    padding: 10px 0;
}

.cases-track {
    display: flex;
    gap: 30px;
    transition: transform var(--transition-slow);
    will-change: transform;
}

.case-card {
    flex: 0 0 calc(25% - 22.5px);
    background: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(47, 79, 47, 0.12);
    transition: all var(--transition-base);
    border: 1px solid rgba(47, 79, 47, 0.1);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(47, 79, 47, 0.25);
}

.case-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    filter: contrast(1.05) saturate(0.85);
    position: relative;
}

.case-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(47, 79, 47, 0.3) 100%);
}

.case-body {
    padding: 24px;
}

.case-label {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--green-mid);
    background: rgba(60, 179, 113, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.case-name {
    font-size: 1.15rem;
    color: var(--green-deep);
    margin-bottom: 12px;
    font-weight: 600;
}

.case-quote {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding-left: 16px;
    border-left: 2px solid var(--green-light);
}

/* ==========================================================================
   6. 新闻资讯
   ========================================================================== */
.news {
    background: var(--paper);
    position: relative;
}

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

.news-card {
    display: flex;
    gap: 20px;
    background: var(--cream);
    padding: 28px;
    border-radius: 8px;
    border: 1px solid rgba(47, 79, 47, 0.12);
    transition: all var(--transition-base);
    box-shadow: 0 6px 30px rgba(47, 79, 47, 0.08);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(47, 79, 47, 0.2);
    border-color: var(--green-light);
}

.news-date {
    flex-shrink: 0;
    text-align: center;
    padding-right: 20px;
    border-right: 2px solid rgba(47, 79, 47, 0.15);
}

.news-day {
    display: block;
    font-family: var(--font-en);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--green-mid);
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 0.78rem;
    color: var(--green-mist);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.news-content {
    flex: 1;
}

.news-cat {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--green-deep);
    background: rgba(60, 179, 113, 0.15);
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.05rem;
    color: var(--green-deep);
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 600;
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-link {
    font-size: 0.85rem;
    color: var(--green-mid);
    font-weight: 500;
    transition: all var(--transition-base);
}

.news-link:hover {
    color: var(--green-light);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   7. 常见问题 FAQ
   ========================================================================== */
.faq {
    background:
        radial-gradient(circle at 10% 90%, rgba(60, 179, 113, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f0ede0 0%, var(--paper) 100%);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--cream);
    border: 1px solid rgba(47, 79, 47, 0.15);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--green-light);
    box-shadow: 0 6px 24px rgba(47, 79, 47, 0.12);
}

.faq-item.active {
    border-color: var(--green-mid);
    box-shadow: 0 8px 30px rgba(47, 79, 47, 0.18);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-cn);
    font-size: 1.05rem;
    color: var(--green-deep);
    font-weight: 600;
    text-align: left;
    transition: all var(--transition-base);
}

.faq-q-text {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--green-mid);
    transition: all var(--transition-base);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-question {
    color: var(--green-mid);
    background: rgba(60, 179, 113, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--ink-soft);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==========================================================================
   8. 联系我们
   ========================================================================== */
.contact {
    background: var(--ink-black);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 139, 34, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(60, 179, 113, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact .section-title {
    color: var(--cream);
}

.contact .section-sub {
    color: var(--green-light);
}

.contact .section-mark {
    background: var(--ink-soft);
    border-color: var(--green-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* 联系信息 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(47, 79, 47, 0.2);
    border: 1px solid rgba(60, 179, 113, 0.2);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.info-item:hover {
    background: rgba(47, 79, 47, 0.35);
    border-color: var(--green-light);
    transform: translateX(6px);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--green-light);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.info-item p {
    font-size: 0.92rem;
    color: rgba(245, 245, 220, 0.85);
    line-height: 1.6;
}

.info-item a:hover {
    color: var(--green-light);
}

/* 表单 */
.contact-form {
    background: rgba(245, 245, 220, 0.04);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(60, 179, 113, 0.2);
    backdrop-filter: blur(8px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--cream);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.req {
    color: var(--green-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(245, 245, 220, 0.08);
    border: 1px solid rgba(60, 179, 113, 0.3);
    border-radius: 6px;
    color: var(--cream);
    font-family: var(--font-cn);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 245, 220, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-light);
    background: rgba(245, 245, 220, 0.12);
    box-shadow: 0 0 0 3px rgba(60, 179, 113, 0.15);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--ink-black);
    color: var(--cream);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: #ff6b6b;
    margin-top: 6px;
    min-height: 18px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff6b6b;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
    color: var(--cream);
    border: none;
    border-radius: 6px;
    font-family: var(--font-cn);
    font-size: 1rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.form-submit:hover {
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-green);
}

.form-success {
    display: none;
    margin-top: 16px;
    padding: 14px;
    background: rgba(60, 179, 113, 0.15);
    border: 1px solid var(--green-light);
    color: var(--green-light);
    border-radius: 6px;
    text-align: center;
    font-size: 0.92rem;
}

.form-success.show {
    display: block;
    animation: heroFadeUp 0.5s ease-out;
}

/* ==========================================================================
   9. 页脚 + 友情链接
   ========================================================================== */
.site-footer {
    background: var(--ink-black);
    color: rgba(245, 245, 220, 0.7);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(60, 179, 113, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-cn {
    font-size: 1.3rem;
    color: var(--cream);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.6);
}

.footer-title {
    font-size: 1.05rem;
    color: var(--green-light);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--green-mid);
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.footer-links a,
.footer-links li {
    color: rgba(245, 245, 220, 0.65);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--green-light);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(60, 179, 113, 0.15);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(245, 245, 220, 0.5);
    margin-bottom: 6px;
}

.footer-icp {
    font-family: var(--font-brush);
    color: var(--green-light) !important;
    font-size: 1rem !important;
    letter-spacing: 0.2em;
}

/* ==========================================================================
   返回顶部按钮
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
    color: var(--cream);
    border: 2px solid var(--green-light);
    border-radius: 50%;
    font-family: var(--font-brush);
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 90;
    box-shadow: 0 6px 24px var(--shadow-green);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 30px var(--shadow-green);
}

/* ==========================================================================
   滚动揭示动画（IntersectionObserver 配合）
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 错落动画延迟 */
.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ==========================================================================
   响应式 - 平板
   ========================================================================== */
@media (max-width: 1024px) {
    .section {
        padding: 90px 0;
    }

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

    .about-text {
        padding-left: 0;
    }

    .about-img-wrap {
        aspect-ratio: 16 / 10;
        max-width: 600px;
        margin: 0 auto;
    }

    .service-card {
        flex: 0 0 calc(33.333% - 20px);
    }

    .case-card {
        flex: 0 0 calc(33.333% - 20px);
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-card:last-child {
        grid-column: span 2;
        max-width: calc(50% - 15px);
        margin: 0 auto;
    }

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

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

/* ==========================================================================
   响应式 - 移动端
   ========================================================================== */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none; /* 移动端关闭吸附，避免体验问题 */
    }

    .section {
        padding: 70px 0;
    }

    .container {
        padding: 0 18px;
    }

    .section-head {
        margin-bottom: 50px;
    }

    /* 移动端导航 */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--ink-black);
        padding: 90px 30px 30px;
        transition: right var(--transition-base);
        border-left: 1px solid rgba(60, 179, 113, 0.2);
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
        box-shadow: -10px 0 40px var(--shadow-ink);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 6px;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(60, 179, 113, 0.15);
    }

    .nav-link::before {
        display: none;
    }

    .nav-cta {
        margin-top: 14px;
        text-align: center;
        border-bottom: none;
    }

    .hamburger {
        display: flex;
        z-index: 101;
    }

    /* Hero */
    .hero {
        min-height: 540px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 80px;
    }

    .hero-content {
        padding: 0 20px;
    }

    /* 关于 */
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .stat-num {
        font-size: 1.9rem;
    }

    .about-seal {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
        bottom: -15px;
        right: -10px;
    }

    /* 服务 */
    .services-track {
        gap: 20px;
    }

    .service-card {
        flex: 0 0 calc(75% - 10px);
        padding: 32px 24px;
    }

    /* 案例 */
    .cases-track {
        gap: 20px;
    }

    .case-card {
        flex: 0 0 calc(75% - 10px);
    }

    /* 新闻 */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    /* 表单 */
    .contact-form {
        padding: 28px 22px;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

/* ==========================================================================
   响应式 - 小屏手机
   ========================================================================== */
@media (max-width: 480px) {
    .hero-eyebrow {
        font-size: 0.85rem;
        letter-spacing: 0.3em;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 0.92rem;
    }

    .stat-num {
        font-size: 1.6rem;
    }

    .news-card {
        flex-direction: column;
        gap: 14px;
    }

    .news-date {
        border-right: none;
        border-bottom: 2px solid rgba(47, 79, 47, 0.15);
        padding-right: 0;
        padding-bottom: 14px;
        display: flex;
        align-items: baseline;
        gap: 10px;
        justify-content: center;
    }

    .news-day {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   动画偏好 - 尊重用户设置
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .bamboo-leaves {
        display: none;
    }
}
