/* ============================================================
   index-page.css — 主頁合併樣式
   包含：index.aspx + 所有 ASCX 模塊的 CSS
   版本：20260601
   ============================================================ */

/* ===== 1. Reset & Base (index.aspx) ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

/* ===== 2. Top Promo Bar (index.aspx) ===== */
.promo-bar {
    background: #f5f5f7;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.42;
    color: #1d1d1f;
    border-bottom: 1px solid #d2d2d7;
}

.promo-bar a {
    color: #0066cc;
    transition: color 0.3s;
}

.promo-bar a:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* ===== 3. Navigation (index.aspx) ===== */
.globalnav {
    position: sticky;
    top: 0;
    z-index: 9999;
    height: 44px;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.globalnav-inner {
    max-width: 1024px;
    margin: 0 auto;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
}

.globalnav-links {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.globalnav-links li {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.globalnav-links li a {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 400;
    color: #1d1d1f;
    opacity: 0.8;
    border-radius: 980px;
    transition: background 0.32s ease, color 0.32s ease, opacity 0.32s ease;
    letter-spacing: 0.008em;
    cursor: pointer;
    white-space: nowrap;
}

.globalnav-links li a:hover {
    opacity: 1;
    background: #1d1d1f;
    color: #fff;
}

.nav-logo a {
    padding: 0 10px;
    height: 44px;
    border-radius: 0;
    background: transparent !important;
}

.nav-logo a:hover {
    background: transparent !important;
    color: inherit;
}

.nav-logo img {
    display: block;
    height: auto;
    width: auto;
    max-height: 44px;
}

.nav-icon a {
    padding: 0 10px;
    height: 44px;
    border-radius: 0;
}

.nav-icon a:hover {
    background: transparent;
    color: inherit;
}

.nav-icon svg {
    width: 15px;
    height: 44px;
    fill: rgba(29, 29, 31, 0.8);
    transition: fill 0.3s;
}

.nav-icon:hover svg {
    fill: #1d1d1f;
}

/* ===== 4. Hero Banner (index.aspx) ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 56px;
    padding-bottom: 0;
    overflow: hidden;
    background: #000;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.hero-eyebrow {
    font-size: 17px;
    line-height: 1.24;
    color: #f5f5f7;
    font-weight: 600;
    letter-spacing: 0.011em;
    margin-bottom: 4px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.07;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: #fff;
    margin-bottom: 6px;
}

.hero-title img {
    height: 52px;
    vertical-align: middle;
}

.hero-subtitle {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 400;
    color: #f5f5f7;
    letter-spacing: 0.004em;
    margin-bottom: 18px;
}

.hero-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 21px;
    line-height: 1.19;
}

.hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #06c;
    transition: color 0.3s;
}

.hero-links a:hover {
    text-decoration: underline;
}

.hero-links a .arrow-icon {
    display: inline-block;
    width: 7px;
    height: 12px;
    transition: transform 0.3s;
}

.hero-links a:hover .arrow-icon {
    transform: translateX(3px);
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1060px;
    margin-top: 10px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 5. Banner Slider (new_banner.ascx) ===== */
.nb-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
    user-select: none;
}

.nb-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.nb-slide.nb-active {
    opacity: 1;
    pointer-events: auto;
}

.nb-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nb-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.52) 0%,
        rgba(0,0,0,0.18) 50%,
        rgba(0,0,0,0.04) 100%
    );
}

.nb-slide-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.nb-slide-wrap {
    max-width: calc(1024px + 44px);
    margin: 0 auto;
    padding: 0 22px;
    width: 100%;
}

.nb-slide-text {
    max-width: 480px;
    pointer-events: auto;
}

.nb-slide-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 14px;
    background: rgba(255,255,255,0.12);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.nb-slide-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 14px;
}

.nb-slide-subtitle {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
}

.nb-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 980px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    letter-spacing: 0.01em;
}

.nb-slide-btn:hover {
    background: #e8e8ed;
    transform: scale(1.03);
}

.nb-slide-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.nb-slide-btn:hover svg {
    transform: translateX(3px);
}

