/* =================================================================
   茂达智联 V3.0 — 律所风格样式表
   Brand: 深邃蓝 #1A3A5C + 雅致金 #C9A84C
   ================================================================= */

/* ---------- CSS 变量 ---------- */
:root {
    --brand-blue: #1A3A5C;
    --brand-blue-deep: #0F2849;
    --brand-blue-soft: #2D4F75;
    --brand-gold: #C9A84C;
    --brand-gold-soft: #D9BD6B;

    --color-text: #1F2937;
    --color-text-soft: #4B5563;
    --color-text-muted: #6B7280;
    --color-bg: #FFFFFF;
    --color-bg-soft: #F8F9FB;
    --color-bg-card: #FFFFFF;
    --color-border: #E5E7EB;
    --color-border-soft: #EEF1F5;

    --shadow-sm: 0 2px 8px rgba(15, 40, 73, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 40, 73, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 40, 73, 0.12);

    --font-serif: 'Noto Serif SC', 'Noto Serif JP', 'Songti SC', 'SimSun', Georgia, serif;
    --font-sans: 'Noto Sans SC', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-en: 'Cormorant Garamond', 'Times New Roman', serif;
}

/* ---------- 暗色主题 ---------- */
[data-theme="dark"] {
    --color-text: #E5E7EB;
    --color-text-soft: #D1D5DB;
    --color-text-muted: #9CA3AF;
    --color-bg: #0F172A;
    --color-bg-soft: #1E293B;
    --color-bg-card: #1E293B;
    --color-border: #334155;
    --color-border-soft: #293548;
    --brand-blue: #5C8BC9;
    --brand-gold: #E2C46A;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--brand-gold);
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: 300;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all .25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    gap: 8px;
}

.btn-primary {
    background: var(--brand-blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(26, 58, 92, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* ---------- 顶栏（律所惯例） ---------- */
.topbar {
    background: var(--brand-blue-deep);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-item strong {
    color: var(--brand-gold);
    font-weight: 600;
}

.topbar-sep {
    opacity: 0.4;
}

.topbar-tel {
    color: #fff;
    font-weight: 500;
}

.topbar-tel:hover {
    color: var(--brand-gold);
}

/* ---------- 导航 ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-soft);
    transition: all .3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-image {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

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

.logo-cn {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 2px;
}

.logo-en {
    font-family: var(--font-en);
    font-size: 10.5px;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 10px 14px;
    font-size: 14.5px;
    color: var(--color-text-soft);
    position: relative;
    font-weight: 500;
    transition: color .2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--brand-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-soft);
    cursor: pointer;
    transition: all .2s ease;
}

.theme-toggle:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all .25s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F9FB 0%, #EEF2F8 100%);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--color-border-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border-soft) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--brand-blue), transparent);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--brand-gold), transparent);
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(26, 58, 92, 0.08);
    border: 1px solid rgba(26, 58, 92, 0.15);
    color: var(--brand-blue);
    font-size: 13px;
    margin-bottom: 24px;
    font-weight: 500;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--brand-blue);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-en {
    font-family: var(--font-en);
    font-size: 18px;
    font-style: italic;
    color: var(--brand-gold);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-soft);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--color-border);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: var(--color-text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -32px;
    left: 0;
    width: 100%;
    height: 32px;
    background: var(--brand-gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -32px; }
    100% { top: 32px; }
}

/* ---------- About ---------- */
.about { background: var(--color-bg); }

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.about-intro h3,
.about-culture h3,
.process-title {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-left: 16px;
}

.about-intro h3::before,
.about-culture h3::before,
.process-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--brand-gold);
}

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

.about-intro strong {
    color: var(--brand-blue);
    font-weight: 600;
}

.about-advantage {
    border-left: 3px solid var(--brand-gold);
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.06), transparent);
    border-radius: 0 6px 6px 0;
    color: var(--brand-blue);
    font-weight: 500;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-self: start;
}

.fact-item {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
    color: #fff;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease;
}

.fact-item:hover {
    transform: translateY(-4px);
}

.fact-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-gold);
    line-height: 1;
}

