/* ═══════════════════════════════════════════
   PTV 全站行銷頁 — 統一品牌視覺
   覆蓋所有 BootstrapMade 模板，對齊 home.css
   ═══════════════════════════════════════════ */

:root {
    --ptv-primary: var(--home-primary, #2b6cb0);
    --ptv-primary-light: var(--home-primary-light, #5b9bd5);
    --ptv-primary-dark: var(--home-primary-dark, #1e5288);
    --ptv-accent: var(--home-accent, #7eb8e8);
    --ptv-navy: var(--home-navy, #0f1f33);
    --ptv-text: var(--home-text, #1e293b);
    --ptv-muted: var(--home-muted, #64748b);
    --ptv-border: var(--home-border, #e2e8f0);
    --ptv-surface: var(--home-surface, #f4f7fb);
    --ptv-radius: var(--home-radius, 14px);
    --ptv-shadow: var(--home-shadow, 0 4px 20px rgba(15, 31, 51, 0.06));
    --ptv-gradient: var(--home-gradient, linear-gradient(135deg, #2b6cb0 0%, #3d7ab8 100%));
    --accent-color: var(--ptv-primary);
    --heading-color: var(--ptv-text);
    --default-color: var(--ptv-muted);
    --background-color: #ffffff;
    --surface-color: #ffffff;
    --nav-hover-color: var(--ptv-primary);
    --nav-dropdown-hover-color: var(--ptv-primary);
}

/* ── 全站 Navbar / Footer ── */
body.marketing-site .mkt-navbar.navbar,
body.marketing-site .mkt-navbar,
body.marketing-site .navbar.bg-primary {
    background: var(--mkt-nav-bg, rgba(255, 255, 255, 0.88)) !important;
    border-bottom: 1px solid rgba(15, 31, 51, 0.07);
    box-shadow: 0 4px 24px rgba(15, 31, 51, 0.04);
}

body.marketing-site .mkt-navbar.navbar--scrolled,
body.marketing-site .navbar.navbar--scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 8px 32px rgba(15, 31, 51, 0.08);
}

body.marketing-site .footer {
    background: var(--ptv-navy);
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.marketing-site .footer h4,
body.marketing-site .footer .sitename {
    color: #fff;
}

body.marketing-site .footer a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

body.marketing-site .footer a:hover {
    color: var(--ptv-accent);
}

body.marketing-site .footer .social-links a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

body.marketing-site .scroll-top {
    background: var(--ptv-primary);
}

body.marketing-site .scroll-top:hover {
    background: var(--ptv-primary-dark);
}

/* ── 捲動進度條 ── */
.mkt-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--ptv-gradient);
    z-index: 1040;
    transition: width 0.08s linear;
    pointer-events: none;
}

/* ── 行銷頁容器 ── */
.marketing-page {
    overflow-x: hidden;
}

.marketing-page .main,
.home-main .marketing-page,
.home-main > section,
.home-main > .home-hero {
    /* home 首頁直接子元素 */
}

.home-main {
    padding: 0;
    max-width: 100%;
}

/* ── Section 通用 ── */
.marketing-page .section,
.home-main .section {
    padding: 4rem 0;
}

.marketing-page .section-title,
.home-main .section-title {
    text-align: center;
    padding-bottom: 2.5rem;
}

.marketing-page .section-title h2,
.home-main .section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--ptv-text);
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.marketing-page .section-title h2::after,
.home-main .section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--ptv-primary);
    border-radius: 2px;
}

.marketing-page .section-title p,
.home-main .section-title p {
    color: var(--ptv-muted);
    max-width: 720px;
    margin: 1rem auto 0;
    line-height: 1.75;
}

.marketing-page .light-background,
.home-main .light-background {
    background: var(--ptv-surface) !important;
}

.marketing-page .dark-background,
.home-main .dark-background {
    background: linear-gradient(155deg, var(--ptv-navy) 0%, #172a42 50%, #1e334d 100%) !important;
    --heading-color: #fff;
    --default-color: rgba(255, 255, 255, 0.78);
}

/* ── Hero 統一 ── */
.marketing-page .hero,
.home-main .hero {
    position: relative;
    overflow: hidden;
}

.marketing-page .hero.section.dark-background,
.home-main .hero.section.dark-background {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
}

.marketing-page .hero.section.dark-background::before,
.home-main .hero.section.dark-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 25%, rgba(43, 108, 176, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 85% 75%, rgba(91, 155, 213, 0.14) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.marketing-page .hero.section.dark-background img,
.home-main .hero.section.dark-background img {
    opacity: 0.35;
    filter: saturate(0.85);
}

.marketing-page .hero.section.dark-background::after,
.home-main .hero.section.dark-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 31, 51, 0.55) 0%, rgba(15, 31, 51, 0.75) 100%);
    z-index: 1;
}

.marketing-page .hero h1,
.marketing-page .hero h2,
.home-main .hero h1,
.home-main .hero h2 {
    color: #fff !important;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
}

.marketing-page .hero p,
.home-main .hero p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.marketing-page .btn-get-started,
.marketing-page .cta-btn,
.marketing-page .btn-hero--primary,
.home-main .btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    color: #fff !important;
    background: var(--ptv-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(43, 108, 176, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.marketing-page .btn-get-started:hover,
.marketing-page .cta-btn:hover,
.home-main .btn-get-started:hover {
    background: var(--ptv-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(43, 108, 176, 0.4);
    color: #fff !important;
}

.marketing-page .btn-watch-video,
.marketing-page .btn-link {
    color: var(--ptv-accent) !important;
}

.marketing-page .company-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ptv-accent);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(126, 184, 232, 0.25);
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

/* iLanding / NeXCall hero */
.marketing-page .hero.section:not(.dark-background) {
    background: linear-gradient(155deg, var(--ptv-navy) 0%, #172a42 100%);
    color: #fff;
    padding: 3rem 0;
}

.marketing-page .hero.section:not(.dark-background) h3,
.marketing-page .hero.section:not(.dark-background) h5,
.marketing-page .hero.section:not(.dark-background) p {
    color: rgba(255, 255, 255, 0.88) !important;
}

.marketing-page .hero.section:not(.dark-background) .accent-text,
.marketing-page .accent-text {
    color: var(--ptv-accent) !important;
}

.marketing-page .hero.section:not(.dark-background) span[style*="color:red"],
.marketing-page span[style*="color:red"] {
    color: var(--ptv-accent) !important;
    font-weight: 700;
}

/* ── 卡片統一 ── */
.marketing-page .service-item,
.marketing-page .icon-box,
.marketing-page .why-box,
.marketing-page .feature-box,
.marketing-page .pricing-item,
.home-main .service-item {
    background: #fff;
    border: 1px solid var(--ptv-border);
    border-radius: var(--ptv-radius);
    box-shadow: var(--ptv-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.marketing-page .service-item:hover,
.marketing-page .icon-box:hover,
.marketing-page .why-box:hover,
.marketing-page .feature-box:hover,
.home-main .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(43, 108, 176, 0.12);
    border-color: #c8d9ea;
}

.marketing-page .service-item .icon,
.marketing-page .icon-box i,
.marketing-page .why-box i {
    color: var(--ptv-primary) !important;
}

.marketing-page .service-item .icon {
    background: linear-gradient(135deg, #eef4fa 0%, #e3edf7 100%);
    border-radius: 12px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.25s ease;
}

.marketing-page .service-item:hover .icon {
    transform: scale(1.06);
}

.marketing-page .what-we-do .why-box {
    background: var(--ptv-gradient);
    color: #fff;
    border: none;
}

.marketing-page .what-we-do .why-box h3,
.marketing-page .what-we-do .why-box p {
    color: #fff;
}

.marketing-page .what-we-do .why-box .more-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.marketing-page .what-we-do .icon-box {
    padding: 1.75rem 1.25rem;
    height: 100%;
}

.marketing-page .what-we-do .icon-box i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #eef4fa 0%, #e3edf7 100%);
    border-radius: 14px;
    margin-bottom: 1rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.marketing-page .what-we-do .icon-box:hover i {
    transform: scale(1.08);
    background: linear-gradient(135deg, #dbeaf5 0%, #c8d9ea 100%);
}

/* ── About 列表 ── */
.marketing-page .about-content ul,
.marketing-page .about .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marketing-page .about-content ul li,
.marketing-page .about .content ul li {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    background: #fff;
    border: 1px solid var(--ptv-border);
    border-radius: var(--ptv-radius);
    border-left: 4px solid var(--ptv-primary);
    box-shadow: var(--ptv-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marketing-page .about-content ul li:hover,
.marketing-page .about .content ul li:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(43, 108, 176, 0.08);
}

.marketing-page .about-content ul li i,
.marketing-page .about .content ul li i {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--ptv-primary);
    background: linear-gradient(135deg, #eef4fa 0%, #e3edf7 100%);
    border-radius: 10px;
}

/* ── 圖片框 ── */
.mkt-image-frame {
    display: inline-block;
    max-width: 100%;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--ptv-border);
    border-radius: calc(var(--ptv-radius) + 2px);
    box-shadow: var(--ptv-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mkt-image-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(43, 108, 176, 0.12);
}

.mkt-image-frame img {
    border-radius: var(--ptv-radius);
    max-width: 100%;
    height: auto;
}

.mkt-image-caption {
    font-weight: 700;
    color: var(--ptv-text);
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

/* ── Experience Badge ── */
.experience-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 3;
    background: #fff;
    border: 1px solid var(--ptv-border);
    border-radius: var(--ptv-radius);
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 28px rgba(43, 108, 176, 0.15);
    max-width: 260px;
    animation: mkt-float 4s ease-in-out infinite;
}

.experience-badge h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ptv-text);
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.experience-badge h4 span {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ptv-muted);
    margin-top: 0.25rem;
}

.experience-badge p {
    font-size: 0.8rem;
    color: var(--ptv-primary);
    font-weight: 600;
    margin: 0;
}

@keyframes mkt-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── AIHealth 範疇導覽 ── */
.scope-nav {
    position: sticky;
    top: var(--mkt-nav-height, 64px);
    z-index: 1020;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ptv-border);
    box-shadow: 0 2px 12px rgba(15, 31, 51, 0.04);
}

.scope-nav__scroll {
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scope-nav__scroll::-webkit-scrollbar {
    display: none;
}

.scope-nav__inner {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 0;
    scroll-snap-type: x proximity;
}

.scope-nav__link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ptv-muted);
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.scope-nav__link:hover {
    color: var(--ptv-primary-dark);
    background: #eef4fa;
}

.scope-nav__link.active {
    color: #fff;
    background: var(--ptv-primary);
    border-color: var(--ptv-primary);
}

.scope-nav__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(43, 108, 176, 0.12);
    color: var(--ptv-primary);
}

.scope-nav__link.active .scope-nav__num {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ── 範疇 Section Band ── */
.scope-band {
    position: relative;
}

.scope-band--alt {
    background: var(--ptv-surface);
}

.scope-band__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ptv-primary-dark);
    margin-bottom: 0.5rem;
}

.scope-band__label::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--ptv-primary);
    border-radius: 1px;
}

.scope-band .section-title {
    padding-bottom: 2rem;
}

/* ── 子標題區塊 ── */
.mkt-subsection-title {
    text-align: center;
    margin-bottom: 2rem;
}

.mkt-subsection-title h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--ptv-text);
    margin-bottom: 0.5rem;
}

/* ── Contact 表單 ── */
.marketing-page .contact .php-email-form button[type=submit],
.marketing-page #contact button[type=submit] {
    background: var(--ptv-primary);
    border-color: var(--ptv-primary);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
}

.marketing-page .contact .php-email-form button[type=submit]:hover,
.marketing-page #contact button[type=submit]:hover {
    background: var(--ptv-primary-dark);
    border-color: var(--ptv-primary-dark);
}

/* ── Swiper ── */
.marketing-page .swiper-pagination-bullet-active,
.home-main .swiper-pagination-bullet-active {
    background: var(--ptv-primary) !important;
}

/* ── 首頁 Hero 輪播（marketing.css 最後載入，避免 home.css 快取舊版） ── */
body.page-home .home-hero__carousel-wrap,
.marketing-page--home .home-hero__carousel-wrap {
    position: relative;
    width: 100%;
    padding: 0 clamp(0.75rem, 2.5vw, 1.5rem);
    background: var(--home-surface, #f4f7fb);
}

body.page-home .home-hero__carousel-inner,
.marketing-page--home .home-hero__carousel-inner {
    width: min(100%, var(--home-hero-banner-max-w, 960px));
    max-width: 100%;
    margin: 0 auto;
}

body.page-home .home-hero-swiper,
.marketing-page--home .home-hero-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

body.page-home .home-hero-swiper .swiper-wrapper,
body.page-home .home-hero-swiper .swiper-slide,
.marketing-page--home .home-hero-swiper .swiper-wrapper,
.marketing-page--home .home-hero-swiper .swiper-slide {
    width: 100% !important;
}

body.page-home .home-hero__slide-link,
.marketing-page--home .home-hero__slide-link {
    display: block;
    width: 100%;
}

body.page-home .home-hero__slide-link img,
.marketing-page--home .home-hero__slide-link img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

body.page-home .home-hero-swiper__prev,
body.page-home .home-hero-swiper__next,
.marketing-page--home .home-hero-swiper__prev,
.marketing-page--home .home-hero-swiper__next {
    position: absolute;
    z-index: 10;
}

body.page-home .home-hero__cards-wrap,
.marketing-page--home .home-hero__cards-wrap {
    margin-top: 0;
    padding-top: 1.5rem;
    z-index: 3;
    background: #f4f7fb;
}

/* ── Tab / Nav tabs ── */
.marketing-page .nav-tabs .nav-link.active {
    border-color: var(--ptv-primary) !important;
    color: var(--ptv-primary-dark) !important;
}

/* ── Read more links ── */
.marketing-page .read-more {
    color: var(--ptv-primary);
    font-weight: 600;
}

.marketing-page .read-more:hover {
    color: var(--ptv-primary-dark);
}

/* ── Section 波浪分隔 ── */
.scope-band + .scope-band::before {
    content: "";
    display: block;
    height: 48px;
    margin-top: -48px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23f4f7fb' d='M0,24 C360,48 720,0 1080,24 C1260,36 1380,12 1440,24 L1440,0 L0,0 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
    pointer-events: none;
}

.scope-band--alt + .scope-band:not(.scope-band--alt)::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,24 C360,48 720,0 1080,24 C1260,36 1380,12 1440,24 L1440,0 L0,0 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}

/* ── About / Contact 簡頁 ── */
.mkt-page-hero {
    background: linear-gradient(155deg, var(--ptv-navy) 0%, #172a42 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    text-align: center;
}

.mkt-page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.mkt-page-hero p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.mkt-info-card {
    background: #fff;
    border: 1px solid var(--ptv-border);
    border-radius: var(--ptv-radius);
    padding: 1.5rem;
    box-shadow: var(--ptv-shadow);
    height: 100%;
}

.mkt-info-card i {
    font-size: 1.5rem;
    color: var(--ptv-primary);
    margin-bottom: 0.75rem;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .experience-badge,
    .marketing-page .service-item,
    .marketing-page .icon-box {
        animation: none;
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .scope-nav {
        top: var(--mkt-nav-height, 58px);
    }

    .experience-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: -2rem auto 1.5rem;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .marketing-page .section,
    .home-main .section {
        padding: 2.5rem 0;
    }

    .scope-nav__link {
        font-size: 0.78rem;
        padding: 0.45rem 0.75rem;
    }
}

/* ═══════════════════════════════════════════
   AIHealth 頁面排版強化
   ═══════════════════════════════════════════ */

.marketing-page--aihealth,
.marketing-page--aihealth h1,
.marketing-page--aihealth h2,
.marketing-page--aihealth h3,
.marketing-page--aihealth h4 {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

body.page-aihealth .marketing-page--aihealth .scope-nav {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.96);
}

/* Hero 統計列：長文案自動換行 */
.marketing-page--aihealth .home-hero__stat span {
    max-width: 14rem;
    line-height: 1.45;
    white-space: normal;
}

/* Sticky 導覽：橫向捲動 + 邊緣 fade */
.scope-nav__scroll::before,
.scope-nav__scroll::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2rem;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.scope-nav__scroll::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

.scope-nav__scroll::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

.scope-nav__scroll.is-scrollable::before,
.scope-nav__scroll.is-scrollable::after {
    opacity: 1;
}

.scope-nav__link {
    scroll-snap-align: start;
}

.scope-nav.is-compact .scope-nav__inner {
    padding: 0.45rem 0;
}

.scope-nav.is-compact .scope-nav__link {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

/* why-box 副標題層級 */
.marketing-page--aihealth .why-box {
    display: flex;
    flex-direction: column;
}

.marketing-page--aihealth .why-box__heading {
    font-size: 1.05rem;
    font-weight: 700;
    opacity: 0.92;
    margin-bottom: 0.75rem;
}

/* 範疇三：等高卡片 + 固定圖片比例 */
.marketing-page--aihealth .service-item--card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 1.75rem 1.5rem 1.5rem;
}

.marketing-page--aihealth .service-item--card .icon {
    margin-left: auto;
    margin-right: auto;
}

.marketing-page--aihealth .service-item--card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.marketing-page--aihealth .service-item--card p {
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.marketing-page--aihealth .service-item__media {
    margin-top: auto;
    padding-top: 0.5rem;
}

.marketing-page--aihealth .service-item__media .mkt-image-frame {
    display: block;
    width: 100%;
}

.marketing-page--aihealth .service-item__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: var(--ptv-surface);
}

/* 銀髮樂活：卡片等高 */
.marketing-page--aihealth #scope-4-services .service-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem 1.25rem;
}

.marketing-page--aihealth #scope-4-services .service-item p {
    flex: 1;
    line-height: 1.7;
}

/* 範疇四：長文可讀性 */
.mkt-readable-content {
    max-width: 65ch;
    line-height: 1.85;
    color: var(--ptv-text);
}

.mkt-readable-content > p {
    margin-bottom: 1.25rem;
}

.mkt-readable-content > p strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ptv-primary-dark);
    margin-bottom: 0.5rem;
    padding-left: 0.85rem;
    border-left: 3px solid var(--ptv-primary);
}

