/* ═══════════════════════════════════════════
   PTV 首頁 — 統一醫療品牌視覺
   ═══════════════════════════════════════════ */

:root {
    --home-primary: #2b6cb0;
    --home-primary-light: #5b9bd5;
    --home-primary-dark: #1e5288;
    --home-accent: #7eb8e8;
    --home-navy: #0f1f33;
    --home-navy-mid: #172a42;
    --home-navy-soft: #1e334d;
    --home-text: #1e293b;
    --home-muted: #64748b;
    --home-border: #e2e8f0;
    --home-surface: #f4f7fb;
    --home-radius: 14px;
    --home-shadow: 0 4px 20px rgba(15, 31, 51, 0.06);
    --home-gradient: linear-gradient(135deg, #2b6cb0 0%, #3d7ab8 100%);
    --home-gradient-text: linear-gradient(135deg, #a8d4f5 0%, #7eb8e8 100%);
    --home-hero-banner-max-w: 960px;
}

/* 全站導覽列與 Hero 色調一致 */
body.marketing-site .mkt-navbar,
body.marketing-site .navbar.bg-primary,
body:has(.home-main) .mkt-navbar,
body:has(.home-main) .navbar.bg-primary {
    border-bottom: 1px solid rgba(15, 31, 51, 0.07);
}

body.marketing-site .mkt-navbar.navbar--scrolled,
body.marketing-site .navbar.navbar--scrolled,
body:has(.home-main) .mkt-navbar.navbar--scrolled,
body:has(.home-main) .navbar.navbar--scrolled {
    box-shadow: 0 8px 32px rgba(15, 31, 51, 0.08);
}

/* ── Hero 主視覺 Banner ── */
.home-hero {
    position: relative;
    overflow: hidden;
}

/* Hero 圖片輪播 */
.home-hero__carousel-wrap {
    position: relative;
    width: 100%;
    padding: 0 clamp(0.75rem, 2.5vw, 1.5rem);
    background: var(--home-surface);
}

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

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

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

.home-hero__slide-link {
    display: block;
    width: 100%;
    line-height: 0;
}

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

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

.home-hero-swiper__pagination {
    bottom: 1rem !important;
}

.home-hero-swiper__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-hero-swiper__pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.15);
}

.home-hero-swiper__prev,
.home-hero-swiper__next {
    width: 44px;
    height: 44px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--home-primary-dark);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(15, 31, 51, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-hero-swiper__prev::after,
.home-hero-swiper__next::after {
    font-size: 1rem;
    font-weight: 700;
}

.home-hero-swiper__prev:hover,
.home-hero-swiper__next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.home-hero-swiper__prev {
    left: 1rem;
}

.home-hero-swiper__next {
    right: 1rem;
}

.home-hero__banner {
    position: relative;
    background: linear-gradient(155deg, var(--home-navy) 0%, var(--home-navy-mid) 50%, var(--home-navy-soft) 100%);
    padding: 2.5rem 0 4rem;
    color: #fff;
}

body.page-home .home-hero__banner {
    padding-top: 2.25rem;
    padding-bottom: 3.5rem;
}

body.page-aihealth .home-hero__banner {
    padding-top: 2.25rem;
}

.home-hero__banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 25%, rgba(43, 108, 176, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 85% 75%, rgba(91, 155, 213, 0.12) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.home-hero__banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 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,48 L0,48 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 1;
}

.home-hero__banner .container {
    position: relative;
    z-index: 1;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-accent);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(126, 184, 232, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    margin-bottom: 1.25rem;
}

.home-hero__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--home-accent);
    box-shadow: 0 0 6px rgba(126, 184, 232, 0.6);
    animation: home-pulse 2.5s ease-in-out infinite;
}

@keyframes home-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.home-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #fff;
}

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

.home-hero__lead {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-hero--primary {
    color: #fff;
    background: var(--home-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(43, 108, 176, 0.35);
}

.btn-hero--primary:hover {
    color: #fff;
    background: var(--home-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(43, 108, 176, 0.4);
}

.btn-hero--ghost {
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.btn-hero--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.home-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-hero__stat strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--home-accent);
}

.home-hero__stat span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* Hero 右側視覺 */
.home-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-hero__visual-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.home-hero__visual-frame::before {
    content: "";
    position: absolute;
    inset: -10% -10% 0;
    background: radial-gradient(circle at 50% 40%, rgba(43, 108, 176, 0.18) 0%, transparent 65%);
    filter: blur(28px);
    z-index: 0;
}

.home-hero__visual-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-hero__float {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.6rem 0.95rem;
    box-shadow: 0 6px 20px rgba(15, 31, 51, 0.12);
    border: 1px solid var(--home-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--home-text);
    white-space: nowrap;
    animation: home-float 4s ease-in-out infinite;
}

.home-hero__float i {
    color: var(--home-primary);
    margin-right: 0.35rem;
}

.home-hero__float--1 {
    top: 8%;
    right: -8%;
    animation-delay: 0s;
}

.home-hero__float--2 {
    bottom: 18%;
    left: -10%;
    animation-delay: 1.5s;
}

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

/* ── 服務卡片區（上浮重疊） ── */
.home-hero__cards-wrap {
    position: relative;
    margin-top: 0;
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;
    z-index: 3;
    background: #f4f7fb;
}

.home-hero__grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.home-section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-primary-dark);
    margin-bottom: 0.85rem;
    margin-top: 0;
}