.fact-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.culture-card {
    background: var(--color-bg-card);
    padding: 28px 20px;
    border: 1px solid var(--color-border-soft);
    border-radius: 8px;
    text-align: center;
    transition: all .3s ease;
}

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

.culture-icon {
    color: var(--brand-gold);
    margin-bottom: 12px;
}

.culture-card h4 {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--brand-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.culture-card p {
    color: var(--color-text-soft);
    font-size: 14px;
}

/* ---------- Services ---------- */
.services { background: var(--color-bg-soft); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.service-block {
    background: var(--color-bg-card);
    padding: 36px 32px;
    border-radius: 8px;
    border: 1px solid var(--color-border-soft);
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.service-block:hover {
    border-color: var(--brand-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: var(--font-en);
    font-size: 56px;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.18);
    line-height: 1;
}

.service-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-block-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.service-block h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--brand-blue);
    font-weight: 600;
}

.service-desc {
    color: var(--color-text-soft);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 14px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
}

.service-list li {
    padding-left: 20px;
    position: relative;
    color: var(--color-text-soft);
    font-size: 14px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--brand-gold);
    transform: rotate(45deg);
}

/* 服务流程 */
.service-process {
    background: var(--color-bg-card);
    padding: 48px 40px;
    border-radius: 12px;
    border: 1px solid var(--color-border-soft);
    text-align: center;
}

.process-title { text-align: left; }

.process-desc {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    text-align: left;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    position: relative;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 8px;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    right: -16px;
    width: 32px;
    height: 1px;
    background: var(--brand-gold);
}

.step-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--brand-gold);
    line-height: 1;
    margin-bottom: 12px;
}

.step-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 6px;
}

.step-desc {
    display: block;
    font-size: 12.5px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ---------- Cases ---------- */
.cases { background: var(--color-bg); }

.cases-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.case-tab, .news-tab {
    padding: 14px 24px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color .2s ease;
    font-family: inherit;
}

.case-tab.active, .news-tab.active {
    color: var(--brand-blue);
    font-weight: 600;
}

.case-tab.active::after, .news-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--brand-gold);
}

.case-panel, .news-panel {
    display: none;
    animation: fadeIn .4s ease;
}

.case-panel.active, .news-panel.active {
    display: block;
}

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

/* 专利案例：按技术领域分组 */
.case-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-field {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    border-radius: 8px;
    padding: 24px;
    border-top: 3px solid var(--brand-gold);
}

.field-name {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--brand-blue);
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--color-border);
}

.field-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    background: var(--color-bg-soft);
    border-radius: 6px;
    transition: all .2s ease;
}

.field-item:hover {
    background: rgba(201, 168, 76, 0.08);
}

.item-name {
    flex: 1;
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
}

.item-stats {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.stat-applied {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-blue);
}

.stat-unit {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-right: 8px;
}

.stat-rate {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-gold);
}

.stat-rate-label {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* 复审 / 商标结果区块 */
.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.result-block {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    border-left: 4px solid var(--brand-blue);
    padding: 24px;
    border-radius: 6px;
    transition: all .2s ease;
}

.result-block:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.result-block.result-success { border-left-color: var(--brand-gold); }
.result-block.result-defense { border-left-color: var(--brand-blue); }

.result-tag {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(26, 58, 92, 0.08);
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 500;
}

.result-block.result-success .result-tag {
    background: rgba(201, 168, 76, 0.15);
    color: var(--brand-gold);
}

.result-block h4 {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--brand-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.result-block p {
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.result-block strong {
    color: var(--brand-blue);
    font-weight: 600;
}

/* 涉外案例 */
.intl-section {
    margin-bottom: 32px;
}

.intl-section h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--brand-blue);
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 4px solid var(--brand-gold);
}

.intl-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intl-item {
    display: grid;
    grid-template-columns: 80px 110px 1fr 100px;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    border-radius: 6px;
    transition: all .2s ease;
}

.intl-item:hover {
    border-color: var(--brand-gold);
    background: rgba(201, 168, 76, 0.04);
}

.intl-country {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-blue);
}

.intl-type {
    font-size: 13px;
    color: var(--color-text-muted);
    background: var(--color-bg-soft);
    padding: 3px 8px;
    border-radius: 100px;
    text-align: center;
}

.intl-title {
    font-size: 14px;
    color: var(--color-text);
}

