/*
 * kc-home.css — 首頁獨立樣式
 * 僅由 front-page.php 載入，與內頁的 style.css 完全獨立。
 * 內容：首頁字型基礎、.kc-home 設計系統、.kc-share-* 浮動鈕。
 */

p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Sans TC", "思源黑體", "微軟正黑體", "Microsoft JhengHei", sans-serif;
}

/* ============================================================
   KingChin Home — brand redesign (scoped under .kc-home)
   ============================================================ */
.kc-home {
    --kc-red: #D64444;
    --kc-red-dk: #B5312F;
    --kc-ink: #09090B;
    /* zinc-950 */
    --kc-ink-2: #27272A;
    /* zinc-800 */
    --kc-muted: #71717A;
    /* zinc-500 */
    --kc-line: #E4E4E7;
    /* zinc-200 */
    --kc-bg: #FAFAF8;
    --kc-bg-2: #F3F4F1;

    --kc-font-sans: "Noto Sans TC", "思源黑體", "Microsoft JhengHei", sans-serif;
    --kc-font-display: "Space Grotesk", "Noto Sans TC", sans-serif;
    --kc-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --kc-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --kc-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    font-family: var(--kc-font-sans);
    color: var(--kc-ink);
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: .01em;
    overflow-x: hidden;
}

/* ============ KEYFRAMES ============ */
@keyframes kcmarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes kcmarquee-rev {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes kcscrollh {
    0% {
        left: -40%;
    }

    100% {
        left: 120%;
    }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {

    .kc-home *,
    .kc-home *::before,
    .kc-home *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.kc-home * {
    box-sizing: border-box;
}

.kc-home img {
    max-width: 100%;
    display: block;
}

.kc-home p {
    margin: 0 0 1em;
    color: var(--kc-ink-2);
}

.kc-home a {
    text-decoration: none;
    color: inherit;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.kc-home h1,
.kc-home h2,
.kc-home h3,
.kc-home h4 {
    font-family: "Noto Sans TC", "思源黑體", "Microsoft JhengHei", sans-serif;
    color: var(--kc-ink);
    letter-spacing: .01em;
    line-height: 1.35;
    margin: 0;
    font-weight: 700;
}

.kc-home .container {
    max-width: 1220px;
    padding-left: 24px;
    padding-right: 24px;
}

/* ---- Eyebrow label ---- */
.kc-eyebrow {
    font-family: var(--kc-font-display);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: .22em;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
    padding: 0;
    border: none;
    margin-bottom: 28px;
}

.kc-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}

.kc-eyebrow--dark {
    color: var(--kc-red);
    background: transparent;
}

/* ---- Section head ---- */
.kc-section__head {
    max-width: 780px;
    margin: 0 auto 64px 0;
}

.kc-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.kc-section__title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.015em;
    margin-bottom: 20px;
    color: var(--kc-ink);
}

.kc-section__title em {
    font-style: normal;
    color: var(--kc-red);
    font-family: var(--kc-font-display);
    font-weight: 500;
}

.kc-section__sub {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--kc-muted);
    max-width: 620px;
    margin: 0;
}

.kc-section__head--center .kc-section__sub {
    margin: 0 auto;
}

.kc-section__more {
    margin-top: 56px;
}

.kc-section__more--center {
    text-align: center;
}

/* ---- Buttons ---- */
.kc-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: 2px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background .35s var(--kc-ease), border-color .35s var(--kc-ease), color .35s var(--kc-ease), transform .15s var(--kc-ease);
    line-height: 1;
    will-change: transform;
}

.kc-btn span {
    font-family: var(--kc-font-display);
    transition: transform .35s var(--kc-ease);
}

.kc-btn:hover span {
    transform: translateX(4px);
}

.kc-btn:active {
    transform: translateY(1px);
}

.kc-btn--primary {
    background: var(--kc-red);
    color: #fff;
    border-color: var(--kc-red);
}

.kc-btn--primary:hover {
    background: var(--kc-red-dk);
    border-color: var(--kc-red-dk);
    color: #fff;
}

.kc-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.kc-btn--ghost:hover {
    background: #fff;
    color: var(--kc-ink);
    border-color: #fff;
}

.kc-btn--outline-light {
    background: transparent;
    color: var(--kc-ink);
    border-color: var(--kc-ink);
}

