/* ========================================
   鹿博士 - 全局样式系统
   支持 PC / Pad / 手机 响应式适配
   ======================================== */

/* ---- CSS 变量定义 ---- */
:root {
    /* 品牌色系（藏青金：高端学术信任感） */
    --primary-color: #0f1f3a;
    --primary-dark: #0a1529;
    --primary-light: #1a2b4a;
    --primary-lighter: rgba(15, 31, 58, 0.08);

    /* 强调色 */
    --accent-color: #c9a227;
    --accent-hover: #d4af37;

    /* 文字色 */
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;

    /* 背景色 */
    --white: #ffffff;
    --bg-light: #f3f4f6;
    --bg-gray: #faf9f7;
    --bg-dark: #0f1f3a;

    /* 边框与分隔 */
    --border-color: #e5e7eb;
    --divider: rgba(0, 0, 0, 0.06);

    /* 状态色 */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 间距 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* 容器宽度 */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 字体 */
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
}

/* ---- 基础重置 ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
}

/* ---- 容器系统 ---- */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

@media (min-width: 640px) {
    .container { max-width: var(--container-sm); }
}

@media (min-width: 768px) {
    .container { max-width: var(--container-md); }
}

@media (min-width: 1024px) {
    .container { max-width: var(--container-lg); }
}

@media (min-width: 1280px) {
    .container { max-width: var(--container-xl); }
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }

/* ---- 栅格系统 ---- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--space-md) * -1);
    margin-right: calc(var(--space-md) * -1);
}

.col {
    flex: 1 0 0%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

/* 常用列宽 */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

