/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2c3e50; line-height: 1.7; background: #fff; overflow-x: hidden;
    padding-top: 72px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
:root {
    --primary: #1a8faf;
    --primary-dark: #15758f;
    --dark: #1a3a5c;
    --bg: #f7fafb;
    --text: #2c3e50;
    --text-light: #5a6c7c;
}

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Navigation ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06); transition: box-shadow 0.3s; height: 72px;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 44px; width: auto; }
.nav-brand .name { font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
    display: flex; align-items: center; gap: 4px; padding: 8px 12px;
    font-size: 0.9rem; font-weight: 500; color: #3d5567; border-radius: 8px;
    transition: all 0.2s; cursor: pointer;
}
.nav-item > a:hover, .nav-item > a.active { color: var(--primary); background: rgba(26,143,175,0.06); }
.nav-item > a .arrow {
    display: inline-block; width: 0; height: 0;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 4px solid currentColor; margin-left: 4px; opacity: 0.5;
}
.nav-dropdown {
    position: absolute; top: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 8px; min-width: 180px; opacity: 0; visibility: hidden; transition: all 0.25s;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; padding: 8px 16px; font-size: 0.88rem; color: #3d5567; border-radius: 8px; transition: all 0.15s; }
.nav-dropdown a:hover { background: #f0f7f9; color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* ===== Page Banner ===== */
.page-banner { background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); color: #fff; padding: 72px 0 56px; text-align: center; }
.page-banner h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: 2px; }
.page-banner .crumbs { margin-top: 12px; font-size: 0.88rem; opacity: 0.75; }
.page-banner .crumbs a:hover { text-decoration: underline; }

/* ===== Section ===== */
.section { padding: 64px 0; }
.section.bg { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .label { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-title h2 { font-size: 2rem; font-weight: 900; color: var(--dark); }
.section-title .divider { width: 60px; height: 4px; background: var(--primary); margin: 16px auto 0; border-radius: 2px; }
.section-title p { margin-top: 16px; color: var(--text-light); font-size: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Cards ===== */
.content-card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); margin-bottom: 32px; }
.content-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--bg); }
.content-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.9; }
.content-card ul.bullet li { padding: 6px 0; font-size: 0.92rem; color: var(--text-light); display: flex; align-items: flex-start; gap: 8px; }
.content-card ul.bullet li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 10px; flex-shrink: 0; }

/* ===== Image Gallery ===== */
.img-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0; }
.img-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.img-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 24px 0; }
.img-item { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; cursor: zoom-in; }
.img-item:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.img-item img { width: 100%; }
.img-full {
    border-radius: 12px; overflow: hidden; margin: 24px auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #e8edf0; background: #fff; padding: 8px;
    transition: box-shadow 0.3s; cursor: zoom-in;
}
.img-full:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.img-full img { width: 100%; border-radius: 8px; }

/* ===== Lightbox ===== */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.88); display: none;
    align-items: center; justify-content: center;
    padding: 40px; cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; animation: lbFadeIn 0.2s ease; }
.lightbox-overlay img {
    max-width: 92%; max-height: 90vh; border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.5);
    object-fit: contain;
}
.lightbox-close {
    position: fixed; top: 20px; right: 30px;
    color: #fff; font-size: 2.2rem; cursor: pointer;
    line-height: 1; z-index: 10000; opacity: 0.7;
    transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Org Chart ===== */
.org-chart { max-width: 800px; margin: 0 auto; }
.org-node {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 12px; font-weight: 700;
    text-align: center; min-width: 160px; line-height: 1.4;
}
.org-chart .org-top { background: linear-gradient(135deg, var(--dark), var(--primary)); color: #fff; font-size: 1.1rem; box-shadow: 0 4px 16px rgba(26,143,175,0.3); }
.org-chart .org-l2 { background: #fff; color: var(--dark); font-size: 0.95rem; border: 2px solid var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.org-chart .org-l3 { background: var(--bg); color: var(--text-light); font-size: 0.85rem; font-weight: 500; border: 1px solid #d8e3e8; }
.org-chart .org-title { font-size: 0.78rem; font-weight: 400; opacity: 0.8; margin-top: 2px; }
.org-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; position: relative; }
.org-connector { width: 2px; height: 24px; background: #c5d3da; margin: 0 auto; }
.org-hline { height: 2px; background: #c5d3da; position: relative; max-width: 600px; margin: 0 auto; }
.org-col { display: flex; flex-direction: column; align-items: center; gap: 0; }

/* ===== Footer ===== */
.footer { background: #0d2a42; color: rgba(255,255,255,0.7); padding: 48px 0 28px; }
.footer-content { text-align: center; }
.footer-content img { height: 48px; margin: 0 auto 20px; }
.footer-content p { font-size: 0.86rem; line-height: 2; }
.footer-content p:first-of-type { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 4px; }
    .page-banner h1 { font-size: 1.8rem; }
    .img-grid-2, .img-grid-3, .img-grid-4 { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.6rem; }
    .content-card { padding: 24px; }
}
