@charset "UTF-8";

/* ==========================================================================
   形象官網主題樣式
   色系：深藍（品牌）＋電光藍（主色）＋青色（輔色）
   ========================================================================== */

:root {
    --c-navy: #0b1f3f;
    --c-navy-2: #12305e;
    --c-primary: #1e6bff;
    --c-primary-dark: #1452cc;
    --c-accent: #00c2d1;
    --c-text: #1f2a3d;
    --c-muted: #6b778c;
    --c-line: #e4e9f2;
    --c-bg-soft: #f4f7fc;
    --c-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e6bff 0%, #00c2d1 100%);
    --gradient-dark: linear-gradient(135deg, #0b1f3f 0%, #12305e 60%, #164a8a 100%);
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 14px rgba(15, 35, 75, 0.06);
    --shadow: 0 12px 32px rgba(15, 35, 75, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 35, 75, 0.16);
    --header-h: 84px;
    --font-en: var(--bs-body-font-family);
}

body {
    color: var(--c-text);
    background: var(--c-white);
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--c-primary);
    transition: color 0.2s;
}

a:hover {
    color: var(--c-primary-dark);
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(30, 107, 255, 0.18);
}

/* ===== 按鈕 ===== */
.btn-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 24px rgba(30, 107, 255, 0.28);
    transition: transform 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}

.btn-theme:hover,
.btn-theme:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(30, 107, 255, 0.36);
}

.btn-theme i {
    transition: transform 0.25s;
}

.btn-theme:hover i {
    transform: translateX(4px);
}

.btn-theme-sm {
    padding: 10px 22px;
    font-size: 15px;
}

.btn-theme-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.btn-theme-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.btn-theme-ghost {
    background: transparent;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    box-shadow: none;
}

.btn-theme-ghost:hover {
    color: #fff;
    background: var(--c-primary);
    box-shadow: none;
}

.btn-theme-light {
    background: #fff;
    color: var(--c-primary);
}

.btn-theme-light:hover {
    color: var(--c-primary-dark);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--c-primary);
}

.link-more i {
    transition: transform 0.25s;
}

.link-more:hover i {
    transform: translateX(4px);
}

/* ===== 選單 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--c-line);
    transition: background 0.3s, box-shadow 0.3s;
}

.site-header .navbar {
    min-height: var(--header-h);
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.site-header.is-transparent {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(15, 35, 75, 0.08);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--c-navy);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.06em;
}

.site-brand:hover {
    color: var(--c-navy);
}

.site-logo {
    height: 46px;
    width: auto;
}

.site-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(30, 107, 255, 0.3);
}

.site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-brand {
    color: #fff;
}

.site-header .site-nav .nav-item {
    padding: 0;
}

.site-header .site-nav .nav-link {
    position: relative;
    padding: 28px 14px;
    color: var(--c-text);
    font-weight: 500;
    font-size: 16px;
}

.site-header .site-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.site-header .site-nav .nav-link:hover,
.site-header .site-nav .nav-item.active .nav-link {
    color: var(--c-primary);
}

.site-header .site-nav .nav-link:hover::after,
.site-header .site-nav .nav-item.active .nav-link::after {
    transform: scaleX(1);
}

.site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-nav .nav-link:hover,
.site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-nav .nav-item.active .nav-link {
    color: #fff;
}

.site-toggler {
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-toggler:focus {
    box-shadow: none;
}

.site-toggler span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--c-navy);
    transition: transform 0.3s, opacity 0.3s;
}

.site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-toggler span {
    background: #fff;
}

.site-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.site-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 1199.98px) {
    :root {
        --header-h: 72px;
    }

    .site-header .navbar-collapse {
        padding: 8px 0 24px;
    }

    .site-header .site-nav .nav-link {
        padding: 14px 4px;
        border-bottom: 1px solid var(--c-line);
    }

    .site-header .site-nav .nav-link::after {
        display: none;
    }

    .site-nav-cta {
        margin-top: 20px;
        width: 100%;
    }
}

/* ===== 區塊共用 ===== */
.section {
    padding: 110px 0;
    position: relative;
}

.section-sm {
    padding: 80px 0;
}