.intl-status {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-gold);
    text-align: right;
}

.intl-note {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 24px;
    font-size: 14px;
    font-style: italic;
}

/* ---------- Team ---------- */
.team { background: var(--color-bg-soft); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: var(--color-bg-card);
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-border-soft);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

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

.team-card-featured {
    background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
    color: #fff;
    border-color: transparent;
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    color: var(--brand-blue);
    opacity: 0.85;
}

.team-card-featured .team-avatar {
    color: var(--brand-gold);
}

.team-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: inherit;
}

.team-card-featured .team-name { color: #fff; }

.team-title {
    font-size: 13px;
    color: var(--brand-gold);
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 13.5px;
    color: var(--color-text-soft);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-card-featured .team-bio { color: rgba(255, 255, 255, 0.85); }

.team-meta {
    font-size: 12px;
    color: var(--color-text-muted);
    border-top: 1px dashed var(--color-border);
    padding-top: 12px;
    letter-spacing: 0.5px;
}

.team-card-featured .team-meta {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ---------- Network ---------- */
.network { background: var(--color-bg); }

.countries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.country-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    transition: all .3s ease;
}

.country-item:hover {
    border-color: var(--brand-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.country-flag {
    display: block;
    font-size: 36px;
    margin-bottom: 8px;
}

.country-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 4px;
}

.country-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--brand-gold);
    font-weight: 600;
}

.network-note {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- Qualifications ---------- */
.qualifications { background: var(--color-bg-soft); }

.qual-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.qual-fact {
    background: var(--color-bg-card);
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--brand-gold);
    transition: transform .2s ease;
}

.qual-fact:hover {
    transform: translateX(4px);
}

.qual-fact-label {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.qual-fact-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--brand-blue);
}

.qual-gallery {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 0 auto 24px;
    max-width: 880px;
    flex-wrap: wrap;
}

.qual-figure {
    flex: 0 1 320px;
    max-width: 360px;
    background: var(--color-bg-card);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
}

.qual-figure:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--brand-gold);
}

.qual-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    background: linear-gradient(135deg, #F8F9FA 0%, #ECEEF1 100%);
    border-radius: 4px;
    margin: 0 auto 12px;
    border: 1px solid var(--color-border-soft);
    cursor: zoom-in;
}

.qual-figure figcaption {
    padding-top: 10px;
    border-top: 1px solid var(--color-border-soft);
    text-align: left;
}

.qual-figure-title {
    display: block;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 6px;
    line-height: 1.4;
}

.qual-figure-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.qual-figure-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--brand-blue);
    color: #fff;
    letter-spacing: 0.3px;
}

.qual-figure-tag.tag-gold {
    background: var(--brand-gold);
    color: var(--brand-blue);
}

.qual-figure-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.qual-figure-meta strong {
    color: var(--brand-blue);
    font-weight: 600;
    margin-right: 4px;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(13, 25, 45, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    cursor: zoom-out;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.qual-disclaimer {
    text-align: center;
    font-size: 12.5px;
    color: var(--color-text-muted);
    background: var(--color-bg-card);
    padding: 16px 24px;
    border-radius: 6px;
    border: 1px dashed var(--color-border);
    line-height: 1.7;
}

/* ---------- Partners ---------- */
.partners { background: var(--color-bg); padding: 64px 0; }

.partners-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 16px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.partner-logo {
    padding: 16px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    border-radius: 6px;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-soft);
    white-space: nowrap;
    transition: all .3s ease;
}

.partner-logo:hover {
    color: var(--brand-blue);
    border-color: var(--brand-gold);
}

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

/* ---------- News / Original ---------- */
.news, .original { background: var(--color-bg-soft); }

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 48px;
}

.news-content {
    min-height: 200px;
}

.news-empty {
    text-align: center;
    padding: 64px 32px;
    color: var(--color-text-muted);
}

.news-empty svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.news-empty p {
    font-size: 15px;
}