.home-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(43, 108, 176, 0.2), transparent);
}

.home-section-label:first-of-type {
    margin-top: 0;
}

.home-section-label--cases {
    margin-top: 1.75rem;
}

/* 成功案例：3 卡置中，寬度與上方核心服務卡對齊 */
.home-cases-grid > [class*="col-"] {
    max-width: 100%;
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .home-cases-grid > .col-sm-6 {
        max-width: 320px;
    }
}

/* ── 服務卡片 ── */
.home-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 1.15rem 1.15rem 1.1rem;
    box-shadow: var(--home-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.home-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--home-gradient);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 108, 176, 0.1);
    border-color: #c8d9ea;
}

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

.home-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.home-card__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--home-primary);
    background: linear-gradient(135deg, #eef4fa 0%, #e3edf7 100%);
    border-radius: 12px;
    border: 1px solid rgba(43, 108, 176, 0.08);
    transition: transform 0.25s ease, background 0.25s ease;
}

.home-card:hover .home-card__icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, #e3edf7 0%, #d6e6f3 100%);
}

.home-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--home-text);
    margin: 0;
    line-height: 1.35;
}

.home-card__text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--home-muted);
    line-height: 1.65;
    margin-bottom: 1.1rem;
    text-align: left;
}

.home-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--home-primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.home-card__btn::after {
    content: "→";
    transition: transform 0.2s ease;
}

.home-card__btn:hover {
    color: var(--home-primary-dark);
}

.home-card__btn:hover::after {
    transform: translateX(4px);
}

/* 卡片進場動畫 */
.home-card-animate {
    opacity: 0;
    transform: translateY(16px);
    animation: home-card-in 0.55s ease forwards;
}

@keyframes home-card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-card-animate:nth-child(1) { animation-delay: 0.05s; }
.home-card-animate:nth-child(2) { animation-delay: 0.1s; }
.home-card-animate:nth-child(3) { animation-delay: 0.15s; }
.home-card-animate:nth-child(4) { animation-delay: 0.2s; }
.home-card-animate:nth-child(5) { animation-delay: 0.25s; }
.home-card-animate:nth-child(6) { animation-delay: 0.3s; }
.home-card-animate:nth-child(7) { animation-delay: 0.35s; }
.home-card-animate:nth-child(8) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .home-card-animate,
    .home-hero__float,
    .home-hero__badge::before {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ── About 區塊 ── */
.home-about {
    background: #f8fafc;
    padding: 4rem 0;
}

.home-about__header {
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.home-about__header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--home-text);
    margin-bottom: 1rem;
}

.home-about__header p {
    font-size: 1.05rem;
    color: var(--home-muted);
    line-height: 1.75;
    margin: 0;
}

.home-products-bar {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 1.25rem 1.5rem 1.75rem;
    box-shadow: var(--home-shadow);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.home-products-bar__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 1rem;
}

.home-products-swiper {
    overflow: hidden;
    padding-bottom: 0.25rem;
}

.home-products-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.home-products-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    min-height: 6.5rem;
    padding: 0.85rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--home-text);
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-products-bar__item i {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--home-primary);
    line-height: 1;
}

.home-products-bar__item span {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.home-products-bar__item:hover {
    background: #eef4fa;
    color: var(--home-primary-dark);
}

.home-products-swiper__pagination {
    position: relative !important;
    margin-top: 0.85rem;
    bottom: 0 !important;
}

.home-products-swiper__pagination .swiper-pagination-bullet-active {
    background: var(--home-primary);
}

.home-about .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-about .feature-list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--home-border);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--home-muted);
}

.home-about .feature-list li:last-child {
    border-bottom: none;
}

.home-about .feature-list li i {
    flex-shrink: 0;
    color: var(--home-primary);
    margin-top: 0.2rem;
}

.home-about__figure img {
    width: 85%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: var(--home-shadow);
}

/* ── 首頁下方區塊：統一品牌色 ── */
.home-main .section-title h2:after {
    background: var(--home-primary);
}

.home-main .features .nav-tabs .nav-link.active {
    border-color: var(--home-primary);
    color: var(--home-primary-dark);
}

/* ── 服務內容及特色（對齊首頁卡片風格） ── */
.home-features {
    background: #fff;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.home-features .section-title {
    padding-bottom: 2.5rem;
}

.home-features .section-title h2 {
    color: var(--home-text);
}

.home-features .section-title h2:after {
    background: var(--home-primary);
}