.section-soft {
    background: var(--c-bg-soft);
}

.section-dark {
    background: var(--gradient-dark);
    color: #fff;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head.text-start {
    margin-left: 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 14px;
}

.section-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--gradient-primary);
}

.section-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-navy);
    margin-bottom: 18px;
}

.section-dark .section-title {
    color: #fff;
}

.section-desc {
    font-size: 17px;
    line-height: 1.9;
    color: var(--c-muted);
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.72);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== 首頁主視覺 ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    max-height: 960px;
    background: var(--c-navy);
    overflow: hidden;
}

.hero .swiper,
.hero .swiper-slide {
    height: 100%;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.hero .swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-bg.is-mobile {
    display: none;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 22, 48, 0.88) 0%, rgba(8, 22, 48, 0.55) 45%, rgba(8, 22, 48, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding-top: var(--header-h);
    max-width: 720px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    letter-spacing: 0.12em;
    margin-bottom: 26px;
}

.hero-tag i {
    color: var(--c-accent);
}

.hero-title {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: 0.04em;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 38px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-slide .hero-content > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s, transform 0.8s;
}

.hero-slide.swiper-slide-active .hero-content > * {
    opacity: 1;
    transform: none;
}

.hero-slide.swiper-slide-active .hero-content > *:nth-child(2) {
    transition-delay: 0.15s;
}

.hero-slide.swiper-slide-active .hero-content > *:nth-child(3) {
    transition-delay: 0.3s;
}

.hero-slide.swiper-slide-active .hero-content > *:nth-child(4) {
    transition-delay: 0.45s;
}

.hero-pagination.swiper-pagination {
    bottom: 150px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 100% !important;
    max-width: 1320px;
    padding: 0 12px;
    text-align: left;
}

.hero-pagination .swiper-pagination-bullet {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: width 0.3s, background 0.3s;
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 58px;
    background: var(--c-accent);
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 3;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 0.3em;
    font-family: var(--font-en);
    display: none;
}

/* 數據統計 */
.stats-bar {
    position: relative;
    z-index: 5;
    margin-top: -90px;
}

.stats-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 36px 20px;
}

.stat-item {
    text-align: center;
    padding: 8px 10px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--c-line);
}

.stat-number {
    font-family: var(--font-en);
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--c-navy);
}

.stat-number small {
    font-size: 0.55em;
    margin-left: 2px;
    color: var(--c-primary);
}

.stat-label {
    margin-top: 6px;
    color: var(--c-muted);
}

.section-dark .stat-number {
    color: #fff;
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 服務卡片 ===== */
.service-card {
    position: relative;
    height: 100%;
    padding: 40px 34px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--c-line);
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    overflow: hidden;
    display: block;
    color: var(--c-text);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    opacity: 0;
    transition: opacity 0.35s;
}

.service-card > * {
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: #fff;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 255, 0.08);
    color: var(--c-primary);
    font-size: 28px;
    margin-bottom: 26px;
    transition: background 0.35s, color 0.35s;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.service-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--c-navy);
    transition: color 0.35s;
}

.service-card:hover h3 {
    color: #fff;
}

.service-card p {
    color: var(--c-muted);
    line-height: 1.85;
    margin-bottom: 20px;
    transition: color 0.35s;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.75);
}

.service-card .link-more {
    transition: color 0.35s;
}

.service-card:hover .link-more {
    color: var(--c-accent);
}

/* ===== 關於我們預覽 ===== */
.about-media {
    position: relative;
    padding: 0 40px 40px 0;
}

.about-media img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-media::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 70%;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    opacity: 0.15;
    z-index: -1;
}

.about-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-badge strong {
    display: block;
    font-family: var(--font-en);
    font-size: 40px;
    line-height: 1;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 34px;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    line-height: 1.75;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 255, 0.1);
    color: var(--c-primary);
}

.check-list li strong {
    color: var(--c-navy);
}

/* ===== 產品卡片 ===== */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--c-line);
    overflow: hidden;
    color: var(--c-text);
    transition: transform 0.35s, box-shadow 0.35s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    color: var(--c-text);
}