.kc-btn--outline-light:hover {
    background: var(--kc-ink);
    color: #fff;
}

.kc-btn--line {
    background: #06C755;
    color: #fff;
    border-color: #06C755;
}

.kc-btn--line:hover {
    background: #05a648;
    border-color: #05a648;
    color: #fff;
}

.kc-btn--lg {
    padding: 18px 34px;
    font-size: 16px;
}

.kc-link-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--kc-ink);
    border-bottom: 1.5px solid var(--kc-ink);
    padding-bottom: 4px;
    letter-spacing: .05em;
}

.kc-link-more span {
    transition: transform .25s ease;
}

.kc-link-more:hover {
    color: var(--kc-red);
    border-color: var(--kc-red);
}

.kc-link-more:hover span {
    transform: translateX(6px);
}

/* ============== HERO — pinned, next section covers from below ============== */
.kc-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 120px 0 140px;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
    /* below subsequent sections */
}

/* Sections after Hero lift above it so they visually cover it on scroll */
.kc-home>section:not(.kc-hero) {
    position: relative;
    z-index: 2;
}

/* Background image — slight padding around for scale animation */
.kc-hero__bg {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
    transform: translate3d(0, 0, 0);
}

/* Dark gradient overlay stays pinned */
.kc-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(9, 9, 11, .82) 0%, rgba(9, 9, 11, .42) 55%, rgba(9, 9, 11, .18) 100%),
        linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .35) 100%);
    pointer-events: none;
    z-index: 1;
}

.kc-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px;
    will-change: transform;
}

.kc-hero__title {
    font-size: clamp(36px, 5.6vw, 72px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff !important;
    margin-bottom: 32px;
    max-width: 900px;
}

.kc-hero__title em {
    font-style: normal;
    color: var(--kc-red);
    font-family: var(--kc-font-display);
    font-weight: 500;
    letter-spacing: -.01em;
    padding: 0 .03em;
}

.kc-hero__lead {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 2;
    color: rgba(255, 255, 255, .84) !important;
    max-width: 640px;
    margin-bottom: 48px;
}

.kc-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.kc-hero__meta {
    position: absolute;
    right: 48px;
    bottom: 48px;
    z-index: 3;
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--kc-font-mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .5);
}

.kc-hero__meta-value {
    font-family: var(--kc-font-display);
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -.01em;
}

.kc-hero__meta-label {
    text-transform: uppercase;
}

.kc-hero__scroll {
    position: absolute;
    left: 48px;
    bottom: 48px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
}

.kc-hero__scroll-text {
    font-family: var(--kc-font-display);
    font-size: 11px;
    letter-spacing: .32em;
    color: rgba(255, 255, 255, .6);
}

.kc-hero__scroll-line {
    display: block;
    width: 56px;
    height: 1px;
    background: rgba(255, 255, 255, .25);
    position: relative;
    overflow: hidden;
}

.kc-hero__scroll-line i {
    position: absolute;
    left: -40%;
    top: 0;
    width: 40%;
    height: 100%;
    background: #fff;
    animation: kcscrollh 2.2s var(--kc-ease) infinite;
}

@keyframes kcscroll {
    0% {
        top: -40%;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ============== STATS — de-carded, dividers + mono ============== */
.kc-stats {
    background: #fff;
    color: var(--kc-ink);
    padding: 90px 0 50px;
    border-bottom: 1px solid var(--kc-line);
}

.kc-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    counter-reset: kc-stat-counter;
}

.kc-stat {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 16px 32px;
    border-left: 1px solid var(--kc-line);
    position: relative;
}

.kc-stat:first-child {
    border-left: none;
    padding-left: 0;
}

.kc-stat__num {
    font-family: var(--kc-font-display);
    font-size: clamp(46px, 4.4vw, 68px);
    font-weight: 500;
    line-height: 1;
    color: var(--kc-ink);
    letter-spacing: -.035em;
    display: inline-flex;
    align-items: baseline;
}

.kc-stat__num sup {
    font-family: var(--kc-font-mono);
    font-size: .38em;
    font-weight: 500;
    color: var(--kc-red);
    margin-left: 6px;
    top: -.55em;
    letter-spacing: 0;
    position: relative;
}

.kc-stat__label {
    font-size: 13px;
    color: var(--kc-muted);
    letter-spacing: .03em;
    line-height: 1.7;
    font-family: var(--kc-font-sans);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kc-stat__label::before {
    counter-increment: kc-stat-counter;
    content: "0" counter(kc-stat-counter);
    font-family: var(--kc-font-mono);
    font-size: 11px;
    color: var(--kc-red);
    letter-spacing: .05em;
    font-weight: 500;
}

/* ============== PILLARS (4 core) ============== */
.kc-pillars {
    padding: 120px 0;
    background: var(--kc-bg);
}

.kc-pillars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.kc-pillar {
    background: #fff;
    border: 1px solid var(--kc-line);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display: flex;
    flex-direction: column;
}

.kc-pillar {
    position: relative;
}

.kc-pillar::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--kc-red);
    opacity: 0;
    transform: scale(.98);
    transition: opacity .4s var(--kc-ease), transform .4s var(--kc-ease);
    pointer-events: none;
}