/* ---------- News Article Cards ---------- */
.news-article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.news-article-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    border-radius: 8px;
    overflow: hidden;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-article-card:hover {
    border-color: var(--brand-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.news-article-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #2C5A8C 100%);
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.news-article-thumb::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.news-article-thumb::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.news-article-thumb-gold {
    background: linear-gradient(135deg, #8E7330 0%, #C9A84C 100%);
}

.news-article-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(6px);
    align-self: flex-start;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.news-article-thumb-cat {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    max-height: 4.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-article-thumb-cat-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 2px;
    position: relative;
    z-index: 2;
}

.news-article-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-article-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-blue);
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-article-card:hover .news-article-title {
    color: #2C5A8C;
}

.news-article-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-soft);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-soft);
    font-size: 12.5px;
    color: var(--color-text-muted);
}

.news-article-meta-left,
.news-article-meta-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-article-meta strong {
    color: var(--brand-blue);
    font-weight: 600;
}

.news-article-read {
    color: var(--brand-gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s ease;
}

.news-article-card:hover .news-article-read {
    gap: 8px;
}

/* ---------- Contact ---------- */
.contact { background: var(--color-bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--color-bg-soft);
    border-radius: 8px;
    border-left: 3px solid var(--brand-gold);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--brand-blue);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-soft);
    font-size: 14px;
}

.contact-form-wrapper {
    background: var(--color-bg-card);
    padding: 36px;
    border-radius: 12px;
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--brand-blue);
    margin-bottom: 4px;
}

.form-desc {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--color-text-soft);
    margin-bottom: 6px;
    font-weight: 500;
}

.required {
    color: #D9534F;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--color-text);
    transition: all .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.08);
}

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

.form-notice {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
}

.form-notice.success { color: #2E7D32; }
.form-notice.error { color: #C62828; }

/* ---------- Footer ---------- */
.footer {
    background: var(--brand-blue-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
}

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

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

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 4px;
}

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

.footer-logo-cn {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.footer-logo-en {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--brand-gold);
    text-transform: uppercase;
    margin-top: 4px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 600;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--brand-gold);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color .2s ease;
}

.footer-links a:hover { color: var(--brand-gold); }

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-contact strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-right: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    margin-bottom: 4px;
}

.footer-licence {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--brand-blue-deep);
    transform: translateY(-4px);
}

/* ---------- 滚动动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .hero-title { font-size: 48px; }
    .section { padding: 72px 0; }
    .section-title { font-size: 36px; }
    .about-grid { grid-template-columns: 1fr; }
    .culture-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .process-step:not(:last-child)::after { display: none; }
    .case-fields { grid-template-columns: 1fr; }
    .case-results { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .countries-grid { grid-template-columns: repeat(3, 1fr); }
    .qual-facts { grid-template-columns: repeat(2, 1fr); }
    .qual-gallery { flex-direction: column; align-items: center; }
    .qual-figure { flex: 0 1 100%; max-width: 360px; width: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar { font-size: 11.5px; padding: 6px 0; }
    .topbar-left { display: none; }
    .topbar-right { width: 100%; justify-content: center; }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 16px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all .3s ease;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link { padding: 12px 16px; border-radius: 6px; }
    .nav-link.active { background: rgba(26, 58, 92, 0.06); }
    .nav-link.active::after { display: none; }

    .nav-toggle { display: flex; }
    .nav-cta { display: none; }

    .hero { padding: 64px 0 80px; }
    .hero-title { font-size: 36px; }
    .hero-en { font-size: 14px; }
    .hero-subtitle { font-size: 14px; }
    .hero-stats { gap: 12px; }
    .stat-item { min-width: 90px; }
    .stat-number { font-size: 28px; }
    .stat-divider { display: none; }

    .section-title { font-size: 28px; }
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 40px; }

    .service-block { padding: 28px 24px; }
    .service-number { font-size: 40px; top: 16px; right: 20px; }

    .process-steps { grid-template-columns: 1fr; gap: 16px; }
    .process-step:not(:last-child)::after { display: none; }

    .case-results { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .countries-grid { grid-template-columns: repeat(2, 1fr); }
    .qual-facts { grid-template-columns: 1fr; }
    .qual-gallery { flex-direction: column; align-items: center; }
    .qual-figure { flex: 0 1 100%; max-width: 360px; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .intl-item { grid-template-columns: 1fr; gap: 4px; text-align: left; }
    .intl-status { text-align: left; }
}