.product-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--c-bg-soft);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.product-card:hover .product-card-img img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--c-primary);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.product-card-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-model {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--c-muted);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.product-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--c-navy);
    line-height: 1.5;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--c-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .link-more {
    margin-top: auto;
}

/* ===== 服務流程 ===== */
.process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: process;
}

.process-item {
    position: relative;
    text-align: center;
    padding: 34px 20px 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.3s, transform 0.3s;
}

.process-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
}

.process-step {
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--c-accent);
    margin-bottom: 14px;
}

.process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 26px rgba(0, 194, 209, 0.3);
}

.process-item h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-item p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.process-light .process-item {
    background: #fff;
    border-color: var(--c-line);
}

.process-light .process-item:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

.process-light .process-item h3 {
    color: var(--c-navy);
}

.process-light .process-item p {
    color: var(--c-muted);
}

.process-light .process-step {
    color: var(--c-primary);
}

/* ===== 案例卡片 ===== */
.case-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 22, 48, 0) 30%, rgba(8, 22, 48, 0.92) 100%);
    transition: background 0.4s;
}

.case-card:hover {
    color: #fff;
}

.case-card:hover img {
    transform: scale(1.08);
}

.case-card:hover::after {
    background: linear-gradient(180deg, rgba(20, 82, 204, 0.35) 0%, rgba(8, 22, 48, 0.95) 100%);
}

.case-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 26px 28px;
}

.case-card-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(0, 194, 209, 0.9);
    font-size: 13px;
    margin-bottom: 10px;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 4px;
}

.case-card-client {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.case-card-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s, opacity 0.4s, margin 0.4s;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.case-card:hover .case-card-more {
    max-height: 120px;
    opacity: 1;
    margin-top: 10px;
}

/* ===== 消息卡片 ===== */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    border: 1px solid var(--c-line);
    color: var(--c-text);
    transition: transform 0.35s, box-shadow 0.35s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    color: var(--c-text);
}

.news-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: var(--c-bg-soft);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover .news-card-img img {
    transform: scale(1.06);
}

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

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--c-muted);
    margin-bottom: 10px;
}

.news-card-meta .type {
    color: var(--c-primary);
    font-weight: 500;
}

.news-card h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--c-navy);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .link-more {
    margin-top: auto;
}

/* ===== CTA ===== */
.cta-band {
    position: relative;
    border-radius: 24px;
    padding: 70px 60px;
    background: var(--gradient-dark);
    color: #fff;
    overflow: hidden;
}

.cta-band::before,
.cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.35;
    filter: blur(10px);
}

.cta-band::before {
    width: 380px;
    height: 380px;
    right: -120px;
    top: -160px;
}

.cta-band::after {
    width: 220px;
    height: 220px;
    left: 30%;
    bottom: -150px;
    opacity: 0.2;
}

.cta-band > * {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 14px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    margin: 0;
}

/* ===== 內頁橫幅 ===== */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 90px) 0 90px;
    color: #fff;
    background: var(--c-navy);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 22, 48, 0.92) 0%, rgba(8, 22, 48, 0.7) 50%, rgba(20, 82, 204, 0.45) 100%);
}

.page-hero-subtitle {
    font-family: var(--font-en);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--c-accent);
    margin-bottom: 12px;
}

.page-hero-title {
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 900;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.page-hero-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero-breadcrumb li + li::before {
    content: '/';
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.4);
}

.page-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.page-hero-breadcrumb a:hover {
    color: #fff;
}

/* 舊版內頁橫幅（Q&A、條款、會員）沿用新視覺 */
.page-figure {
    height: auto;
    min-height: 340px;
    padding: calc(var(--header-h) + 40px) 0 40px;
    background: var(--c-navy);
}

.page-figure::after {
    background: linear-gradient(100deg, rgba(8, 22, 48, 0.92) 0%, rgba(8, 22, 48, 0.7) 50%, rgba(20, 82, 204, 0.45) 100%);
}

.page-figure > div {
    position: relative;
    z-index: 3;
    text-align: center;
}

.page-figure h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
}

.page-figure .breadcrumb {
    justify-content: center;
}

