/* ==========================================================================
   香港御龙药业有限公司 - 主样式表
   设计风格：暗夜紫金 (Dark Purple & Gold)
   ========================================================================== */

/* ---------- CSS 变量定义 ---------- */
:root {
    /* 背景色系 - 深紫渐变 */
    --color-bg-dark: #1a0b2e;      /* 最深紫 */
    --color-bg-mid: #2d1b4e;       /* 中紫 */
    --color-bg-light: #3d2960;     /* 浅紫 */
    /* 金色装饰系 */
    --color-gold: #FFD700;         /* 亮金 */
    --color-gold-dark: #D4AF37;    /* 暗金 */
    --color-gold-soft: #e8c66a;    /* 柔金 */
    /* 文字色系 */
    --color-text-light: #f5f0ff;   /* 主文字 - 暖白 */
    --color-text-muted: #b8a8d4;   /* 次要文字 - 淡紫 */
    /* 功能色 */
    --color-overlay: rgba(26, 11, 46, 0.75);
    --color-glass: rgba(45, 27, 78, 0.55);
    --color-border: rgba(212, 175, 55, 0.35);
    /* 字体 */
    --font-display: 'Playfair Display', 'Noto Serif SC', serif;
    --font-body: 'Noto Sans SC', 'Helvetica Neue', sans-serif;
    /* 尺寸 */
    --header-h: 72px;
    --container-w: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    /* 过渡 */
    --t-fast: 0.25s ease;
    --t-mid: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    /* 平滑滚动 */
    scroll-behavior: smooth;
    /* 留出顶部固定导航空间 */
    scroll-padding-top: var(--header-h);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ---------- 通用容器 ---------- */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.main-content {
    /* 垂直滚动吸附 - 实现全页滑动 */
    scroll-snap-type: y proximity;
}

.section {
    position: relative;
    padding: 100px 0;
    /* 区块吸附对齐 */
    scroll-snap-align: start;
}

/* 交替背景以区分区块 */
.about-section,
.faq-section,
.contact-section {
    background: linear-gradient(160deg, var(--color-bg-dark) 0%, var(--color-bg-mid) 100%);
}

.services-section,
.news-section {
    background: linear-gradient(160deg, var(--color-bg-mid) 0%, var(--color-bg-dark) 100%);
}

.cases-section {
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08), transparent 50%),
        linear-gradient(160deg, var(--color-bg-dark) 0%, var(--color-bg-light) 100%);
}

/* ---------- 区块标题通用样式 ---------- */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 2px;
}

.section-divider {
    width: 60px;
    height: 3px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 2px;
}

.section-sub {
    max-width: 640px;
    margin: 18px auto 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   模块1：顶部导航栏
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(26, 11, 46, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--t-fast), box-shadow var(--t-fast);
}

/* 滚动后导航加深 */
.site-header.scrolled {
    background: rgba(26, 11, 46, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    max-width: var(--container-w);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
}

/* 桌面端导航列表 */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    color: var(--color-text-light);
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--t-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* CTA按钮 */
.nav-cta {
    padding: 8px 22px;
    border: 1px solid var(--color-gold-dark);
    border-radius: 30px;
    color: var(--color-gold);
}

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

.nav-cta:hover {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* 汉堡菜单按钮（移动端） */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: all var(--t-fast);
}

/* 汉堡菜单激活状态（变X） */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

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

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

/* ==========================================================================
   模块2：全屏轮播图
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    scroll-snap-align: start;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity var(--t-mid), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    background: linear-gradient(180deg, rgba(26, 11, 46, 0.55) 0%, rgba(26, 11, 46, 0.8) 100%);
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--color-gold);
    letter-spacing: 4px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    animation: slideInUp 1s ease both;
}

.carousel-slide.active .slide-title {
    animation: slideInUp 1s ease 0.3s both;
}

.slide-desc {
    max-width: 640px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: 32px;
    animation: slideInUp 1s ease 0.5s both;
}

.slide-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--color-gold);
    border-radius: 30px;
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 2px;
    animation: slideInUp 1s ease 0.7s both;
    transition: all var(--t-fast);
}

.slide-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 11, 46, 0.6);
    border: 1px solid var(--color-border);
    color: var(--color-gold);
    font-size: 2rem;
    line-height: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

/* 轮播指示点 */
.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all var(--t-fast);
}

.dot.active {
    width: 36px;
    border-radius: 6px;
    background: var(--color-gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* ==========================================================================
   模块3：关于我们
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.about-lead {
    font-family: var(--font-display);
    font-size: 1.5rem !important;
    color: var(--color-gold) !important;
    line-height: 1.5;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

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

/* 统计数据卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 16px;
    border-radius: var(--radius);
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15);
    border-color: var(--color-gold);
}

.stat-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold-soft);
    vertical-align: super;
}

.stat-label {
    display: block;
    margin-top: 12px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   模块4 & 5：横向滑动卡片容器（服务 & 案例）
   ========================================================================== */
.cards-scroller {
    display: flex;
    gap: 28px;
    padding: 20px 24px 40px;
    overflow-x: auto;
    /* 横向滚动吸附 */
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-dark) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
.cards-scroller::-webkit-scrollbar {
    height: 6px;
}

.cards-scroller::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.cards-scroller::-webkit-scrollbar-thumb {
    background: var(--color-gold-dark);
    border-radius: 3px;
}

.cards-scroller > * {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

/* ---------- 服务卡片 ---------- */
.service-card {
    width: 320px;
    padding: 44px 32px;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-fast);
    position: relative;
    overflow: hidden;
}

/* 卡片顶部金色光带 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    transform: scaleX(0);
    transition: transform var(--t-mid);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
    border-color: var(--color-gold);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(212, 175, 55, 0.1));
    border: 1px solid var(--color-gold-dark);
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    transition: all var(--t-fast);
}

.service-card:hover .card-icon {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.5);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---------- 案例卡片 ---------- */
.case-card {
    width: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-fast);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
    border-color: var(--color-gold);
}

.case-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.case-body {
    padding: 24px;
}

.case-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.case-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.case-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.78rem;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--color-gold-dark);
    color: var(--color-gold-soft);
}