.nb-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.nb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
    outline: none;
}

.nb-dot.nb-dot-active {
    background: #fff;
    transform: scale(1.25);
}

.nb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.2s;
    outline: none;
}

.nb-arrow:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-50%) scale(1.08);
}

.nb-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-arrow-prev { left: 20px; }
.nb-arrow-next { right: 20px; }

.nb-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.85);
    z-index: 10;
    width: 0%;
    transition: none;
}

.nb-progress.nb-animating {
    transition: width linear;
}

/* ===== 6. 流程跑馬燈 (new_liucheng.ascx) ===== */
.flow-marquee-section {
    padding: 80px 0 60px;
    background: #f5f5f7;
    overflow: hidden;
}

.flow-marquee-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 48px 0;
    letter-spacing: -0.01em;
    line-height: 1.15;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.flow-marquee-container {
    width: 100%;
    position: relative;
}

.flow-marquee-inner {
    overflow-x: clip;
    overflow-y: visible;
    padding: 14px 0;
}

.flow-marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    will-change: transform;
}

.flow-card {
    flex-shrink: 0;
    width: 340px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.flow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.flow-card-text {
    padding: 28px 28px 0;
}

.flow-card-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #86868b;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.flow-card-step-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-card-step-icon svg {
    width: 16px;
    height: 16px;
}

.flow-card-step-icon--01 { background: #e8f0fe; }
.flow-card-step-icon--01 svg { stroke: #2563a8; }
.flow-card-step-icon--02 { background: #f3e8ff; }
.flow-card-step-icon--02 svg { stroke: #7c3aed; }
.flow-card-step-icon--03 { background: #fff7ed; }
.flow-card-step-icon--03 svg { stroke: #ea580c; }
.flow-card-step-icon--04 { background: #ecfdf5; }
.flow-card-step-icon--04 svg { stroke: #059669; }
.flow-card-step-icon--05 { background: #f0fdfa; }
.flow-card-step-icon--05 svg { stroke: #0d9488; }
.flow-card-step-icon--06 { background: #fef2f2; }
.flow-card-step-icon--06 svg { stroke: #dc2626; }

.flow-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.flow-card-desc {
    font-size: 14px;
    font-weight: 400;
    color: #6e6e73;
    line-height: 1.6;
    margin: 0;
}

.flow-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: 20px;
}

.flow-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== 7. 政府資訊 (new_gov.ascx) ===== */
.section-gov {
    padding: 80px 0;
    background: #ffffff;
}

.gov-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    gap: 0;
    background: #f2f3f5;
    border-radius: 28px;
    overflow: hidden;
}

.gov-main {
    flex: 1.5;
    padding: 44px 40px;
    min-width: 0;
}

.gov-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.gov-group {
    margin-bottom: 30px;
}

.gov-group:last-child {
    margin-bottom: 0;
}

.gov-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #6e6e73;
    margin: 0 0 14px 0;
    letter-spacing: 0.02em;
}

.gov-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.gov-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1d1d1f;
    transition: background 0.22s ease, transform 0.22s ease;
}

.gov-item:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(2px);
}

.gov-item svg {
    flex-shrink: 0;
}

.gov-text {
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    line-height: 1.4;
}

.gov-side {
    flex: 1;
    min-width: 0;
    padding: 0 0 0 20px;
    margin-right: -22px;
    position: relative;
}

.gov-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    border-radius: 0 28px 28px 0;
    display: block;
}

/* ===== 8. 政策表格 (new_gov_table.ascx) ===== */
.section-gov-table {
    padding: 20px 0;
    background: #fafafc;
}

.gov-table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    gap: 0;
}

.gov-table-main {
    flex: 2;
    min-width: 0;
}

.gov-table-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gov-table-col {
    border-radius: 20px;
    padding: 28px 24px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.gov-table-col:hover {
    background: #1a4680;
    box-shadow: 0 8px 30px rgba(26,70,128,0.18);
}

.gov-table-col-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 18px 0;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.gov-table-col-title svg {
    flex-shrink: 0;
    transition: stroke 0.3s ease;
}

.gov-table-col:hover .gov-table-col-title {
    color: #ffffff;
}

.gov-table-col:hover .gov-table-col-title svg path,
.gov-table-col:hover .gov-table-col-title svg rect {
    stroke: #ffffff;
}

.gov-table-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gov-table-list li {
    font-size: 15px;
    line-height: 1.6;
}

.gov-table-list li a {
    display: block;
    color: #424245;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 6px;
    transition: color 0.3s ease, background 0.22s ease;
}

.gov-table-list li a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}

.gov-table-col:hover .gov-table-list li a {
    color: rgba(255,255,255,0.82);
}

.gov-table-col:hover .gov-table-list li a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}

.gov-table-side {
    flex: 1;
    min-width: 0;
    padding: 0 0 0 20px;
    margin-right: -22px;
    display: flex;
    align-items: stretch;
}

.gov-table-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 28px 28px 0;
    display: block;
}

/* ===== 9. 影片講解 (new_video.ascx) ===== */
.nv-section {
    background: #f5f5f7;
    padding: 60px 0 40px;
}

.nv-header {
    text-align: center;
    margin: 0 auto 28px;
    padding: 0 40px;
    position: relative;
}

.nv-title {
    font-size: 48px;
    font-weight: 600;
    color: #1d1d1f;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nv-title svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nv-more {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.2s;
}

.nv-more:hover { color: var(--primary-color); }

.nv-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.nv-track {
    display: flex;
    gap: 28px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.nv-card {
    flex-shrink: 0;
    width: 340px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: transform 0.30s ease, box-shadow 0.30s ease;
}

.nv-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 32px rgba(0,0,0,0.13);
}

.nv-cover-wrap {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
}

.nv-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nv-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.25s ease;
}

.nv-card:hover .nv-play-overlay {
    background: rgba(0,0,0,0.28);
}

.nv-play-btn {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.82);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    box-shadow: 0 3px 14px rgba(0,0,0,0.30);
    transition: transform 0.25s ease, background 0.25s ease;
    pointer-events: none;
}

.nv-card:hover .nv-play-btn {
    transform: scale(1.15);
    background: rgba(255,255,255,1);
}

.nv-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 0 40px;
}