/* ===== 篩選列 ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: var(--c-text);
    font-size: 15px;
    transition: all 0.25s;
}

.filter-pill:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.filter-pill.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(30, 107, 255, 0.25);
}

.filter-pill .count {
    margin-left: 4px;
    opacity: 0.7;
    font-size: 13px;
}

.search-box {
    position: relative;
    min-width: 260px;
}

.search-box input {
    width: 100%;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    padding: 0 52px 0 22px;
    background: #fff;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.search-box input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.1);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
}

/* 側邊分類 */
.side-panel {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--c-line);
    padding: 26px;
}

.side-panel + .side-panel {
    margin-top: 24px;
}

.side-panel-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--c-text);
    transition: background 0.2s, color 0.2s;
}

.side-list a:hover {
    background: var(--c-bg-soft);
    color: var(--c-primary);
}

.side-list a.active {
    background: rgba(30, 107, 255, 0.08);
    color: var(--c-primary);
    font-weight: 500;
}

.side-list .count {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--c-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--c-bg-soft);
    color: var(--c-muted);
    font-size: 14px;
    transition: all 0.2s;
}

.tag-chip:hover,
.tag-chip.active {
    background: var(--c-primary);
    color: #fff;
}

/* 空資料 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--c-muted);
}

.empty-state i {
    font-size: 54px;
    color: #c8d3e6;
    margin-bottom: 18px;
}

/* 分頁 */
.pagination {
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination .page-item .page-link {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid var(--c-line);
    color: var(--c-text);
    background: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

.pagination .page-item .page-link:hover {
    color: var(--c-primary);
    border-color: var(--c-primary);
    background: #fff;
}

/* ===== 內容頁 ===== */
.detail-gallery .swiper {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-bg-soft);
}

.detail-gallery-main .swiper-slide {
    aspect-ratio: 4 / 3;
}

.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-gallery-thumbs {
    margin-top: 14px;
}

.detail-gallery-thumbs .swiper-slide {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    opacity: 0.5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.detail-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--c-primary);
}

.detail-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-gallery .swiper-button-next,
.detail-gallery .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--c-navy);
    box-shadow: var(--shadow-sm);
}

.detail-gallery .swiper-button-next::after,
.detail-gallery .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.detail-info-type {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(30, 107, 255, 0.08);
    color: var(--c-primary);
    font-size: 14px;
    margin-bottom: 14px;
}

.detail-info-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--c-navy);
    line-height: 1.4;
    margin-bottom: 10px;
}

.detail-info-model {
    font-family: var(--font-en);
    color: var(--c-muted);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.detail-info-summary {
    color: var(--c-muted);
    font-size: 16px;
    line-height: 1.95;
    padding: 20px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    margin-bottom: 28px;
}

.detail-info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--c-line);
    margin-bottom: 36px;
    overflow-x: auto;
}

.detail-tabs .nav-link {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 16px 22px;
    color: var(--c-muted);
    font-weight: 500;
    font-size: 17px;
    white-space: nowrap;
    background: none;
}

.detail-tabs .nav-link.active {
    color: var(--c-primary);
    border-bottom-color: var(--c-primary);
}

.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-table th,
.spec-table td {
    padding: 16px 22px;
    border-bottom: 1px solid var(--c-line);
    vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: 0;
}

.spec-table th {
    width: 32%;
    background: var(--c-bg-soft);
    font-weight: 500;
    color: var(--c-navy);
}

.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    color: var(--c-text);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.file-item:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-sm);
    color: var(--c-text);
}

.file-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 255, 0.08);
    color: var(--c-primary);
    font-size: 22px;
    flex-shrink: 0;
}

.file-item-name {
    font-weight: 500;
    word-break: break-all;
}

.file-item-ext {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--c-muted);
    text-transform: uppercase;
}

.file-item-download {
    margin-left: auto;
    color: var(--c-primary);
}

/* 文章 */
.article-wrap {
    max-width: 880px;
    margin: 0 auto;
}

.article-head {
    text-align: center;
    margin-bottom: 40px;
}

.article-title {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.45;
    color: var(--c-navy);
    margin: 14px 0 18px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    color: var(--c-muted);
    font-size: 15px;
}

.article-meta i {
    color: var(--c-primary);
    margin-right: 6px;
}