.kc-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -20px rgba(9, 9, 11, .18);
    border-color: transparent;
}

.kc-pillar:hover::after {
    opacity: 1;
    transform: scale(1);
}

.kc-pillar__media {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.kc-pillar__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s ease;
}

.kc-pillar:hover .kc-pillar__media img {
    transform: scale(1.06);
}

.kc-pillar__body {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kc-pillar__no {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .25em;
    color: var(--kc-red);
    margin-bottom: 14px;
}

.kc-pillar__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.kc-pillar__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--kc-muted);
    margin-bottom: 20px;
}

.kc-pillar__use {
    font-size: 14px;
    line-height: 1.7;
    color: var(--kc-ink-2);
    padding-top: 20px;
    border-top: 1px solid var(--kc-line);
    margin: 0 0 24px;
}

.kc-pillar__use strong {
    display: inline-block;
    margin-right: 8px;
    color: var(--kc-red);
    font-weight: 700;
}

.kc-pillar__link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--kc-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: .06em;
}

.kc-pillar__link span {
    transition: transform .25s ease;
    color: var(--kc-red);
}

.kc-pillar__link:hover {
    color: var(--kc-red);
}

.kc-pillar__link:hover span {
    transform: translateX(6px);
}

/* ============== BELIEF ============== */
.kc-belief {
    padding: 120px 0;
    background: var(--kc-bg);
    position: relative;
}

.kc-belief__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.kc-belief__lead {
    font-size: 16px;
    line-height: 2.1;
    color: var(--kc-muted);
    margin-bottom: 36px;
}

.kc-belief__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--kc-line);
}

.kc-belief__list li {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--kc-line);
}

.kc-belief__list strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--kc-ink);
    margin-bottom: 6px;
}

.kc-belief__list p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: var(--kc-muted);
}

.kc-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--kc-red);
    margin-top: 10px;
}

.kc-belief__media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.kc-belief__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kc-belief__badge {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: var(--kc-red);
    color: #fff;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.kc-belief__badge-num {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.kc-belief__badge-label {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ============== CATEGORIES ============== */
.kc-cats {
    padding: 120px 0;
    background: var(--kc-bg);
}

.kc-cats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kc-cat {
    display: block;
    background: var(--kc-bg);
    border: 1px solid transparent;
    transition: border-color .25s ease, transform .25s ease;
}

.kc-cat__img {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #fff;
}

.kc-cat__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12%;
    transition: transform .5s ease;
}

.kc-cat:hover {
    border-color: var(--kc-red);
    transform: translateY(-4px);
}

.kc-cat:hover .kc-cat__img img {
    transform: scale(1.08);
}

.kc-cat span {
    display: block;
    padding: 18px 16px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: var(--kc-ink);
    border-top: 1px solid var(--kc-line);
    background: var(--kc-bg);
}

.kc-cats__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.kc-cats__tab {
    appearance: none;
    background: transparent;
    border: 1px solid var(--kc-line);
    color: var(--kc-ink);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 12px 28px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.kc-cats__tab:hover {
    border-color: var(--kc-red);
    color: var(--kc-red);
}

.kc-cats__tab.is-active {
    background: var(--kc-red);
    border-color: var(--kc-red);
    color: #fff;
}

.kc-cats__panel {
    display: none;
    animation: kc-cats-fade .35s ease both;
}

.kc-cats__panel.is-active {
    display: block;
}

@keyframes kc-cats-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============== CLIENTS ============== */
.kc-clients {
    padding: 120px 0;
    background: var(--kc-bg-2);
}

.kc-clients__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 1fr;
    gap: 0;
    border-top: 1px solid var(--kc-line);
    border-left: 1px solid var(--kc-line);
    background: #fff;
}