.mkt-readable-content .fst-italic {
    padding: 1rem 1.15rem;
    background: var(--ptv-surface);
    border-radius: var(--ptv-radius);
    border-left: 4px solid var(--ptv-accent);
    margin-bottom: 1.25rem;
}

.mkt-readable-content ul li {
    margin-bottom: 0.5rem;
}

/* 圖片框：放大提示 + caption 層級 */
.mkt-image-frame--zoom {
    position: relative;
    overflow: hidden;
}

.mkt-image-frame--zoom::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 31, 51, 0.4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0'/%3E%3Cpath d='M10.5 10.5 14 14' stroke='white' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / 28px no-repeat;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mkt-image-frame--zoom:hover::after {
    opacity: 1;
}

.mkt-image-caption--muted {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ptv-muted);
}

.mkt-image-frame.w-100 {
    display: block;
}

.mkt-image-frame.w-100 img {
    width: 100%;
    height: auto;
}

/* 頁尾 CTA 帶 */
.mkt-cta-band {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--ptv-gradient);
    color: #fff;
}

.mkt-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 90% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.mkt-cta-band .container {
    position: relative;
    z-index: 1;
}

.mkt-cta-band__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.mkt-cta-band__lead {
    max-width: 640px;
    margin: 0 auto 1.75rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    font-size: 1.05rem;
}

.mkt-cta-band .btn-hero--primary {
    background: #fff !important;
    color: var(--ptv-primary-dark) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mkt-cta-band .btn-hero--primary:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--ptv-primary-dark) !important;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .marketing-page--aihealth .home-hero__stat span {
        max-width: none;
    }
}