.article-cover {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-cover img {
    width: 100%;
}

.article-body {
    font-size: 17px;
    line-height: 2;
}

.article-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 26px 0;
    margin-top: 48px;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}

.share-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-list span {
    color: var(--c-muted);
    margin-right: 4px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg-soft);
    color: var(--c-navy);
    transition: transform 0.2s, background 0.2s, color 0.2s;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.share-btn.fb:hover {
    background: #1877f2;
}

.share-btn.line:hover {
    background: #06c755;
}

.share-btn.x:hover {
    background: #000;
}

.share-btn.linkedin:hover {
    background: #0a66c2;
}

.share-btn.copy:hover {
    background: var(--c-primary);
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.post-nav a {
    display: block;
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    color: var(--c-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.post-nav a:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-sm);
}

.post-nav small {
    display: block;
    color: var(--c-muted);
    margin-bottom: 6px;
}

.post-nav .next {
    text-align: right;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: opacity 0.2s;
}

.gallery-grid a:hover img {
    opacity: 0.85;
}

/* ===== 關於我們 ===== */
.value-card {
    height: 100%;
    padding: 40px 34px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid transparent;
    border-image: var(--gradient-primary) 1;
    border-image-slice: 1 0 0 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.value-card-no {
    font-family: var(--font-en);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 18px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 14px;
}

.value-card p {
    color: var(--c-muted);
    line-height: 1.9;
    margin: 0;
}

.timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--c-primary), var(--c-accent));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 50px 46px 0;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 46px 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    right: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--c-primary);
    box-shadow: 0 0 0 6px rgba(30, 107, 255, 0.12);
}

.timeline-item:nth-child(even)::before {
    right: auto;
    left: -9px;
}

.timeline-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-line);
}

.timeline-item:nth-child(odd) .timeline-card {
    text-align: right;
}

.timeline-year {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.timeline-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 8px;
}

.timeline-card p {
    color: var(--c-muted);
    line-height: 1.85;
    margin: 0;
}

@media (max-width: 767.98px) {
    .timeline::before {
        left: 9px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 32px 40px;
    }

    .timeline-item::before,
    .timeline-item:nth-child(even)::before {
        left: 0;
        right: auto;
    }

    .timeline-item:nth-child(odd) .timeline-card {
        text-align: left;
    }
}

.team-card {
    text-align: center;
}

.team-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
    background: var(--c-bg-soft);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.team-photo-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #c8d3e6;
}

.team-card:hover .team-photo img {
    transform: scale(1.06);
}

.team-intro {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    background: linear-gradient(180deg, rgba(8, 22, 48, 0) 0%, rgba(8, 22, 48, 0.92) 40%);
    transform: translateY(100%);
    transition: transform 0.4s;
}

.team-card:hover .team-intro {
    transform: none;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 4px;
}

.team-card span {
    color: var(--c-primary);
    font-size: 15px;
}

.culture-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.culture-gallery a:first-child {
    grid-row: span 2;
}

.culture-gallery img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ===== 服務項目頁 ===== */
.service-row + .service-row {
    margin-top: 100px;
}

.service-row-media {
    position: relative;
}

.service-row-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-row-icon {
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: 86px;
    height: 86px;
    border-radius: 22px;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: var(--shadow);
}

.service-row-no {
    font-family: var(--font-en);
    font-size: 15px;
    letter-spacing: 0.2em;
    color: var(--c-primary);
    margin-bottom: 10px;
}

.service-row h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 18px;
}

.service-row .summary {
    font-size: 17px;
    color: var(--c-muted);
    line-height: 1.9;
}

.service-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 70px;
}

/* ===== 聯絡我們 ===== */
.contact-info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    height: 100%;
    padding: 30px 28px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-line);
    color: var(--c-text);
}

.contact-info-card:hover {
    color: var(--c-text);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 22px;
}

.contact-info-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 6px;
}

.contact-info-card p {
    margin: 0;
    color: var(--c-muted);
    word-break: break-all;
}

.contact-form-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 48px;
}

.form-label {
    font-weight: 500;
    color: var(--c-navy);
    margin-bottom: 8px;
}