.kc-client {
    border-right: 1px solid var(--kc-line);
    border-bottom: 1px solid var(--kc-line);
    aspect-ratio: 1/1;
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 22px 14px 18px;
    text-align: center;
    background: #fff;
    transition: background .3s var(--kc-ease);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.kc-client__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
}

.kc-client__logo img {
    max-width: 80% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: grayscale(65%);
    opacity: .78;
    transition: filter .4s var(--kc-ease), opacity .4s var(--kc-ease), transform .4s var(--kc-ease);
}

.kc-client__name {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--kc-muted);
    letter-spacing: .02em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color .3s var(--kc-ease);
}

.kc-client:hover {
    background: var(--kc-bg);
}

.kc-client:hover .kc-client__logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.06);
}

.kc-client:hover .kc-client__name {
    color: var(--kc-ink);
}

/* ============== BLOG 2 ============== */
.kc-blog2 {
    padding: 120px 0;
    background: #fff;
}

.kc-blog2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.kc-post {
    display: block;
    background: #fff;
    transition: transform .3s ease;
}

.kc-post:hover {
    transform: translateY(-4px);
}

.kc-post__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 22px;
    background: var(--kc-bg-2);
}

.kc-post__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.kc-post:hover .kc-post__img img {
    transform: scale(1.05);
}

.kc-post__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--kc-red);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.kc-post h3 {
    font-size: 19px;
    line-height: 1.65;
    margin-bottom: 14px;
    color: var(--kc-ink);
}

.kc-post:hover h3 {
    color: var(--kc-red);
}

.kc-post__meta {
    font-size: 13px;
    color: var(--kc-muted);
    letter-spacing: .06em;
    margin: 0;
}

/* ============== FINAL CTA ============== */
.kc-finalcta {
    padding: 0 0 120px;
    background: #fff;
}

.kc-finalcta__box {
    background: var(--kc-ink);
    color: #fff;
    padding: 80px 72px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.kc-finalcta__box::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(214, 68, 68, .28) 0%, transparent 70%);
    pointer-events: none;
}

.kc-finalcta__text .kc-eyebrow {
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .4);
}

.kc-finalcta__text h2 {
    font-size: clamp(28px, 3vw, 40px);
    color: #fff;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.35;
}

.kc-finalcta__text p {
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 2;
    margin: 0;
    max-width: 480px;
}

.kc-finalcta__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.kc-finalcta__actions .kc-btn {
    justify-content: center;
}

.kc-finalcta__actions .kc-btn--outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