.home-features .section-title p {
    color: var(--home-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.home-features__panel {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: calc(var(--home-radius) + 2px);
    box-shadow: var(--home-shadow);
    overflow: hidden;
}

.home-features__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 1rem 1.25rem;
    border: 0;
    border-bottom: 1px solid var(--home-border);
    background: #f8fafc;
    border-radius: 0;
}

.home-features__tabs .nav-item {
    padding: 0;
    margin: 0;
}

.home-features__tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.65rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--home-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-features__tabs .nav-link i {
    font-size: 1rem;
    color: var(--home-primary);
    padding: 0;
}

.home-features__tabs .nav-link:hover {
    background: #fff;
    border-color: var(--home-border);
    color: var(--home-text);
}

.home-features .home-features__tabs .nav-link.active {
    background: #fff;
    border-color: #c8d9ea;
    color: var(--home-primary-dark);
    box-shadow: 0 2px 8px rgba(43, 108, 176, 0.08);
}

.home-features__tabs .nav-link.active i {
    color: var(--home-primary);
}

.home-features__content {
    margin-top: 0;
    padding: 1.75rem 1.5rem 2rem;
}

.home-features__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.home-features__head h3 {
    margin: 0;
    padding: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--home-text);
    line-height: 1.35;
}

.home-features .tab-pane h3:after,
.home-features__head h3:after {
    display: none;
}

.home-features__intro {
    color: var(--home-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.home-features__list,
.home-features__highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.home-features__list li,
.home-features__highlights li {
    display: flex;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--home-border);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--home-muted);
}

.home-features__list li:last-child,
.home-features__highlights li:last-child {
    border-bottom: none;
}

.home-features__list li i,
.home-features__highlights li i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 0.95rem;
    color: var(--home-primary);
}

.home-features__subheading {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--home-primary-dark);
    margin: 0.5rem 0 0.75rem;
}

.home-features__highlights {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--home-border);
    border-radius: 12px;
}

.home-features__highlights li {
    border-bottom-color: rgba(226, 232, 240, 0.8);
}

.home-features__note {
    font-size: 0.88rem;
    color: var(--home-muted);
    margin-bottom: 1rem;
}

.home-features__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
}

.home-features__media img,
.home-features__media video {
    width: auto;
    max-width: 100%;
    max-height: 320px;
    border-radius: 12px;
    box-shadow: var(--home-shadow);
}

.home-features__media--video {
    padding: 1rem;
}

.home-features__media--video video {
    width: 100%;
    max-height: none;
    box-shadow: none;
    border-radius: 10px;
}

.home-features__caption {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--home-muted);
    text-align: center;
}

.home-main .read-more {
    color: var(--home-primary);
}

.home-main .read-more:hover {
    color: var(--home-primary-dark);
}

.home-main .features-cards .feature-box {
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: #fff !important;
    box-shadow: var(--home-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-main .features-cards .feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(43, 108, 176, 0.1);
}

.home-main .features-cards .feature-box i {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef4fa 0%, #e3edf7 100%);
    color: var(--home-primary) !important;
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.home-main .features-cards .feature-box h4 {
    color: var(--home-text);
}

.home-main .features-cards .feature-box p {
    color: var(--home-muted);
}

.home-main .cta-btn,
.home-main button[type="submit"] {
    background: var(--home-primary);
    border-color: var(--home-primary);
}

.home-main .cta-btn:hover,
.home-main button[type="submit"]:hover {
    background: var(--home-primary-dark);
    border-color: var(--home-primary-dark);
}

.home-main .scroll-top {
    background: var(--home-primary);
}

.home-main .scroll-top:hover {
    background: var(--home-primary-dark);
}

/* ── Swiper 通用（其他頁面） ── */
section.clients.section.light-background {
    padding: 0 !important;
    background: transparent !important;
}

.swiper-pagination {
    margin-top: 0.75rem;
    text-align: center;
}

.home-main .swiper-pagination-bullet-active {
    background: var(--home-primary);
}

/* ── Sticky Navbar ── */
.mkt-navbar.navbar--scrolled,
.navbar.navbar--scrolled {
    box-shadow: 0 8px 32px rgba(15, 31, 51, 0.08);
}

/* ── 響應式 ── */
@media (max-width: 991.98px) {
    :root {
        --home-hero-banner-max-w: 100%;
    }

    .home-hero-swiper__prev,
    .home-hero-swiper__next {
        width: 36px;
        height: 36px;
    }

    .home-hero-swiper__prev {
        left: 0.5rem;
    }

    .home-hero-swiper__next {
        right: 0.5rem;
    }

    .home-hero__cards-wrap {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .home-hero__carousel-wrap {
        padding: 0 0.5rem;
    }

    .home-hero-swiper__prev,
    .home-hero-swiper__next {
        display: none;
    }

    .home-hero__cards-wrap {
        padding-top: 1rem;
    }

    .home-features__tabs {
        padding: 0.85rem;
    }

    .home-features__tabs .nav-link {
        width: 100%;
        justify-content: center;
    }

    .home-features__content {
        padding: 1.25rem 1rem 1.5rem;
    }

    .home-features__media {
        min-height: auto;
    }
}