.form-label .req {
    color: #e5484d;
    margin-left: 2px;
}

.form-control-theme,
.form-select-theme {
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--c-line);
    background-color: var(--c-bg-soft);
    padding: 0 18px;
    transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

textarea.form-control-theme {
    height: auto;
    padding: 14px 18px;
    resize: vertical;
}

.form-control-theme:focus,
.form-select-theme:focus {
    background-color: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.1);
}

.map-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    min-height: 420px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* ===== 頁尾 ===== */
.site-footer {
    background: #081630;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    margin-top: auto;
}

.site-brand-light,
.site-brand-light:hover {
    color: #fff;
}

.footer-intro {
    line-height: 1.9;
    margin: 18px 0 24px;
    max-width: 380px;
}

.footer-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 22px;
}

.footer-links,
.footer-contact,
.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--c-accent);
}

.footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.footer-contact i {
    color: var(--c-accent);
    margin-top: 5px;
    width: 16px;
}

.footer-social-list {
    display: flex;
    gap: 10px;
}

.footer-social-list a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.25s, transform 0.25s;
}

.footer-social-list a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    color: #fff;
}

.footer-bottom {
    margin-top: 60px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: #fff;
}

/* 回到頁首 */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s;
}

.back-to-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* ===== 響應式 ===== */
@media (max-width: 991.98px) {
    .section {
        padding: 80px 0;
    }

    .section-sm {
        padding: 60px 0;
    }

    .stat-item:nth-child(3)::before {
        display: none;
    }

    .about-media {
        padding: 0 20px 20px 0;
        margin-bottom: 40px;
    }

    .service-row + .service-row {
        margin-top: 70px;
    }

    .service-row-media {
        margin-bottom: 40px;
    }

    .contact-form-card {
        padding: 32px 24px;
    }

    .cta-band {
        padding: 50px 30px;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero-slide-bg.is-pc.has-mobile {
        display: none;
    }

    .hero-slide-bg.is-mobile {
        display: block;
    }

    .hero-pagination.swiper-pagination {
        bottom: 120px !important;
    }

    .stats-bar {
        margin-top: -70px;
    }

    .stats-card {
        padding: 20px 10px;
    }

    .stat-item {
        padding: 14px 6px;
    }

    .stat-item::before {
        display: none;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav .next {
        text-align: left;
    }

    .page-hero {
        padding: calc(var(--header-h) + 50px) 0 56px;
    }

    .search-box {
        min-width: 100%;
    }

    .culture-gallery {
        grid-template-columns: 1fr;
    }

    .culture-gallery a:first-child {
        grid-row: auto;
    }
}

/* ===== 減少動態效果（尊重使用者系統設定） ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    [data-aos],
    .hero-slide .hero-content > * {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-slide-bg {
        transform: none;
    }
}

/* ===== 常見問題 ===== */
.faq-accordion .accordion-item {
    border: 1px solid var(--c-line);
    border-radius: var(--radius) !important;
    overflow: hidden;
    margin-bottom: 14px;
}

.faq-accordion .accordion-button {
    gap: 14px;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 500;
    color: var(--c-navy);
    background: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--c-primary);
    background: rgba(30, 107, 255, 0.04);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-q {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-family: var(--font-en);
    font-size: 15px;
}

.faq-accordion .accordion-body {
    padding: 0 24px 22px 70px;
    color: var(--c-muted);
    line-height: 1.9;
}

.faq-side-img,
.contact-office-img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ===== 條款內容 ===== */
.term-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-navy);
    margin: 36px 0 14px;
}

/* ===== 聯絡我們：辦公室 ===== */
.contact-office {
    position: relative;
}

.contact-office-hours {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.contact-office-hours h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 6px;
}

.contact-office-hours p {
    margin: 0;
    color: var(--c-muted);
    font-size: 15px;
}

/* 文章內圖片 */
.article-body img {
    border-radius: var(--radius);
    margin: 10px 0;
}

/* 辦公室插圖下方的地圖改為固定高度 */
.contact-office ~ .map-wrap,
.contact-office ~ .map-wrap iframe {
    height: 320px;
    min-height: 320px;
}