.kc-finalcta__actions .kc-btn--outline-light:hover {
    background: #fff;
    color: var(--kc-ink);
    border-color: #fff;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1200px) {
    .kc-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kc-cats__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .kc-clients__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .kc-hero {
        min-height: 70vh;
        padding: 100px 0 110px;
    }

    .kc-hero__inner {
        padding: 0 24px;
    }

    .kc-hero__scroll,
    .kc-hero__meta {
        display: none;
    }

    .kc-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .kc-stat {
        border-left: none;
        border-top: 2px solid rgba(228, 228, 231, .8);
        padding: 20px 0 0;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .kc-stat:first-child {
        padding-left: 0;
    }

    .kc-stat:first-child,
    .kc-stat:nth-child(2) {
        border-top: none;
        padding-top: 10px;
    }

    .kc-stat__label {
        justify-content: center;
    }

    .kc-pillars,
    .kc-belief,
    .kc-cats,
    .kc-clients,
    .kc-blog2 {
        padding: 80px 0;
    }

    .kc-belief__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .kc-belief__media {
        aspect-ratio: 4/3;
        order: -1;
    }

    .kc-blog2__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kc-cats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kc-finalcta__box {
        grid-template-columns: 1fr;
        padding: 56px 32px;
        gap: 32px;
    }

    .kc-finalcta {
        padding-bottom: 80px;
    }

    .kc-section__head {
        margin-bottom: 48px;
    }
}

@media (max-width: 640px) {
    .kc-home .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .kc-hero {
        min-height: 64vh;
        padding: 80px 0 90px;
    }

    .kc-hero__title {
        font-size: 30px;
    }

    .kc-hero__lead {
        font-size: 14px;
    }

    .kc-hero__ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .kc-btn {
        width: 100%;
        justify-content: center;
    }

    .kc-hero__scroll {
        display: none;
    }

    .kc-stats {
        padding: 44px 0;
    }

    .kc-stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 12px;
    }

    .kc-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .kc-pillar__body {
        padding: 20px 16px;
    }

    .kc-pillar__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .kc-pillar__desc {
        font-size: 13px;
        line-height: 1.85;
        margin-bottom: 14px;
    }

    .kc-pillar__use {
        font-size: 12.5px;
        padding-top: 14px;
        margin-bottom: 18px;
    }

    .kc-pillar__no {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .kc-cats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .kc-cat span {
        padding: 14px 8px;
        font-size: 13px;
    }

    .kc-cats__tabs {
        gap: 8px;
        margin-bottom: 28px;
    }

    .kc-cats__tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .kc-clients__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .kc-client__name {
        font-size: 10.5px;
    }

    .kc-section__title {
        font-size: 26px;
    }

    .kc-finalcta__box {
        padding: 44px 24px;
    }
}

/* ============== PROBLEMS (pain points) ============== */
.kc-problems {
    padding: 120px 0;
    background: #FFF;
}

.kc-problems__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kc-problem {
    background: #fff;
    border-top: 3px solid var(--kc-red);
    transition: transform .35s var(--kc-ease), box-shadow .35s var(--kc-ease);
    display: flex;
    flex-direction: column;
    position: relative;
}

.kc-problem[data-no]::before {
    content: attr(data-no) " / 04";
}

.kc-problem::before {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    font-family: var(--kc-font-mono);
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background: rgba(9, 9, 11, .72);
    padding: 4px 8px;
    letter-spacing: .06em;
    backdrop-filter: blur(6px);
}

.kc-problem:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 52px -22px rgba(9, 9, 11, .22);
}

.kc-problem__media {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--kc-bg-2);
    filter: grayscale(35%);
    transition: filter .4s ease;
}

.kc-problem:hover .kc-problem__media {
    filter: grayscale(0);
}

.kc-problem__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.kc-problem:hover .kc-problem__media img {
    transform: scale(1.06);
}

.kc-problem__body {
    padding: 28px 26px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kc-problem__q {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 14px;
    color: var(--kc-ink);
    letter-spacing: -.005em;
}

.kc-problem__desc {
    font-size: 14.5px;
    line-height: 2;
    color: var(--kc-muted);
    margin-bottom: 24px;
    flex: 1;
}

.kc-problem__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 20px;
    border: 1.5px solid var(--kc-ink);
    font-size: 13px;
    font-weight: 700;
    color: var(--kc-ink);
    letter-spacing: .05em;
    transition: all .25s ease;
}

.kc-problem__cta span {
    transition: transform .25s ease;
}

.kc-problem__cta:hover {
    background: var(--kc-red);
    border-color: var(--kc-red);
    color: #fff;
}

.kc-problem__cta:hover span {
    transform: translateX(4px);
}

/* ============== BELIEF — check list style ============== */
.kc-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--kc-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 4px;
}

.kc-belief__cta {
    margin-top: 36px;
}

/* ============== CASES — equal 3-column grid (like pillars) ============== */
.kc-cases {
    padding: 120px 0;
    background: #fff;
}

.kc-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.kc-case {
    background: #fff;
    border: 1px solid var(--kc-line);
    transition: transform .35s var(--kc-ease), box-shadow .35s var(--kc-ease), border-color .35s var(--kc-ease);
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.kc-case:hover,
.kc-case:focus {
    text-decoration: none;
    color: inherit;
}

.kc-case:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -20px rgba(9, 9, 11, .18);
    border-color: transparent;
}

.kc-case__media {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--kc-bg-2);
}

.kc-case__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--kc-ease);
}

.kc-case:hover .kc-case__media img {
    transform: scale(1.06);
}