.nv-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color, #1a4680);
    background: #fff;
    color: var(--primary-color, #1a4680);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.20s ease;
    user-select: none;
}

.nv-nav-btn:hover {
    background: var(--primary-color, #1a4680);
    color: #fff;
    transform: scale(1.08);
}

.nv-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

.nv-nav-btn:disabled:hover {
    background: #fff;
    color: var(--primary-color, #1a4680);
}

.nv-nav-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nv-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nv-nav-dot.active {
    background: var(--primary-color, #1a4680);
    transform: scale(1.25);
}

/* ===== 9b. 播放彈窗 (new_video.ascx) ===== */
.vp-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    background: rgba(0,0,0,0);
    transition: background 0.35s ease, opacity 0.35s ease, visibility 0s 0.35s;
}

.vp-overlay.active {
    visibility: visible;
    opacity: 1;
    background: rgba(0,0,0,0.95);
    transition: background 0.35s ease, opacity 0.35s ease, visibility 0s;
}

.vp-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.40s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.vp-overlay.active .vp-wrap {
    transform: scale(1);
    opacity: 1;
}

.vp-wrap iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    border: none;
    border-radius: 16px;
    display: block;
    box-shadow: 0 0 60px rgba(0,0,0,0.7);
}

.vp-close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.vp-close:hover { background: rgba(255,255,255,0.35); }

/* ===== 10. 服務卡片 (new_service.ascx) ===== */
.sv-header {
    text-align: center;
    margin: 0 auto 24px;
}

.sv-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sv-title svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.section-scene-services {
    background: #f5f5f7;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
}

.scene-services-wrapper {
    overflow: hidden;
    padding: 4px;
}

.scene-services-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
}

.scene-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.scene-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}

.scene-card--transport {
    background: linear-gradient(160deg, rgba(240,246,255,0.88) 0%, rgba(255,255,255,0.88) 40%), url('../images/m1.jpg') center/cover no-repeat;
    border-top: 4px solid #0071e3;
    border-right: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
}

