/* ============================================================
   Corporate Website - Main Stylesheet
   企业官网样式表 - 医药/生物科技风格
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #1F4E79;
    --color-primary-light: #2B6A9E;
    --color-primary-dark: #153659;
    --color-accent: #1D9E75;
    --color-accent-light: #28B88D;
    --color-accent-dark: #147A58;
    --color-white: #FFFFFF;
    --color-bg: #FAFBFC;
    --color-bg-alt: #F2F7FB;
    --color-text: #333333;
    --color-text-secondary: #666666;
    --color-text-light: #999999;
    --color-border: #E5E8EC;
    --color-border-light: #EEF1F5;
    --color-danger: #E24B4A;
    --color-success: #1D9E75;
    --font-sans: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500; cursor: pointer;
    border: none; transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--color-primary); color: var(--color-white);
}
.btn-primary:hover { background: var(--color-primary-light); color: var(--color-white); }
.btn-outline {
    background: transparent; color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-accent {
    background: var(--color-accent); color: var(--color-white);
}
.btn-accent:hover { background: var(--color-accent-light); color: var(--color-white); }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    height: var(--header-height);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

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

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-text {
    font-size: 22px; font-weight: 700; color: var(--color-primary);
    letter-spacing: 2px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: block; padding: 8px 18px; font-size: 14px; color: var(--color-text-secondary);
    border-radius: var(--radius-sm); transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover { color: var(--color-primary); background: var(--color-bg-alt); }
.nav-link.active { color: var(--color-primary); font-weight: 600; background: var(--color-bg-alt); }

.lang-switch {
    margin-left: 12px; padding: 6px 14px; font-size: 12px; font-weight: 600;
    color: var(--color-primary); border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-sm); transition: all var(--transition);
}
.lang-switch:hover { background: var(--color-primary); color: var(--color-white); }

/* Search Toggle */
.search-toggle {
    margin-left: 6px; padding: 6px 10px;
    background: none; border: none; cursor: pointer;
    color: var(--color-text-secondary); border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.search-toggle:hover { color: var(--color-primary); background: var(--color-bg-alt); }

/* Search Bar */
.search-bar {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    z-index: 99;
    padding: 16px 0;
    animation: searchSlideDown 0.2s ease-out;
}
.search-bar.open { display: block; }
@keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-bar-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 12px; position: relative;
}
.search-bar-icon {
    color: var(--color-text-light); flex-shrink: 0;
}
.search-bar-input {
    flex: 1; border: none; outline: none;
    font-size: 16px; color: var(--color-text);
    background: transparent; font-family: inherit;
}
.search-bar-input::placeholder { color: var(--color-text-light); }
.search-bar-close {
    background: none; border: none; cursor: pointer;
    color: var(--color-text-light); padding: 4px;
    border-radius: var(--radius-sm); display: flex; align-items: center;
    transition: all var(--transition);
}
.search-bar-close:hover { color: var(--color-text); background: var(--color-bg-alt); }

/* Dropdown Navigation */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.dropdown-arrow { font-size: 10px; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
    display: none;
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    padding: 8px 0; z-index: 100;
    border: 1px solid var(--color-border-light);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block; padding: 10px 24px;
    font-size: 14px; color: var(--color-text-secondary);
    text-align: center; white-space: nowrap;
    transition: all var(--transition);
}
.dropdown-menu a:hover { color: var(--color-primary); background: var(--color-bg-alt); }

/* Mobile menu */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
    width: 36px; height: 36px; justify-content: center; align-items: center;
}
.mobile-menu-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--color-text); border-radius: 2px;
    transition: all var(--transition);
}