.kc-case__body {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kc-case__no {
    font-family: var(--kc-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--kc-red);
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.kc-case__tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    font-family: var(--kc-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--kc-red);
    text-transform: uppercase;
    border: 1px solid var(--kc-red);
    padding: 4px 10px;
    margin-bottom: 16px;
}

.kc-case__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--kc-ink);
    letter-spacing: -.005em;
    transition: color .3s var(--kc-ease);
}

.kc-case:hover .kc-case__title {
    color: var(--kc-red);
}

.kc-case__desc {
    font-size: 14.5px;
    line-height: 2;
    color: var(--kc-muted);
    margin: 0 0 20px;
    flex: 1;
}

.kc-case__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: auto;
    font-family: var(--kc-font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--kc-ink);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color .3s var(--kc-ease), gap .3s var(--kc-ease);
}

.kc-case:hover .kc-case__more {
    color: var(--kc-red);
    gap: 12px;
}

@media (max-width: 991px) {
    .kc-cases__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============== PARTNER BRANDS — kinetic marquee ============== */
.kc-brands {
    padding: 120px 0;
    background: #FFF;
    overflow: hidden;
}

.kc-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding: 14px 0;
}

.kc-marquee+.kc-marquee {
    margin-top: 2px;
}

.kc-marquee__track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: kcmarquee 60s linear infinite;
}

.kc-marquee--rev .kc-marquee__track {
    animation: kcmarquee-rev 75s linear infinite;
}

.kc-marquee:hover .kc-marquee__track {
    animation-play-state: paused;
}

.kc-brand {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 36px;
    flex-shrink: 0;
    border-right: 1px solid var(--kc-line);
    transition: background .4s var(--kc-ease);
    min-width: 220px;
    text-align: center;
    text-decoration: none;
}

.kc-brand:hover {
    background: var(--kc-bg);
}

.kc-brand__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 60px;
}

.kc-brand__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(70%);
    opacity: .72;
    transition: filter .4s var(--kc-ease), opacity .4s var(--kc-ease), transform .4s var(--kc-ease);
}

.kc-brand:hover .kc-brand__logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.kc-brand__name {
    font-family: var(--kc-font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--kc-ink);
    line-height: 1;
    transition: color .4s var(--kc-ease);
    white-space: nowrap;
}

.kc-brand:hover .kc-brand__name {
    color: var(--kc-red);
}

@media (max-width: 991px) {
    .kc-brand {
        min-width: 200px;
        padding: 20px 24px;
    }

    .kc-brand__logo {
        width: 130px;
        height: 50px;
    }

    .kc-brand__name {
        font-size: 19px;
    }
}

@media (max-width: 640px) {
    .kc-brand {
        min-width: 170px;
        padding: 18px 20px;
    }

    .kc-brand__logo {
        width: 110px;
        height: 44px;
    }

    .kc-brand__name {
        font-size: 17px;
    }
}