.scene-card--employment {
    background: linear-gradient(160deg, rgba(255,245,245,0.88) 0%, rgba(255,255,255,0.88) 40%), url('../images/m2.jpg') center/cover no-repeat;
    border-top: 4px solid #ff3b30;
    border-right: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
}

.scene-card--housing {
    background: linear-gradient(160deg, rgba(242,253,245,0.88) 0%, rgba(255,255,255,0.88) 40%), url('../images/m3.jpg') center/cover no-repeat;
    border-top: 4px solid #34c759;
    border-right: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
}

.scene-card--elderly {
    background: linear-gradient(160deg, rgba(255,248,242,0.88) 0%, rgba(255,255,255,0.88) 40%), url('../images/m4.jpg') center/cover no-repeat;
    border-top: 4px solid #ff9500;
    border-right: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
}

.scene-card--enterprise {
    background: linear-gradient(160deg, rgba(249,244,252,0.88) 0%, rgba(255,255,255,0.88) 40%), url('../images/m5.jpg') center/cover no-repeat;
    border-top: 4px solid #af52de;
    border-right: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    border-left: 1px solid rgba(0,0,0,0.04);
}

.scene-card__collapsed {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    position: relative;
    z-index: 1;
}

.scene-card__number {
    font-size: 52px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.scene-card--enterprise .scene-card__number {
    color: rgba(0, 0, 0, 0.06);
    opacity: 1;
}

.scene-card__collapsed .scene-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
    text-shadow: none;
}

.scene-card--enterprise .scene-card__collapsed .scene-card__title {
    color: #1d1d1f;
    text-shadow: none;
}

.scene-card__brief {
    font-size: 15px;
    color: #000;
    line-height: 1.5;
    text-shadow: none;
}

.scene-card--enterprise .scene-card__brief {
    color: #000;
    text-shadow: none;
}

.scene-card__expanded {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 2;
}

.scene-card.active .scene-card__collapsed {
    opacity: 0;
    visibility: hidden;
}

.scene-card.active .scene-card__expanded {
    opacity: 1;
    visibility: visible;
}

.scene-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.scene-card__header .scene-card__number {
    font-size: 40px;
    margin-bottom: 0;
    color: rgba(0,0,0,0.06);
    text-shadow: none;
}

.scene-card__header .scene-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0;
    text-shadow: none;
}

.scene-card--enterprise .scene-card__header .scene-card__title {
    color: #1d1d1f;
    text-shadow: none;
}

.scene-card__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scene-card__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(245,245,247,0.88);
    border-radius: 12px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.scene-card--enterprise .scene-card__item {
    background: rgba(245,245,247,0.88);
}

.scene-card__item:hover {
    background: rgba(232,232,237,0.92);
    transform: translateX(5px);
}

.scene-card--enterprise .scene-card__item:hover {
    background: rgba(232,232,237,0.92);
}

.scene-card__item-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.scene-card__item-text {
    font-size: 14px;
    color: #1d1d1f;
    line-height: 1.5;
    text-shadow: none;
}

.scene-card--enterprise .scene-card__item-text {
    color: #1d1d1f;
    text-shadow: none;
}

.scene-card.active {
    flex: 3 1 0;
}

/* ===== 11. 地圖 (new_map.ascx) ===== */
.section-gov-map {
    padding: 60px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-gov-map > .container {
    width: 100%;
    padding: 0 20px;
    max-width: 1200px !important;
    margin: 0 auto;
}

.gov-map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.gov-map-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #1a4680 0%, #2d5aa0 100%);
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
}

.gov-map-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.gov-map-arrow {
    font-size: 20px;
    color: #333333;
    margin-left: 8px;
}

.gov-map-content {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.gov-map-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.gov-map-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.map-addr-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: all 0.35s ease;
    color: #fff;
    position: relative;
}

.map-addr-card:hover,
.map-addr-card.active {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26,70,128,0.16);
}