/* ==========================================================================
   模块6：新闻资讯
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 215, 0, 0.15);
    border-color: var(--color-gold);
}

.news-date {
    flex-shrink: 0;
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid var(--color-border);
}

.news-day {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
}

.news-month {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-link {
    font-size: 0.88rem;
    color: var(--color-gold-dark);
    font-weight: 500;
    transition: color var(--t-fast), letter-spacing var(--t-fast);
}

.news-link:hover {
    color: var(--color-gold);
    letter-spacing: 2px;
}

/* ==========================================================================
   模块7：FAQ 手风琴
   ========================================================================== */
.faq-container {
    max-width: 860px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.faq-item.active {
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    text-align: left;
    font-size: 1.05rem;
    color: var(--color-text-light);
    font-weight: 500;
    transition: color var(--t-fast);
}

.faq-question:hover {
    color: var(--color-gold);
}

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

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-gold-dark);
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-mid), padding var(--t-mid);
    padding: 0 26px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 26px 24px;
}

.faq-answer p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================================================
   模块8：联系我们
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

/* 联系信息 */
.contact-info {
    padding: 40px;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.contact-company {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 6px;
}

.contact-en {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-ico {
    flex-shrink: 0;
    font-size: 1.4rem;
    line-height: 1.4;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.contact-value {
    display: block;
    color: var(--color-text-light);
    font-size: 0.98rem;
}

/* 联系表单 */
.contact-form {
    padding: 40px;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: var(--color-text-light);
}

.required {
    color: var(--color-gold);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(26, 11, 46, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(184, 168, 212, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

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

.error-msg {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #ff8e8e;
    min-height: 1em;
}

.form-submit {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

/* ==========================================================================
   模块9：页脚 + 友情链接
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #0d0518 100%);
    border-top: 1px solid var(--color-border);
    padding-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col {
    color: var(--color-text-muted);
}

.footer-logo {
    margin-bottom: 14px;
}

.footer-slogan {
    font-family: var(--font-display);
    color: var(--color-gold);
    font-size: 1.05rem;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.footer-since {
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.footer-h {
    font-family: var(--font-display);
    color: var(--color-gold);
    font-size: 1.05rem;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.footer-nav li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-nav a {
    color: var(--color-text-muted);
    transition: color var(--t-fast), padding-left var(--t-fast);
}

.footer-nav a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-links li {
    position: relative;
    padding-left: 14px;
}

.footer-links li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-gold-dark);
    font-size: 0.6rem;
    top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 22px 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   提示弹窗 Toast
   ========================================================================== */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    z-index: 2000;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-mid), transform var(--t-mid), visibility var(--t-mid);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    color: var(--color-gold);
    font-size: 0.95rem;
    font-weight: 900;
}

/* ==========================================================================
   回到顶部按钮
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast), box-shadow var(--t-fast);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.back-to-top:hover {
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
}

/* ==========================================================================
   入场动画（配合 IntersectionObserver）
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 不同元素延迟入场 */
.reveal:nth-child(2) {
    transition-delay: 0.12s;
}

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

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

/* 关键帧动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   响应式断点 - 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .about-grid {
        gap: 40px;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-card {
        padding: 24px 12px;
    }

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

    .news-card:last-child {
        grid-column: 1 / -1;
    }

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

/* ==========================================================================
   响应式断点 - 768px（移动端）
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .section {
        padding: 64px 0;
    }

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

    .container {
        padding: 0 18px;
    }

    /* 导航：移动端汉堡菜单展开为抽屉 */
    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--header-h));
        background: rgba(26, 11, 46, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--color-border);
        transform: translateX(100%);
        transition: transform var(--t-mid);
        overflow-y: auto;
        padding: 30px 24px;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }

    .nav-link {
        display: block;
        padding: 16px 8px;
        font-size: 1rem;
    }

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

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        border: 1px solid var(--color-gold-dark);
    }

    .hamburger {
        display: flex;
    }

    /* 轮播图 */
    .hero {
        min-height: 520px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .carousel-prev {
        left: 12px;
    }

    .carousel-next {
        right: 12px;
    }

    .carousel-dots {
        bottom: 28px;
    }

    /* 关于我们 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-image img {
        height: 260px;
    }

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

    /* 服务与案例卡片 */
    .service-card {
        width: 280px;
        padding: 36px 26px;
    }

    .case-card {
        width: 260px;
    }

    .case-img {
        height: 260px;
    }

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

    .news-card:last-child {
        grid-column: auto;
    }

    .news-card {
        flex-direction: row;
    }

    /* 联系我们 */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info,
    .contact-form {
        padding: 28px;
    }

    /* 页脚 */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    /* 回到顶部 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   小屏手机断点 - 480px
   ========================================================================== */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .news-date {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: 16px;
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .slide-overlay {
        padding: 0 20px;
    }
}

/* ==========================================================================
   无障碍：尊重用户的动画偏好
   ========================================================================== */
@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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