/* ============== RESPONSIVE for new sections ============== */
@media (max-width: 1200px) {
    .kc-problems__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {

    .kc-problems,
    .kc-cases,
    .kc-brands {
        padding: 80px 0;
    }

    .kc-cases__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kc-brand {
        min-width: 240px;
        padding: 20px 28px;
    }

    .kc-brand__name {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .kc-problems__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .kc-cases__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .kc-blog2__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .kc-problem__body {
        padding: 20px 16px 22px;
    }

    .kc-problem__q {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .kc-problem__desc {
        font-size: 13px;
        line-height: 1.85;
        margin-bottom: 16px;
    }

    .kc-problem__cta {
        padding: 8px 14px;
        font-size: 12px;
    }

    .kc-case__body {
        padding: 22px 18px;
    }

    .kc-case__title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .kc-case__desc {
        font-size: 13px;
        line-height: 1.85;
    }

    .kc-case__no {
        font-size: 11px;
    }

    .kc-case__tag {
        font-size: 10px;
        padding: 3px 8px;
        margin-bottom: 12px;
    }

    .kc-post__img {
        margin-bottom: 14px;
    }

    .kc-post h3 {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 10px;
    }

    .kc-post__meta {
        font-size: 12px;
    }

    .kc-post__tag {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .kc-brand {
        min-width: 200px;
        padding: 18px 22px;
        gap: 12px;
    }

    .kc-brand__name {
        font-size: 19px;
    }

    .kc-brand__meta {
        font-size: 11px;
    }

    .kc-brand__meta em {
        font-size: 9px;
        padding: 1px 5px;
    }
}

/* ============== FOOTER — 3-column on dark bg (original #222 preserved) ============== */
.kc-footer {
    background: #222;
    color: #E7E7E7;
    padding: 80px 0 0;
    font-family: var(--kc-font-sans);
}

.kc-footer .container {
    max-width: 1220px;
    padding-left: 24px;
    padding-right: 24px;
}

.kc-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr;
    gap: 48px;
    align-items: stretch;
}

.kc-footer__col {
    display: flex;
    flex-direction: column;
}

.kc-footer__title {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    text-align: center;
    letter-spacing: .02em;
}

.kc-footer__title i {
    color: var(--kc-red);
}

/* --- Column 1: 公司資訊 --- */
.kc-footer__kv {
    margin: 0 0 24px;
}

.kc-footer__kv p {
    margin: 6px 0;
    padding: 0 20px;
    font-size: 1.05em;
    line-height: 1.9;
    color: #E7E7E7;
}

.kc-footer__kv a {
    color: #E7E7E7;
    border-bottom: 1px solid transparent;
    transition: color .25s var(--kc-ease), border-color .25s var(--kc-ease);
}

.kc-footer__kv a:hover {
    color: #fff;
    border-color: var(--kc-red);
    text-decoration: none;
}

.kc-footer__social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    justify-content: center;
    padding-top: 16px;
}

.kc-footer__social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #E7E7E7;
    font-size: 15px;
    transition: background .25s var(--kc-ease), color .25s var(--kc-ease), border-color .25s var(--kc-ease), transform .15s var(--kc-ease);
}

.kc-footer__social a:hover {
    background: var(--kc-red);
    border-color: var(--kc-red);
    color: #fff;
    text-decoration: none;
}

.kc-footer__social a:active {
    transform: translateY(1px);
}

/* --- Column 2: 聯絡 + 營業時間 --- */
.kc-footer__col--hours {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .12);
}

.kc-footer__hours-head {
    background: var(--kc-red);
    color: #fff;
    padding: 20px 18px;
    text-align: center;
}

.kc-footer__hours-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: .01em;
}

.kc-footer__hours-head p {
    margin: 0;
    font-family: var(--kc-font-display);
    font-size: 12.5px;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .9);
}

.kc-footer__hours {
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

.kc-footer__hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    color: #E7E7E7;
}

.kc-footer__hours li:last-child {
    border-bottom: none;
}

.kc-footer__hours span {
    font-family: var(--kc-font-display);
    font-weight: 500;
    color: #fff;
    letter-spacing: .02em;
}

.kc-footer__hours em {
    font-family: var(--kc-font-mono);
    font-style: normal;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
    letter-spacing: .02em;
}

.kc-footer__closed {
    color: var(--kc-red) !important;
    font-weight: 700;
}

/* --- Column 3: map --- */
.kc-footer__col--map {
    display: flex;
    flex-direction: column;
}

.kc-footer__map-wrap {
    flex: 1;
    min-height: 300px;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
    position: relative;
    border: 1px solid rgba(255, 255, 255, .1);
}

.kc-footer__map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    filter: grayscale(25%) brightness(.92);
}

.kc-footer__address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .04);
    border-left: 3px solid var(--kc-red);
    margin-top: 10px;
}

.kc-footer__address strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.kc-footer__address span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .7);
}

/* --- Bottom bar --- */
.kc-footer__bottom {
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #1a1a1a;
}

.kc-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .02em;
}