/* --- Page Banner --- */
.page-banner {
    padding: calc(var(--header-height) + 110px) 0 110px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white); text-align: left;
    position: relative;
}
.page-banner h1,
.page-banner p { text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.page-banner h1 { font-size: 38px; font-weight: 600; margin-bottom: 12px; }
.page-banner p { font-size: 22px; opacity: 1; max-width: none; margin: 0; }
.page-banner .container { margin-left: 210px; margin-right: auto; }

/* --- Sections --- */
.section {
    padding: 80px 0;
}
.section-alt { background: var(--color-bg-alt); }

.section-header {
    text-align: center; margin-bottom: 50px;
}
.section-header h2 {
    font-size: 32px; font-weight: 600; color: var(--color-primary-dark);
    margin-bottom: 12px;
}
.section-header p {
    font-size: 16px; color: var(--color-text-secondary);
    max-width: 600px; margin: 0 auto;
}
.section-divider {
    width: 50px; height: 3px; background: var(--color-accent);
    margin: 12px auto 0; border-radius: 2px;
}

/* --- Cards --- */
.card {
    background: var(--color-white); border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    overflow: hidden; transition: all var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--color-border);
}
.card-image {
    width: 100%; height: 200px; object-fit: cover;
    background: var(--color-bg-alt);
}
.card-body { padding: 20px; }
.card-title {
    font-size: 16px; font-weight: 600; color: var(--color-text);
    margin-bottom: 8px; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-date {
    font-size: 12px; color: var(--color-text-light);
    margin-bottom: 8px;
}
.card-category {
    display: inline-block; padding: 2px 10px; font-size: 11px; font-weight: 500;
    border-radius: 100px; margin-bottom: 10px;
}
.card-category.company { background: #E6F1FB; color: var(--color-primary); }
.card-category.media { background: #E1F5EE; color: var(--color-accent); }

/* --- Homepage Hero --- */
.hero {
    position: relative; height: 560px; overflow: hidden;
    margin-top: var(--header-height);
}
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center; justify-content: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.hero-slide-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(31,78,121,0.85), rgba(21,54,89,0.7));
}
.hero-content {
    position: relative; z-index: 1; text-align: center;
    color: var(--color-white); max-width: 700px; padding: 0 24px;
}
.hero-content h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.hero-content p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; line-height: 1.8; }
.hero-dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 1;
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: all var(--transition);
}
.hero-dot.active { background: var(--color-white); width: 28px; border-radius: 5px; }

/* --- Stats Bar --- */
.stats-bar {
    background: var(--color-white); border-bottom: 1px solid var(--color-border-light);
    padding: 40px 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: 36px; font-weight: 700; color: var(--color-primary);
}
.stat-label {
    font-size: 14px; color: var(--color-text-secondary); margin-top: 6px;
}

/* --- Home Section Cards --- */
.home-news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

/* --- About Page --- */
.about-intro {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: stretch;
}
.about-intro-text h3 {
    font-size: 22px; font-weight: 600; color: var(--color-primary-dark);
    margin-bottom: 16px;
}
.about-intro-text p {
    font-size: 16px; color: var(--color-text-secondary);
    line-height: 1.9; margin-bottom: 12px;
}
.about-intro-image {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--color-bg-alt);
}
.about-intro-image img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}

/* ============================================================
   Milestones - PC: Bar Chart / Mobile: Vertical Timeline
   ============================================================ */