.map-addr-card::before {
    content: '';
    position: absolute;
    top: -25px; right: -25px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    z-index: 0;
}

.map-addr-card::after {
    content: '';
    position: absolute;
    bottom: -20px; left: -15px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    z-index: 0;
}

.map-addr-card-inner {
    padding: 18px 20px;
    position: relative;
    z-index: 1;
}

.map-addr-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.map-addr-card-num {
    display: inline-block;
    font-size: 11px;
    background: rgba(255,255,255,0.25);
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.map-addr-card-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.map-addr-card-addr {
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    opacity: 0.92;
}

.map-addr-card-addr .loc-icon {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 13px;
}

.map-addr-card--macau {
    background: linear-gradient(135deg, #1a4680 0%, #2563a8 100%);
}

.map-addr-card--hongkong {
    background: linear-gradient(135deg, #c41e3a 0%, #e63950 100%);
}

.map-addr-card--zhuhai {
    background: linear-gradient(135deg, #018859 0%, #00b86b 100%);
}

.map-addr-card--dongguan {
    background: linear-gradient(135deg, #c77c18 0%, #e8a020 100%);
}

.gov-map-area {
    flex: 1;
    min-width: 0;
    position: relative;
}

.tencent-map-container {
    width: 100%;
    height: 100%;
    min-height: 490px;
    overflow: hidden;
    background-image: url('../skin/images/map-box-bg.c8014bfe.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== 12. 官方媒體平台 (new_all_planform.ascx) ===== */
.pf-section {
    padding: 28px 0;
    background: #fff;
}

.pf-header {
    text-align: center;
    margin: 0 auto 24px;
}

.pf-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pf-title svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.pf-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.pf-item {
    flex: 1;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.30s ease;
}

.pf-item:hover {
    transform: translateY(-4px);
    text-decoration: none;
}

.pf-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    transition: transform 0.30s ease, box-shadow 0.30s ease;
}

.pf-item:hover .pf-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.pf-icon svg {
    width: 52px;
    height: 52px;
}

.pf-icon--douyin  { background: #f0f0f0; }
.pf-icon--redbook { background: #fff0f3; }
.pf-icon--fb      { background: #e8f0fe; }
.pf-icon--youtube { background: #ffeaea; }
.pf-icon--ig      { background: linear-gradient(135deg, #fdf0f5, #f3e8ff); }

.pf-text {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: color 0.25s ease;
}

.pf-item:hover .pf-text {
    color: var(--primary-color);
}

.pf-arrow {
    display: none;
}

/* ===== 13. Footer (new_footer.ascx) ===== */
.site-footer {
    background: #f5f5f7;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

.site-footer__inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 22px 0;
}

.site-footer__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.site-footer__col {
    flex: 1 1 0;
    min-width: 160px;
    padding-right: 20px;
    margin-bottom: 24px;
}

.site-footer__col-title {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.site-footer__col-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__col-list li {
    margin-bottom: 8px;
}

.site-footer__col-list a {
    color: #424245;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 12px;
}

.site-footer__col-list a:hover {
    color: #1d1d1f;
    text-decoration: underline;
}

.site-footer__text {
    color: #424245;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 6px;
}

.site-footer__text strong {
    color: #1d1d1f;
    font-weight: 600;
}

.site-footer__bottom {
    border-top: 1px solid #d2d2d7;
    padding: 16px 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.site-footer__copyright {
    color: #86868b;
    font-size: 12px;
    margin: 0;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__legal li {
    display: flex;
    align-items: center;
}

.site-footer__legal li + li::before {
    content: '|';
    color: #d2d2d7;
    margin: 0 8px;
}

.site-footer__legal a {
    color: #424245;
    text-decoration: none;
    font-size: 12px;
}

.site-footer__legal a:hover {
    text-decoration: underline;
}

/* ===== 14. 聯絡彈窗 Modal (new_footer.ascx) ===== */
.contact-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal-overlay.active { opacity: 1; visibility: visible; }

.contact-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, 40%);
    width: 620px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 60px);
    background: #fff;
    border-radius: 14px;
    z-index: 10001;
    box-shadow: 0 12px 48px rgba(0,0,0,0.22);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1), visibility 0.35s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.contact-modal__close {
    position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}

.contact-modal__close:hover { background: rgba(255,255,255,0.4); }

.contact-modal__header {
    background: linear-gradient(135deg, #1a4680 0%, #2563a8 100%);
    padding: 22px 24px 16px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-modal__header::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.contact-modal__header::after {
    content: '';
    position: absolute;
    bottom: -20px; left: -20px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.contact-modal__header-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative; z-index: 1;
}

.contact-modal__header-tag {
    display: inline-block;
    font-size: 0.72rem;
    background: rgba(255,255,255,0.2);
    padding: 3px 12px;
    border-radius: 20px;
    margin-top: 6px;
    letter-spacing: 1px;
    position: relative; z-index: 1;
}

.contact-modal__body {
    display: flex;
    padding: 20px 22px;
    gap: 20px;
}

.contact-modal__left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid #eee;
}

.contact-modal__qr {
    width: 100px; height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.contact-modal__qr img { width: 100%; height: 100%; object-fit: cover; }

.contact-modal__right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 420px;
}

.contact-modal__office-head {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 4px;
}

.contact-modal__info-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 2px;
}

.contact-modal__svg-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-modal__info-text {
    word-break: break-all;
    color: #333;
}

a.contact-modal__info-text {
    color: #1a4680;
    text-decoration: none;
}

a.contact-modal__info-text:hover { text-decoration: underline; }

/* ================================================================
   RESPONSIVE — 所有模塊的 @media 規則統一收攏
   ================================================================ */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
    .gov-wrapper { max-width: 100%; }
    .gov-table-wrapper { max-width: 100%; }
    .nv-header { padding: 0 20px; }
    .nv-more { right: 20px; }
    .nv-nav { padding: 0 20px; }
    .pf-list { gap: 14px; padding: 0 16px; }
    .pf-icon  { width: 72px; height: 72px; }
    .pf-icon svg { width: 44px; height: 44px; }
    .scene-card { flex: 1 1 0; min-width: 0; min-height: 380px; }
    .scene-card.active { flex: 3 1 0; }
    .gov-map-content { flex-direction: column; }
    .gov-map-sidebar { width: 100%; }
    .gov-map-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tencent-map-container { min-height: 360px; }
}

/* ---- 834px ---- */
@media (max-width: 834px) {
    .globalnav-links li a { font-size: 11px; padding: 0 9px; height: 28px; }
    .nav-logo a, .nav-icon a { padding: 0 6px; height: 44px; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 21px; }
    .hero-links { font-size: 17px; gap: 20px; }
    .hero { min-height: 480px; padding-top: 46px; }
    .flow-marquee-title { font-size: 36px; margin-bottom: 36px; }
    .flow-card { width: 280px; }
    .flow-card-text { padding: 22px 22px 0; }
    .flow-card-title { font-size: 19px; }
    .flow-card-desc { font-size: 13px; }
    .flow-card-img { height: 160px; }
    .flow-marquee-track { gap: 20px; }
    .gov-wrapper { flex-direction: column; }
    .gov-main { padding: 28px 24px; }
    .gov-side { padding: 0 0 20px; height: 220px; order: -1; }
    .gov-side img { border-radius: 0 0 20px 20px; }
    .gov-title { font-size: 26px; margin-bottom: 28px; }
    .gov-table-wrapper { flex-direction: column; }
    .gov-table-main { padding: 0; }
    .gov-table-side { padding: 20px 0 0 0; margin-right: 0; height: 220px; order: -1; }
    .gov-table-side img { border-radius: 20px; }
    .gov-table-col-title { font-size: 16px; }
    .nv-card { width: 280px; }
    .nv-cover-wrap { height: 600px; }
    .nb-slider { height: 380px; }
    .nb-slide-title { font-size: 32px; }
    .nb-slide-subtitle { font-size: 15px; }
    .nb-slide-text { max-width: 360px; }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
    .scene-services-grid { flex-wrap: wrap; gap: 12px; }
    .scene-card { flex: 0 0 calc(50% - 6px); min-height: 320px; }
    .scene-card.active { flex: 0 0 100%; }
    .pf-list { flex-wrap: wrap; gap: 12px; }
    .pf-item { flex: 0 0 calc(33.333% - 12px); max-width: none; }
    .pf-icon  { width: 64px; height: 64px; }
    .pf-icon svg { width: 40px; height: 40px; }
    .site-footer__col { flex: 0 0 50%; min-width: auto; padding-right: 12px; }
    .section-gov-map { padding: 40px 0; }
    .tencent-map-container { min-height: 300px; }
}

/* ---- 580px ---- */
@media (max-width: 580px) {
    .nb-slider { height: 260px; }
    .nb-slide-title { font-size: 22px; }
    .nb-slide-subtitle { display: none; }
    .nb-slide-text { max-width: 240px; }
    .nb-slide-btn { font-size: 13px; padding: 9px 18px; }
    .nb-slide-tag { font-size: 10px; }
    .nb-arrow { width: 34px; height: 34px; }
    .nb-arrow-prev { left: 10px; }
    .nb-arrow-next { right: 10px; }
}

/* ---- 560px ---- */
@media (max-width: 560px) {
    .contact-modal { width: calc(100vw - 24px); }
    .contact-modal__body { flex-direction: column; padding: 16px; gap: 14px; }
    .contact-modal__left { flex-direction: row; border-right: none; border-bottom: 1px solid #eee; padding-right: 0; padding-bottom: 14px; }
    .contact-modal__qr { width: 80px; height: 80px; }
    .contact-modal__right { max-height: none; }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
    .globalnav-links li:not(.nav-logo):not(.nav-icon) { display: none; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 19px; }
    .hero-links { font-size: 15px; flex-direction: column; gap: 12px; }
    .hero { min-height: 400px; padding-top: 36px; }
    .flow-marquee-title { font-size: 28px; margin-bottom: 28px; }
    .flow-card { width: 240px; border-radius: 18px; }
    .flow-card-text { padding: 18px 18px 0; }
    .flow-card-title { font-size: 17px; }
    .flow-card-desc { font-size: 12px; }
    .flow-card-step { font-size: 17px; }
    .flow-card-img { height: 140px; margin-top: 16px; }
    .flow-marquee-track { gap: 14px; }
    .section-gov { padding: 48px 0; }
    .gov-wrapper { border-radius: 20px; margin: 0 12px; }
    .gov-main { padding: 22px 16px; }
    .gov-grid { grid-template-columns: 1fr; }
    .gov-title { font-size: 22px; }
    .gov-group-title { font-size: 14px; }
    .gov-text { font-size: 14px; }
    .gov-side { height: 160px; }
    .section-gov-table { padding: 48px 0; }
    .gov-table-wrapper { padding: 0 12px; }
    .gov-table-grid { grid-template-columns: 1fr; gap: 24px; }
    .gov-table-col { padding: 20px 16px; border-radius: 16px; }
    .gov-table-col-title { font-size: 15px; }
    .gov-table-list li { font-size: 14px; }
    .gov-table-side { height: 160px; }
    .nv-section { padding: 40px 0 28px; }
    .nv-header { padding: 0 16px; }
    .nv-more { right: 16px; font-size: 12px; }
    .nv-card { width: 240px; }
    .nv-cover-wrap { height: 500px; }
    .nv-nav { gap: 12px; padding: 0 16px; margin-top: 20px; }
    .nv-nav-btn { width: 40px; height: 40px; font-size: 16px; }
    .scene-card { flex: 0 0 100%; min-height: 280px; }
    .site-footer__inner { padding: 30px 16px 0; }
    .site-footer__col { flex: 0 0 100%; padding-right: 0; margin-bottom: 16px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .pf-item { flex: 0 0 calc(50% - 12px); }
    .pf-icon  { width: 60px; height: 60px; }
    .pf-icon svg { width: 36px; height: 36px; }
    .gov-map-list { grid-template-columns: 1fr; }
    .gov-map-title { font-size: 20px; }
}