@media (max-width: 991px) {
    .kc-footer {
        padding: 56px 0 0;
    }

    .kc-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kc-footer__map-wrap {
        min-height: 240px;
    }

    .kc-footer__bottom {
        margin-top: 16px;
    }

    .kc-footer__bottom .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* end KingChin Home redesign */

/* ===== Floating share area (首頁專用：kc-share-*，與站內 at-share-area 完全獨立) ===== */
.kc-share-area {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

.kc-share-item {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    background: #09090B;
    box-shadow: 0 10px 24px -8px rgba(15, 15, 20, .22), 0 2px 6px rgba(15, 15, 20, .08);
    transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow .25s cubic-bezier(0.16, 1, 0.3, 1),
        background .25s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    will-change: transform;
}

.kc-share-item i {
    font-size: 19px;
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kc-share-item,
.kc-share-item:hover,
.kc-share-item:focus,
.kc-share-item:active {
    text-decoration: none;
}

.kc-share-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -8px rgba(15, 15, 20, .3), 0 4px 10px rgba(15, 15, 20, .12);
    color: #fff;
}

.kc-share-item:hover i {
    transform: scale(1.1);
}

.kc-share-item:active {
    transform: translateY(0);
}

.kc-share-label {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translate(12px, -50%);
    margin-right: 8px;
    background: #09090B;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 8px 14px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s cubic-bezier(0.16, 1, 0.3, 1),
        transform .25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: 0 6px 18px -6px rgba(15, 15, 20, .25);
}

.kc-share-label::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #09090B;
}

.kc-share-item:hover .kc-share-label {
    opacity: 1;
    transform: translate(0, -50%);
}

.kc-share-item--tel {
    background: #D64444;
}

.kc-share-item--tel:hover {
    background: #B5312F;
}

.kc-share-item--tel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(214, 68, 68, .5);
    animation: kc-share-pulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    pointer-events: none;
}

.kc-share-item--line {
    background: #06C755;
}

.kc-share-item--line:hover {
    background: #05A648;
}

.kc-share-item--top {
    background: #fff;
    color: #09090B;
    border: 1px solid #E4E4E7;
}

.kc-share-item--top:hover {
    background: #09090B;
    color: #fff;
    border-color: #09090B;
}

@keyframes kc-share-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 68, 68, .5);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(214, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(214, 68, 68, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .kc-share-item--tel::before {
        animation: none;
    }
}

@media (max-width: 576px) {
    .kc-share-area {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .kc-share-item {
        width: 48px;
        height: 48px;
    }

    .kc-share-item i {
        font-size: 17px;
    }

    .kc-share-label {
        display: none;
    }
}

/* === 4 大卡片區塊：常駐陰影（桌機 + 手機） === */
.kc-home .kc-pillar,
.kc-home .kc-problem,
.kc-home .kc-case,
.kc-home .kc-post {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .05);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* hover 時陰影更深更浮 */
.kc-home .kc-pillar:hover,
.kc-home .kc-problem:hover,
.kc-home .kc-case:hover,
.kc-home .kc-post:hover {
    box-shadow: 0 24px 48px -10px rgba(9, 9, 11, .20), 0 6px 14px rgba(0, 0, 0, .08);
}

/* .kc-post 沒有 __body wrapper，補內距讓文字不貼邊 */
.kc-home .kc-post {
    padding-bottom: 22px;
}

.kc-home .kc-post .kc-post__tag,
.kc-home .kc-post h3,
.kc-home .kc-post__meta {
    padding-left: 22px;
    padding-right: 22px;
}

.kc-home .kc-post__img {
    margin-bottom: 18px;
}

/* === Mobile slick carousel (≤991px) === */
@media (max-width: 991.98px) {

    /* slick 啟動後：grid → block，避免 grid 樣式干擾 slick-track */
    .kc-pillars__grid.slick-initialized,
    .kc-problems__grid.slick-initialized,
    .kc-cases__grid.slick-initialized,
    .kc-blog2__grid.slick-initialized {
        display: block;
    }

    /* 每張 slide 內含一張卡片，左右留空間給箭頭，上下留空間給陰影/dots */
    .kc-pillars__grid .slick-slide,
    .kc-problems__grid .slick-slide,
    .kc-cases__grid .slick-slide,
    .kc-blog2__grid .slick-slide {
        padding: 12px 44px;
    }

    /* 箭頭 */
    .kc-home .slick-prev,
    .kc-home .slick-next {
        width: 36px;
        height: 36px;
        z-index: 2;
    }

    .kc-home .slick-prev {
        left: -4px;
    }

    .kc-home .slick-next {
        right: -4px;
    }

    .kc-home .slick-prev:before,
    .kc-home .slick-next:before {
        color: #1a1a1a;
        font-size: 28px;
        opacity: .85;
    }

    /* dots */
    .kc-home .slick-dots {
        position: relative;
        bottom: auto;
        margin-top: 16px;
    }

    .kc-home .slick-dots li button:before {
        font-size: 10px;
        opacity: .35;
    }

    .kc-home .slick-dots li.slick-active button:before {
        opacity: 1;
        color: #D64444;
    }
}

/* /kc-share-area */