.milestones-section {
    background: linear-gradient(180deg, #f0f5fb 0%, #ffffff 100%);
    padding-top: 80px; padding-bottom: 80px;
    overflow: hidden;
}

/* ── Chart: flex-end so all bars share same baseline ── */
.milestones-chart {
    max-width: 1200px; margin: 0 auto;
    padding: 50px 24px 0 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    gap: 16px;
    position: relative;
}

/* ── baseline line removed per user request ── */

/* ═══ Column — vertical stack ═══ */
.ms-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ▸▸▸ CARD — same width as bar, colored top stripe ▸▸▸ */
.ms-card-pc {
    flex-shrink: 0;
    width: 90%;
    min-width: 100px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.ms-card-pc.show {
    opacity: 1;
    transform: translateY(0);
}
.ms-card-topbar {
    width: 100%;
    height: 5px;
    background: var(--bar-color, #1F4E79);
    border-radius: 3px 3px 0 0;
}
.ms-card-body {
    background: #fff;
    border-radius: 0 0 5px 5px;
    padding: 14px 12px 16px 12px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    text-align: center;
}
.ms-card-title {
    font-size: 13px; font-weight: 700;
    color: #1a2a3a;
    line-height: 1.5;
    white-space: pre-line;
}
.ms-card-desc {
    font-size: 11.5px;
    color: #666;
    line-height: 1.55;
    white-space: pre-line;
    margin-top: 4px;
}

/* ▸▸▸ CONNECTOR — thin vertical line ▸▸▸ */
.ms-connector {
    flex-shrink: 0;
    width: 2px;
    height: 28px;
    background: var(--bar-color, #1F4E79);
    opacity: 0.5;
    margin: 0 auto;
}

/* ▸▸▸ BAR — same width as card, colored column ▸▸▸ */
.ms-bar-wrap {
    flex-shrink: 0;
    width: 90%;
    min-width: 100px;
    min-height: 45px;
    position: relative;
    /* height via inline style: calc(var(--bar-h) * 4.2px) */
}
.ms-bar-body {
    height: 100%;
    width: 100%;
    background: var(--bar-color, #1F4E79);
    border-radius: 4px 4px 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.0s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}
.ms-bar-body.grow {
    max-height: 600px;
}

/* stagger bar grow */
.ms-col:nth-child(1) .ms-bar-body { transition-delay: 0.0s; }
.ms-col:nth-child(2) .ms-bar-body { transition-delay: 0.12s; }
.ms-col:nth-child(3) .ms-bar-body { transition-delay: 0.24s; }
.ms-col:nth-child(4) .ms-bar-body { transition-delay: 0.36s; }
.ms-col:nth-child(5) .ms-bar-body { transition-delay: 0.48s; }
.ms-col:nth-child(6) .ms-bar-body { transition-delay: 0.60s; }
.ms-col:nth-child(7) .ms-bar-body { transition-delay: 0.72s; }

/* stagger card + year fade-in (after bar) */
.ms-col:nth-child(1) .ms-card-pc.show,
.ms-col:nth-child(1) .ms-year.show { transition-delay: 0.5s; }
.ms-col:nth-child(2) .ms-card-pc.show,
.ms-col:nth-child(2) .ms-year.show { transition-delay: 0.62s; }
.ms-col:nth-child(3) .ms-card-pc.show,
.ms-col:nth-child(3) .ms-year.show { transition-delay: 0.74s; }
.ms-col:nth-child(4) .ms-card-pc.show,
.ms-col:nth-child(4) .ms-year.show { transition-delay: 0.86s; }
.ms-col:nth-child(5) .ms-card-pc.show,
.ms-col:nth-child(5) .ms-year.show { transition-delay: 0.98s; }
.ms-col:nth-child(6) .ms-card-pc.show,
.ms-col:nth-child(6) .ms-year.show { transition-delay: 1.10s; }
.ms-col:nth-child(7) .ms-card-pc.show,
.ms-col:nth-child(7) .ms-year.show { transition-delay: 1.22s; }

/* ▸▸▸ YEAR label — centered inside bar column ▸▸▸ */
.ms-year {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px; font-weight: 700;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.ms-year.show { opacity: 1; }


/* ════════════════════════════════════════════════
   MOBILE (≤ 768px) — Vertical Timeline
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .milestones-section { padding-top: 50px; padding-bottom: 50px; }

    .milestones-chart {
        display: block; padding: 0 16px; height: auto;
    }

    .ms-col {
        display: flex; flex-direction: row; align-items: center;
        position: relative; padding-bottom: 20px;
        min-height: auto; max-width: none; flex: auto;
    }
    .ms-col:last-child { padding-bottom: 0; }

    /* ── left: year ── */
    .ms-mobile-left {
        width: 72px; min-width: 72px; flex-shrink: 0;
        display: flex; justify-content: center; align-items: center;
    }
    .ms-mob-year {
        display: inline-block;
        font-size: 14px; font-weight: 700;
        color: #fff;
        background: #1F4E79;
        padding: 5px 12px;
        border-radius: 4px;
        line-height: 1.4;
        white-space: nowrap;
        letter-spacing: 0.5px;
    }

    /* ── right: card ── */
    .ms-mobile-card {
        flex: 1; min-width: 0; padding: 0 0 0 48px; z-index: 2;
    }
    .ms-mob-card-inner {
        background: #fff; border-radius: 0 6px 6px 6px;
        border-top: 4px solid var(--bar-color, #1F4E79);
        padding: 14px 14px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .ms-mob-title {
        font-size: 15px; font-weight: 700; color: #1a2a3a;
        line-height: 1.5; white-space: pre-line;
    }
    .ms-mob-desc {
        font-size: 13px; color: #555;
        line-height: 1.6; white-space: pre-line; margin-top: 4px;
    }

    /* Hide PC */
    .ms-card-pc, .ms-connector, .ms-bar-wrap, .ms-year {
        display: none !important;
    }
}

/* Desktop: hide mobile */
.ms-mobile-left, .ms-mobile-card { display: none; }
@media (max-width: 768px) {
    .ms-mobile-left, .ms-mobile-card { display: block; }
}
.timeline-year {
    width: 100px; text-align: center; flex-shrink: 0;
}
.timeline-year span {
    display: inline-block; background: var(--color-primary); color: var(--color-white);
    padding: 6px 16px; border-radius: 100px; font-size: 14px; font-weight: 600;
}
.timeline-dot {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 14px; height: 14px; background: var(--color-accent);
    border-radius: 50%; border: 3px solid var(--color-white);
    box-shadow: 0 0 0 2px var(--color-accent);
}
.timeline-content {
    width: calc(50% - 80px); padding: 20px;
    background: var(--color-white); border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}
.timeline-content:hover { border-color: var(--color-accent); }
.timeline-content h4 { font-size: 15px; font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--color-text-secondary); }

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-grid-top { margin-bottom: 32px; }
.team-grid-bottom { margin-top: 0; }
.team-card {
    text-align: center; padding: 24px 16px 26px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: #d0d9e6;
}
.team-card.active {
    border-color: #c4d7ed;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
}
.team-photo {
    width: 150px; height: 180px; margin: 0 auto 14px;
    background: var(--color-bg-alt); overflow: hidden;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo svg { display: block; }
.team-name { font-size: 16px; font-weight: 600; color: var(--color-text); }
.team-title {
    font-size: 13px; color: var(--color-text-secondary);
    margin: 4px 0 0; line-height: 1.5;
}

/* Team detail panel (between rows) */
.team-detail-panel {
    margin: 28px 0 28px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 32px 36px 28px;
    min-height: 180px;
    background: #fafbfc;
    position: relative;
    background: #fafbfc;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    animation: teamPanelIn 0.3s ease;
    --arrow-x: 50%;
}
/* Desktop: when panel is inserted inside team-grid (after clicked card), span full width */
.team-grid > .team-detail-panel {
    grid-column: 1 / -1;
}
/* Arrow up — points to selected card in row 1 */
.team-detail-panel.arrow-up::before {
    content: '';
    position: absolute;
    top: -10px;
    left: var(--arrow-x);
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fafbfc;
    filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.08));
}
/* Arrow down — points to selected card in row 2 */
.team-detail-panel.arrow-down::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: var(--arrow-x);
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fafbfc;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.08));
}
@keyframes teamPanelIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.team-detail-close {
    position: absolute; top: 12px; right: 18px;
    font-size: 22px; color: #999; cursor: pointer;
    line-height: 1; transition: color 0.2s;
}
.team-detail-close:hover { color: #333; }
.team-detail-content { padding-right: 20px; }
.team-detail-content p {
    font-size: 14px; color: var(--color-text-secondary);
    line-height: 1.9; margin: 0;
}
.team-detail-content .detail-name {
    font-size: 17px; font-weight: 700; color: var(--color-primary);
    margin-bottom: 2px;
}
.team-detail-content .detail-title {
    font-size: 13px; color: var(--color-text-light);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border-light);
}

/* Mission & Vision */
.mv-section .section-header { text-align: center; }
.mv-section { padding: 80px 0; }

.mv-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}
.mv-row:last-child { margin-bottom: 0; }
.mv-reverse { flex-direction: row-reverse; }

.mv-badge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.mv-badge-blue { background: #3B7DD8; }
.mv-badge-green { background: #8BC34A; }
.mv-label-zh {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
}
.mv-label-en {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 2px;
}

.mv-text {
    flex: 1;
    min-width: 0;
}
.mv-text .mv-zh {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0 0 6px 0;
}
.mv-text .mv-en {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.mv-img {
    width: 420px;
    height: 260px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}
.mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Core Values */
.culture-section {
    background-color: #f8fcfd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400'%3E%3Cg fill='none' stroke='%23d0e8f0' stroke-width='0.8' opacity='0.6'%3E%3Cpath d='M50 150 Q150 50 250 100 Q350 150 400 80 Q450 10 550 90 Q650 170 700 60'/%3E%3Cpath d='M30 250 Q130 180 230 230 Q330 280 430 200 Q530 120 630 210 Q730 300 770 230'/%3E%3Cpath d='M40 300 Q140 250 240 290 Q340 330 440 270 Q540 210 640 290 Q740 370 780 330'/%3E%3Cpath d='M100 90 Q180 40 300 100 Q400 150 500 70 Q600 10 650 130'/%3E%3Cpath d='M20 350 L800 350'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}
.culture-section .section-header { text-align: center; }
.culture-section .section-header h2 { margin-bottom: 6px; }
.culture-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 50px;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.culture-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--c-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.culture-circle:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.cc-zh {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
}
.cc-en {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-top: 3px;
}

/* --- Culture Life Blocks (Careers Page) --- */
.section-no-pad { padding: 0; }
.section-no-pad .section-header { margin: 0; max-width: var(--max-width); margin-left: auto; margin-right: auto; padding: 60px 24px 30px; }

.culture-blocks {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.culture-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
}

.culture-block-reverse {
    direction: rtl;
}
.culture-block-reverse > * {
    direction: ltr;
}

.culture-block-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.culture-block-inner {
    padding: 48px 52px;
    max-width: 480px;
}

.culture-block-inner h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 14px;
    line-height: 1.3;
}

.culture-divider {
    width: 90px;
    height: 2px;
    background: rgba(0,0,0,0.25);
    margin-bottom: 18px;
}

.culture-block-inner p {
    font-size: 15px;
    color: #333;
    line-height: 1.85;
    margin: 0;
}

.culture-block-img {
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.culture-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.culture-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #bbb;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .culture-block,
    .culture-block-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .culture-block-reverse > * {
        direction: ltr;
    }
    .culture-block-img { min-height: 220px; order: -1; }
    .culture-block-inner { padding: 32px 24px; }
}

/* --- Research Page: Pipeline Overview Image --- */
.pipeline-overview {
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.pipeline-overview img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Research Page: Pipeline Detail Items --- */
.pipeline-details {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.pipeline-detail-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.pipeline-detail-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
}
.pipeline-detail-content { font-size: 16px; line-height: 1.8; color: var(--color-text-secondary); }
.pipeline-detail-content p { margin-bottom: 10px; }
.pipeline-detail-content p:last-child { margin-bottom: 0; }
.pipeline-detail-empty { font-size: 13px; color: #ccc; font-style: italic; }

/* --- Research Page: Pipeline Cards (fallback when no overview image) --- */
.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pipeline-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pipeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(31,78,121,0.12);
}
.pipeline-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F4FD 0%, #D4E8F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pipeline-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}
.pipeline-card-img .pipeline-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    gap: 8px;
}
.pipeline-card-img .pipeline-fallback svg { opacity: 0.4; }
.pipeline-card-img .pipeline-fallback .pipeline-name-fallback {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}
.pipeline-card-img .pipeline-fallback .pipeline-indication-fallback {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.pipeline-card-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pipeline-card-body .pipeline-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}
.pipeline-card-body .pipeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.pipeline-card-body .pipeline-category {
    font-size: 12px;
    color: var(--color-text-secondary);
    background: var(--color-bg-alt);
    padding: 2px 8px;
    border-radius: 4px;
}
.pipeline-card-body .pipeline-indication {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.5;
}
.phase-badge {
    display: inline-block; padding: 3px 12px; border-radius: 100px;
    font-size: 12px; font-weight: 500;
}
.phase-badge.approved { background: #E1F5EE; color: #0F6E56; }
.phase-badge.phase3 { background: #E6F1FB; color: #185FA5; }
.phase-badge.phase2 { background: #FAEEDA; color: #854F0B; }
.phase-badge.phase1 { background: #FCEBEB; color: #A32D2D; }
.phase-badge.preclinical { background: #F1EFE8; color: #5F5E5A; }
.phase-badge.nda { background: #EEEDFE; color: #3C3489; }

.platforms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.platforms-image-wrap {
    text-align: center;
    padding: 8px 0;
}
.platforms-full-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.platform-card { padding: 28px; }
.platform-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.platform-icon svg { width: 30px; height: 30px; }
.platform-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.platform-card p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.8; }

/* --- News Page --- */
.news-filters {
    display: flex; gap: 12px; margin-bottom: 30px;
    justify-content: center;
}
.filter-btn {
    padding: 8px 20px; border-radius: 100px; font-size: 14px;
    border: 1px solid var(--color-border); background: var(--color-white);
    color: var(--color-text-secondary); cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.active {
    background: var(--color-primary); color: var(--color-white);
    border-color: var(--color-primary);
}
.news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-empty {
    grid-column: 1 / -1; text-align: center; padding: 60px 20px;
    color: var(--color-text-light);
}
.news-empty h3 { font-size: 18px; margin-bottom: 8px; color: var(--color-text-secondary); }

/* Search Results */
.search-result-bar {
    display: flex; align-items: center; gap: 12px;
    background: var(--color-white); border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg); padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-top: 48px;
}
.search-result-input::placeholder { color: var(--color-text-light); }

.pagination {
    display: flex; justify-content: center; gap: 6px;
    margin-top: 40px;
}
.page-btn {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--color-border); border-radius: var(--radius-sm);
    font-size: 14px; color: var(--color-text-secondary); cursor: pointer;
    background: var(--color-white); transition: all var(--transition);
}
.page-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.page-btn.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.news-detail { max-width: 800px; margin: 0 auto; }
.news-detail-header { margin-bottom: 30px; }
.news-detail-header h1 { font-size: 28px; font-weight: 600; line-height: 1.4; }
.news-detail-meta {
    display: flex; gap: 20px; margin-top: 12px;
    font-size: 13px; color: var(--color-text-light);
}
.news-detail-body {
    font-size: 15px; line-height: 2; color: var(--color-text);
}
.news-detail-body p { margin-bottom: 16px; }
.news-detail-body img.img-center {
    display: block !important;
    margin: 10px auto !important;
    float: none !important;
    max-width: 100%;
}
.news-detail-body img.img-left {
    display: inline;
    float: left !important;
    margin: 10px 15px 10px 0 !important;
    max-width: 100%;
}
.news-detail-body img.img-right {
    display: inline;
    float: right !important;
    margin: 10px 0 10px 15px !important;
    max-width: 100%;
}
.news-detail-body img { max-width: 100%; margin: 20px 0; border-radius: var(--radius-md); }
.news-detail-body h1,.news-detail-body h2,.news-detail-body h3,.news-detail-body h4 { margin: 24px 0 12px; font-weight: 600; line-height: 1.4; }
.news-detail-body h2 { font-size: 22px; }
.news-detail-body h3 { font-size: 18px; }
.news-detail-body h4 { font-size: 16px; }
.news-detail-body ul,.news-detail-body ol { margin: 12px 0; padding-left: 24px; }
.news-detail-body li { margin-bottom: 6px; }
.news-detail-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.news-detail-body table td,.news-detail-body table th { border: 1px solid var(--color-border-light); padding: 8px 12px; text-align: left; }
.news-detail-body table th { background: #f8fafb; font-weight: 600; }
.news-detail-body blockquote { margin: 16px 0; padding: 12px 20px; border-left: 3px solid #1F4E79; background: #f8fafb; color: #666; }
.news-detail-body a { color: #1F4E79; text-decoration: underline; }
.news-detail-body hr { border: none; border-top: 1px solid var(--color-border-light); margin: 24px 0; }
.news-detail-body pre { background: #f5f7fa; padding: 12px 16px; border-radius: 6px; overflow-x: auto; font-size: 13px; line-height: 1.6; }

/* --- Careers Page --- */
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; cursor: pointer;
}
.job-card-left h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.job-card-meta {
    display: flex; gap: 16px; font-size: 13px; color: var(--color-text-secondary);
}
.job-card-right .btn { white-space: nowrap; }
.job-detail {
    display: none; padding: 24px; margin-top: -8px;
    border-top: 1px solid var(--color-border-light);
    background: var(--color-bg-alt);
}
.job-detail.active { display: block; }
.job-detail h4 { font-size: 14px; font-weight: 600; margin: 16px 0 8px; color: var(--color-primary); }
.job-detail p, .job-detail li { font-size: 14px; color: var(--color-text-secondary); line-height: 1.8; }
.job-detail ul { padding-left: 20px; list-style: disc; }
.mv-row { gap: 30px; }
.mv-badge { width: 110px; height: 110px; }
.mv-label-zh { font-size: 22px; }
.mv-label-en { font-size: 13px; }
.mv-img { width: 280px; height: 180px; }
.mv-text .mv-zh { font-size: 18px; }
.mv-text .mv-en { font-size: 14px; }
.culture-grid { grid-template-columns: repeat(4, 1fr); gap: 30px 30px; }
.culture-circle { width: 120px; height: 120px; }
.cc-zh { font-size: 18px; }
.cc-en { font-size: 11px; }

/* --- Contact Page --- */

/* Contact Cards (3-column) */
.contact-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.contact-card-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    padding: 36px 24px 32px;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card-item:hover {
    box-shadow: 0 8px 30px rgba(31,78,121,0.1);
    transform: translateY(-2px);
}
.contact-card-icon {
    width: 72px; height: 72px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
}
.contact-card-item h3 {
    font-size: 17px; font-weight: 700; color: #1a2332;
    margin-bottom: 10px;
}
.contact-card-item p {
    font-size: 14px; color: var(--color-text-secondary); line-height: 1.7;
}

/* Campus Navigation */
.campus-nav {
    margin-top: 50px;
}
.campus-nav-title {
    font-size: 26px; font-weight: 700; color: #1a2332;
    text-align: center; margin-bottom: 30px;
}
.campus-map-wrap {
    max-width: 900px; margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--color-border-light);
    background: #f8f9fa;
}
.campus-map-wrap img {
    width: 100%; height: auto; display: block;
}
.campus-placeholder {
    width: 100%; height: 400px;
    flex-direction: column; gap: 16px;
    background: #f5f6f7;
    justify-content: center; align-items: center;
}

.form-success-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.form-success h3 { font-size: 20px; color: var(--color-accent); margin-bottom: 8px; }

/* --- Footer --- */
.site-footer {
    background: var(--color-primary-dark); color: rgba(255,255,255,0.75);
    padding: 60px 0 30px;
}
.footer-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.footer-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px;
    margin-bottom: 40px;
    justify-items: center;
}
.footer-col {
    text-align: center;
}
.footer-col h4 {
    font-size: 15px; font-weight: 600; color: var(--color-white);
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    font-size: 13px; color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-accent-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 30px;
}
.footer-info-row {
    display: flex; align-items: flex-start;
    gap: 40px; margin-bottom: 24px;
}
.footer-company { flex: 1; margin-left: 80px; }
.footer-company-name { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.footer-company p,
.footer-contact-info p {
    font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 5px;
    line-height: 1.7;
}
.footer-label { color: rgba(255,255,255,0.45); }
.footer-right-group {
    display: flex; align-items: flex-start; gap: 40px;
    flex-shrink: 0;
    margin-right: 80px;
}
.footer-contact-info { flex-shrink: 0; min-width: 200px; }
.footer-contact-info h4 { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-qr { text-align: center; flex-shrink: 0; }
.qr-image {
    width: 100px; height: 100px;
    border-radius: 6px;
    margin: 0 auto 6px;
    display: block;
    background: #fff;
}
.qr-hint { font-size: 11px; color: rgba(255,255,255,0.5); }
.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 14px; text-align: center;
}
.footer-copyright p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* --- Error Page --- */
.error-page {
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: var(--header-height);
}
.error-page h1 { font-size: 80px; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.error-page p { font-size: 18px; color: var(--color-text-secondary); margin-bottom: 24px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .home-news-grid { grid-template-columns: repeat(2, 1fr); }
    .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
    .platforms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 26px; }
    .hero { height: 400px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 14px; }

    .mobile-menu-btn { display: flex; }
    .main-nav {
        display: none; position: absolute; top: var(--header-height);
        left: 0; right: 0; background: var(--color-white);
        flex-direction: column; padding: 16px;
        border-bottom: 1px solid var(--color-border-light);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .main-nav.open { display: flex; }
    .main-nav .nav-link { padding: 12px 16px; width: 100%; }
    .lang-switch { margin: 12px 0 0 0; text-align: center; }

    /* Mobile dropdown */
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle { width: 100%; }
    .dropdown-menu {
        position: static; box-shadow: none; border: none;
        transform: none;
        background: var(--color-bg-alt); border-radius: 0;
        padding: 0; display: none;
    }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu a { padding: 10px 24px; font-size: 14px; text-align: center; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 28px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); justify-items: start; }
    .footer-col { text-align: left; }
    .team-grid { grid-template-columns: 1fr; }
    /* Mobile: inline detail panel (inserted after clicked card) */
    .team-detail-panel.mobile-inline {
        margin: 16px 0 0;
        padding: 20px 18px 18px;
        position: relative;
    }
    .team-detail-panel.mobile-inline::before,
    .team-detail-panel.mobile-inline::after {
        display: none;
    }
    .news-grid { grid-template-columns: 1fr; }
    .home-news-grid { grid-template-columns: 1fr; }
    .pipeline-grid { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: 1fr; }
    .about-intro { grid-template-columns: 1fr; gap: 30px; }
    .contact-cards { grid-template-columns: 1fr; gap: 18px; }
    .contact-card-item { padding: 28px 20px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: 1fr; }
.culture-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .culture-circle { width: 130px; height: 130px; }
    .cc-zh { font-size: 20px; }
    .cc-en { font-size: 12px; }
    .mv-row, .mv-reverse { flex-direction: column; text-align: center; gap: 16px; margin-bottom: 40px; }
    .mv-badge { width: 100px; height: 100px; margin: 0 auto; }
    .mv-label-zh { font-size: 20px; }
    .mv-label-en { font-size: 12px; }
    .mv-img { width: 100%; height: 180px; }
    .mv-text .mv-zh { font-size: 17px; }
    .mv-text .mv-en { font-size: 13px; }
    /* 移动端愿景区域：重排为 badge(顶) → text(中) → img(底) */
    .mv-reverse .mv-badge { order: 1; }
    .mv-reverse .mv-text  { order: 2; }
    .mv-reverse .mv-img   { order: 3; }
    .news-filters { flex-wrap: wrap; }

    .footer-info-row { flex-direction: column; gap: 24px; }
    .footer-company { margin-left: 0; }
    .footer-right-group { flex-direction: column; gap: 16px; margin-right: 0; }
    .footer-qr { margin-top: 8px; }

    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; }
    .timeline-year { width: 100%; text-align: left; padding-left: 40px; margin-bottom: 8px; }
    .timeline-content { width: 100%; margin-left: 40px; }
    .timeline-dot { left: 20px; }

    .job-card { flex-direction: column; align-items: flex-start; gap: 12px; }
    .job-card-right { width: 100%; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; justify-items: start; }
    .footer-col { text-align: left; }
    .page-banner h1 { font-size: 26px; }
    .page-banner { padding-top: calc(var(--header-height) + 80px); padding-bottom: 80px; text-align: center; }
    .page-banner .container { margin: 0 auto; }
    .page-banner p { margin: 0 auto; }
}