@media (max-width: 1024px) {
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 480px) {
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(15, 31, 58, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.home .navbar {
    background: linear-gradient(to bottom, rgba(15, 31, 58, 0.65) 0%, transparent 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

.navbar.scrolled {
    background: rgba(15, 31, 58, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.home .navbar.scrolled {
    background: rgba(15, 31, 58, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    color: white;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.brand-deer {
    width: 44px;
    height: 44px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.navbar-brand .brand-logo {
    height: 56px;
    max-height: 56px;
    width: auto;
    max-width: 56px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 22px;
    font-weight: 700;
}

.brand-text small {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.8;
    font-weight: 500;
}

.navbar-brand:hover {
    color: white;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.navbar-menu > li {
    position: relative;
}

.navbar-menu > li > a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    display: block;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.navbar-menu > li > a:hover,
.navbar-menu > li > a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    min-width: 180px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--text-dark);
    padding: 0.65rem 1.2rem;
    display: block;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding-left: 1.4rem;
}

/* 移动端菜单按钮 */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 1002;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* 移动端菜单 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    z-index: 999;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transition: right var(--transition-base);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mobile-menu-list a {
    color: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    display: block;
    transition: all var(--transition-fast);
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.mobile-submenu-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1rem 0 0.5rem 1rem;
}

/* ========================================
   按钮组件
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-white:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
    color: var(--primary-dark);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   卡片组件
   ======================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

img.card-img {
    display: block;
}

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.card-link:hover {
    gap: 0.5rem;
}

/* 弹性卡片：内容区撑满，底部 meta 始终对齐 */
.card-flex,
a.card-flex {
    display: flex;
    flex-direction: column;
}

.card-flex-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-flex-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 1rem;
}

.card-meta {
    color: var(--text-lighter);
    font-size: 0.8rem;
    margin-top: auto;
    margin-bottom: 0.75rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--divider);
}

/* ========================================
   表单组件
   ======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-control::placeholder {
    color: var(--text-lighter);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ========================================
   通用区块
   ======================================== */
.section {
    padding: var(--space-4xl) 0;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--bg-light);
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    background-color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(15, 31, 58, 0.92) 0%, rgba(15, 31, 58, 0.75) 50%, rgba(15, 31, 58, 0.85) 100%),
                url('../images/banner/graduate.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 90px;
    color: white;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   统计条
   ======================================== */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 3.5rem 0;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.stats-bar.visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    color: white;
    padding: 0 1rem;
}

.stat-icon {
    font-size: 2.2rem;
    margin-bottom: var(--space-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   网格布局组件
   ======================================== */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact-text {
    word-break: break-all;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   页面通用 Hero
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    background-color: var(--primary-dark);
    color: white;
    padding: 8rem 0 3rem;
    text-align: center;
}

.page-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.page-hero-desc {
    opacity: 0.9;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-bg {
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 21, 41, 0.92) 0%, rgba(15, 31, 58, 0.88) 100%);
    z-index: 0;
}

.page-hero-bg .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   标签
   ======================================== */
.tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    align-self: flex-start;
}

.tag-primary {
    background: var(--primary-lighter);
    color: var(--primary-color);
}

.tag-accent {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-hover);
}

/* ========================================
   面包屑
   ======================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* ========================================
   工具类
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ========================================
   手风琴（FAQ 折叠面板）
   ======================================== */

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-light);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    text-align: left;
}

.accordion-header i:first-child {
    color: var(--accent-color);
    margin-right: 0.4rem;
    flex-shrink: 0;
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    transition: transform 0.2s ease;
    color: var(--text-light);
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.accordion-body > div {
    padding: 0 1rem 1rem;
    color: var(--text-medium);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ========================================
   响应式适配
   ======================================== */

/* Pad 端 (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --space-4xl: 4rem;
    }

    .navbar-menu > li > a {
        padding: 0.5rem 0.6rem;
        font-size: 0.82rem;
    }

    .hero-title { font-size: 2.2rem; }

    .section-title { font-size: 1.8rem; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

/* 手机端 (小于 768px) */
@media (max-width: 768px) {
    :root {
        --space-4xl: 3rem;
    }

    .navbar-toggle { display: flex; }
    .navbar-menu { display: none; }

    .hero {
        min-height: 500px;
        padding-top: 80px;
    }

    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { justify-content: center; }

    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.95rem; }

    .navbar-brand .brand-logo {
        height: 44px;
        max-height: 44px;
        max-width: 44px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .stat-number { font-size: 1.8rem; }

    .btn {
        width: 100%;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .page-hero {
        padding: 7rem 0 2.5rem;
    }

    .page-hero-title {
        font-size: 1.7rem;
    }
}

/* 小屏手机 (小于 480px) */
@media (max-width: 480px) {
    html { font-size: 15px; }

    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .hero-title { font-size: 1.5rem; }

    .section { padding: var(--space-3xl) 0; }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .card-img { height: 160px; }
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   内容可读性与视觉强化（v2 改版）
   解决"灰字文字墙、看着困、缺图"问题
   ======================================== */

/* 正文：加深字色 + 放大行距，缓解阅读疲劳 */
.prose p,
p.prose {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 0.9rem;
}
.prose p:last-child { margin-bottom: 0; }

/* 关键词高亮：金色下划线 */
.hl {
    color: var(--primary-dark);
    font-weight: 700;
    background: linear-gradient(transparent 62%, rgba(201,162,39,0.32) 62%);
    padding: 0 1px;
}
/* 深色背景上的高亮关键词：改用浅金，避免深蓝字配深蓝底看不见 */
.section-dark .hl,
.core-services .hl,
.hero .hl {
    color: #f3d889;
    background: linear-gradient(transparent 62%, rgba(201,162,39,0.45) 62%);
}
/* 数字强调：金色加粗 */
.num {
    color: var(--accent-color);
    font-weight: 800;
    font-family: var(--font-serif);
}

/* 小标题前的金色装饰竖条 */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent-color);
}

/* SVG 插画容器：替代纯色块占位图，自带柔和底色 */
.illus {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2fb 0%, #f7f2e4 100%);
    overflow: hidden;
}
.illus svg { width: 100%; height: 100%; display: block; }
.illus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 带图文左右排版块（图不再是纯文字旁的空白） */
.media-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}
.media-row.reverse { grid-template-columns: 0.9fr 1.1fr; }
.media-row.reverse .media-figure { order: -1; }

/* 数据条：彩色统计块，制造节奏 */
.stat-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.stat-cell {
    text-align: center;
    padding: 1.4rem 1rem;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-color);
}
.stat-cell .stat-n {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-serif);
    line-height: 1.1;
}
.stat-cell .stat-l {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .media-row,
    .media-row.reverse { grid-template-columns: 1fr; }
    .media-row.reverse .media-figure { order: 0; }
    .stat-band { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   打印样式
   ======================================== */
@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .mobile-menu-overlay,
    .mobile-menu {
        display: none !important;
    }
}
