:root {
    --jc-navy: #07172e;
    --jc-blue: #1367d1;
    --jc-cyan: #21c6d9;
    --jc-ink: #17243a;
    --jc-muted: #637087;
    --jc-line: #dce5ef;
    --jc-soft: #f2f7fb;
    --jc-white: #fff;
    --jc-radius: 22px;
    --jc-shadow: 0 24px 70px rgba(7, 23, 46, .12);
}

html { padding-top: 0 !important; scroll-behavior: smooth; }
body { margin: 0; padding-top: 0 !important; overflow-x: hidden; color: var(--jc-ink); background: var(--jc-white); font-family: Inter, "Noto Sans TC", Arial, sans-serif; line-height: 1.75; }
body, button, input, textarea, select { font-family: Inter, "Noto Sans TC", Arial, sans-serif; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.jc-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.jc-kicker { margin: 0 0 12px; color: var(--jc-blue); font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.jc-skip { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 18px; color: #fff; background: var(--jc-blue); }
.jc-skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.jc-header { position: fixed; inset: 0 0 auto; z-index: 1000; border-bottom: 1px solid transparent; background: transparent; transition: box-shadow .25s, background .25s, border-color .25s, backdrop-filter .25s; }
.jc-header.is-scrolled, .jc-header.is-menu-open { border-bottom-color: rgba(255,255,255,.1); background: rgba(7, 23, 46, .94); box-shadow: 0 12px 36px rgba(0,0,0,.18); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); }
.jc-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.jc-brand { width: 210px; display: block; }
.jc-brand img { display: block; width: 100%; height: auto; }
.jc-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.82); font-size: .94rem; font-weight: 600; }
.jc-nav a { position: relative; padding: 10px 0; transition: color .2s; }
.jc-nav a:hover, .jc-nav a.is-active { color: #fff; }
.jc-nav a:not(.jc-nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--jc-cyan); transition: right .25s; }
.jc-nav a:hover::after, .jc-nav a.is-active::after { right: 0; }
.jc-nav__cta { padding: 11px 19px !important; border-radius: 999px; color: #fff !important; background: linear-gradient(120deg, var(--jc-blue), var(--jc-cyan)); }
.jc-menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.jc-menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }
.jc-nav__item { position: relative; }
.jc-nav__toggle { position: relative; padding: 10px 0; border: 0; color: inherit; background: none; font: inherit; cursor: pointer; transition: color .2s; }
.jc-nav__toggle:hover, .jc-nav__toggle.is-active, .jc-nav__item.is-open .jc-nav__toggle { color: #fff; }
.jc-nav__toggle::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--jc-cyan); transition: right .25s; }
.jc-nav__toggle:hover::after, .jc-nav__toggle.is-active::after { right: 0; }
.jc-nav__caret { display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.jc-nav__item:hover .jc-nav__caret, .jc-nav__item.is-open .jc-nav__caret { transform: translateY(0) rotate(-135deg); }
.jc-nav__submenu { position: absolute; left: -24px; top: calc(100% + 10px); min-width: 230px; margin: 0; padding: 10px; list-style: none; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(7,23,46,.97); box-shadow: 0 18px 40px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.jc-nav__submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.jc-nav__item:hover .jc-nav__submenu, .jc-nav__item.is-open .jc-nav__submenu { opacity: 1; visibility: visible; transform: none; }
.jc-nav .jc-nav__submenu a { display: block; padding: 10px 14px; border-radius: 9px; color: rgba(255,255,255,.82); white-space: nowrap; }
.jc-nav .jc-nav__submenu a::after { display: none; }
.jc-nav .jc-nav__submenu a:hover, .jc-nav .jc-nav__submenu a.is-active { color: #fff; background: rgba(255,255,255,.08); }

.jc-hero { min-height: 780px; display: grid; align-items: center; position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 45%, #123e73 0, transparent 32%), linear-gradient(135deg, #06152b 0%, #09294f 58%, #07172e 100%); }
.jc-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 50px 50px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.jc-hero__glow { position: absolute; width: 420px; height: 420px; right: -100px; top: 20%; border-radius: 50%; background: rgba(33,198,217,.13); filter: blur(30px); }
.jc-hero__content { position: relative; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 70px; padding-top: 92px; }
.jc-hero h1 { max-width: 780px; margin: 0 0 25px; font-size: clamp(3rem, 6.3vw, 6.5rem); line-height: .98; letter-spacing: -.055em; }
.jc-hero h1 span { color: transparent; background: linear-gradient(100deg, #fff 20%, var(--jc-cyan)); background-clip: text; -webkit-background-clip: text; }
.jc-hero__lead { max-width: 670px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.15rem; }
.jc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.jc-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 24px; border: 0; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.jc-button:hover { transform: translateY(-2px); }
.jc-button--primary { color: #fff; background: linear-gradient(120deg, var(--jc-blue), var(--jc-cyan)); box-shadow: 0 12px 30px rgba(19,103,209,.3); }
.jc-button--ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.jc-button--dark { color: #fff; background: var(--jc-navy); }
.jc-button--light { color: var(--jc-navy); background: #fff; }
.jc-hero__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.jc-orbit { position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; animation: jc-spin 22s linear infinite; }
.jc-orbit::after { content: ""; position: absolute; left: 12%; top: 10%; width: 12px; height: 12px; border-radius: 50%; background: var(--jc-cyan); box-shadow: 0 0 25px var(--jc-cyan); }
.jc-orbit--two { inset: 23%; animation-duration: 15s; animation-direction: reverse; }
.jc-orbit--two::after { left: auto; right: 2%; top: 50%; background: #7fa9ff; }
.jc-hero__mark { width: 180px; height: 180px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; text-align: center; font-size: 3rem; font-weight: 900; letter-spacing: -.06em; background: rgba(255,255,255,.08); box-shadow: inset 0 0 35px rgba(255,255,255,.08), 0 0 80px rgba(33,198,217,.15); backdrop-filter: blur(12px); }
.jc-hero__mark span { display: block; font-size: .56rem; letter-spacing: .38em; color: var(--jc-cyan); }
@keyframes jc-spin { to { transform: rotate(360deg); } }

/* Homepage Hero: adapted from the purchased ITAgency index.html. */
.jc-original-hero { position: relative; min-height: 100vh; overflow: hidden; display: grid; align-items: center; color: #fff; background: #08256a; isolation: isolate; }
.jc-original-hero__particles { position: absolute; inset: 0; z-index: 1; }
.jc-original-hero__hand { position: absolute; z-index: 2; left: 0; top: 82px; bottom: 0; width: 58%; background: url('../images/generated/gemini-robot-hand-cutout-v1.webp') left center / contain no-repeat; pointer-events: none; }
.jc-original-hero__layout { position: relative; z-index: 3; min-height: 100vh; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; padding-top: 105px; padding-bottom: 55px; }
.jc-original-hero__info { width: min(100%, 530px); justify-self: end; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.jc-original-hero__copy h1 { margin: 0 0 8px; color: #fff; font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.16; letter-spacing: -.035em; }
.jc-original-hero__copy h2 { min-height: 1.6em; margin: 0 0 14px; color: #2799ef; font-size: clamp(1.35rem, 2.2vw, 2.2rem); line-height: 1.35; }
.jc-original-hero__copy h2 span { color: #2799ef; }
.jc-original-hero__copy p { width: min(100%, 470px); margin: 0; color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.7; }
.jc-original-hero__services { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 34px; color: #2799ef; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.jc-original-hero__services span { position: relative; }
.jc-original-hero__services span:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #2799ef; }
.jc-original-hero__actions { display: flex; gap: 18px; margin-top: 27px; }
.jc-original-button { min-width: 180px; min-height: 54px; display: inline-flex; justify-content: center; align-items: center; padding: 12px 26px; border: 1px solid transparent; border-radius: 8px; color: #fff; font-size: 1rem; font-weight: 800; text-shadow: none; transition: transform .2s, background .2s, border-color .2s; }
.jc-original-button:hover { transform: translateY(-2px); color: #fff; }
.jc-original-button--primary { background: #1e8fe5; }
.jc-original-button--primary:hover { background: #36a5f5; }
.jc-original-button--outline { border-color: rgba(255,255,255,.8); background: rgba(8,37,106,.26); }
.jc-original-button--outline:hover { background: rgba(255,255,255,.1); }
.typed-cursor { color: #2799ef; }

.jc-section { padding: 110px 0; }
.jc-section--dark { color: #fff; background: var(--jc-navy); }
.jc-section--soft { background: var(--jc-soft); }
.jc-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.jc-section-heading h2, .jc-faq-preview h2, .jc-about-grid h2 { max-width: 680px; margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.15; letter-spacing: -.035em; }
.jc-section-heading > p { max-width: 440px; margin: 0; color: var(--jc-muted); }
.jc-section-heading--center { justify-content: center; text-align: center; }
.jc-section-heading--center h2 { margin-inline: auto; text-wrap: balance; }
.jc-text-link { color: var(--jc-blue); font-weight: 800; }
/* 服務卡片：沿用購買版型首頁 Our Services（style.css 的 .service-cards-modern）的外觀。 */
.jc-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.jc-service-grid__item { display: flex; }
.jc-service-card { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; width: 100%; min-height: 292px; padding: 1.5rem; text-align: center; border-radius: var(--jc-radius); background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.1); transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1); }
.jc-service-card:hover, .jc-service-card:focus-visible { transform: scale(1.02) translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.15); }
.jc-service-card__icon { color: #072066; line-height: 0; }
.jc-service-card__icon svg { width: 100px; height: 100px; }
.jc-service-card h3 { margin: 0; color: var(--jc-ink); font-size: 1.38rem; }
.jc-service-card p { max-width: 330px; margin: 0; color: var(--jc-muted); font-size: .94rem; text-wrap: balance; }
.jc-directions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.jc-direction { position: relative; isolation: isolate; overflow: hidden; min-height: 430px; padding: 55px; display: flex; flex-direction: column; justify-content: end; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; color: #fff; background: #0a2a55; }
/* 背景圖放在 ::before（原圖）與 ::after（疊圖）兩層，滑鼠移入時做滑動換圖效果（同首頁圖文區，2026-09-24）。 */
.jc-direction::before, .jc-direction::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(3,13,29,.35), transparent 45%), linear-gradient(145deg, rgba(9,72,150,.9), rgba(4,18,38,.76)), url('../images/backgrounds/digital-agency.webp?v=20260924-140856') center / cover no-repeat; transition: transform .5s ease, opacity .5s ease, filter .5s ease; }
.jc-direction--visual::before, .jc-direction--visual::after { background: linear-gradient(to top, rgba(3,13,29,.35), transparent 45%), linear-gradient(145deg, rgba(13,127,150,.8), rgba(4,18,38,.9)), url('../images/backgrounds/technology-ia.webp?v=20260924-140856') center / cover no-repeat; }
.jc-direction::after { transform: translateX(50%) scaleX(2); opacity: 0; filter: blur(12px); }
@media (hover: hover) and (pointer: fine) {
    .jc-direction:hover::after { transform: none; opacity: 1; filter: blur(0); }
    .jc-direction:hover::before { transform: translateX(-50%) scaleX(2); opacity: 0; filter: blur(12px); }
}
.jc-direction .jc-kicker { color: #73e8ff; text-shadow: 0 2px 12px rgba(0,0,0,.38); }
.jc-direction h2 { margin: 0; color: #fff !important; font-size: 3rem; text-shadow: 0 4px 22px rgba(0,0,0,.5); }
.jc-direction p:not(.jc-kicker) { max-width: 550px; color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.42); }
.jc-direction a { color: #fff; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.42); }
.jc-direction__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.jc-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jc-work-grid--all { grid-template-columns: repeat(2, 1fr); }
.jc-work-card { position: relative; min-height: 420px; overflow: hidden; display: block; border-radius: var(--jc-radius); background: #dfe8f0; box-shadow: 0 12px 35px rgba(7,23,46,.1); }
.jc-work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.jc-work-card:hover img { transform: scale(1.035); }
.jc-work-card > span { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; padding: 18px 20px; border-radius: 14px; color: #fff; background: rgba(7,23,46,.88); backdrop-filter: blur(12px); }
.jc-work-card small { color: rgba(255,255,255,.7); }
.jc-draft-note { margin: 26px 0 0; padding: 12px 16px; border-left: 3px solid var(--jc-cyan); color: var(--jc-muted); background: var(--jc-soft); font-size: .87rem; }
.jc-process { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.jc-process li { min-height: 220px; padding: 32px; border: 1px solid var(--jc-line); border-right: 0; background: #fff; }
.jc-process li:first-child { border-radius: var(--jc-radius) 0 0 var(--jc-radius); }
.jc-process li:last-child { border-right: 1px solid var(--jc-line); border-radius: 0 var(--jc-radius) var(--jc-radius) 0; }
.jc-process span, .jc-value-grid span { color: var(--jc-blue); font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
.jc-process h3 { margin: 42px 0 7px; }
.jc-process p { margin: 0; color: var(--jc-muted); font-size: .92rem; }
.jc-faq-preview, .jc-faq-page { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.jc-faq-preview > div:first-child > p:not(.jc-kicker), .jc-faq-page > div:first-child > p:not(.jc-kicker) { color: var(--jc-muted); margin-bottom: 28px; }
.jc-accordion details { border-bottom: 1px solid var(--jc-line); }
.jc-accordion summary { padding: 24px 42px 24px 0; position: relative; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 800; }
.jc-accordion summary::-webkit-details-marker { display: none; }
.jc-accordion summary::after { content: "+"; position: absolute; right: 5px; top: 20px; color: var(--jc-blue); font-size: 1.5rem; }
.jc-accordion details[open] summary::after { content: "−"; }
.jc-accordion details p { margin: -3px 45px 25px 0; color: var(--jc-muted); }
.jc-cta { padding: 95px 0; color: #fff; text-align: center; background: linear-gradient(115deg, var(--jc-blue), #0a3b75 65%, var(--jc-navy)); }
.jc-cta .jc-kicker { color: #9cebf3; }
.jc-cta h2 { max-width: 850px; margin: 0 auto 28px; color: #fff !important; font-size: clamp(2rem, 4.5vw, 4.3rem); line-height: 1.1; text-wrap: balance; }
.jc-cta p:not(.jc-kicker) { margin: -10px auto 28px; color: rgba(255,255,255,.75); }

/* 內頁頁首：背景圖可由頁面以 style="background-image: url(...)" 指定（2026-09-24 改版），深色漸層由 ::before 疊在圖片上。 */
.jc-page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 190px 0 95px; color: #fff; background: var(--jc-navy) url('../images/backgrounds/line-tech.webp?v=20260924-140856') center / cover no-repeat; }
.jc-page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 18%, rgba(39,153,239,.25), transparent 32%), linear-gradient(100deg, rgba(4,17,37,.95) 0%, rgba(7,31,62,.82) 50%, rgba(8,54,95,.45) 100%); }
.jc-page-hero--center { text-align: center; }
.jc-page-hero--center::before { background: radial-gradient(ellipse at center, rgba(6,24,70,.78) 0%, rgba(4,17,37,.9) 75%); }
.jc-page-hero--notfound::before { background: linear-gradient(90deg, rgba(3,13,32,.5), rgba(3,13,32,.58) 50%, rgba(3,13,32,.5)); }
/* 加上 .jc-page-hero 前綴，優先權才高於後面的 .jc-page-hero p:not(.jc-kicker) { margin: 0 }，副標題才會置中。 */
.jc-page-hero.jc-page-hero--center p:not(.jc-kicker) { margin-inline: auto; }
.jc-page-hero--center .jc-breadcrumb, .jc-page-hero--center .jc-page-hero__actions { justify-content: center; }
.jc-page-hero > .jc-container { position: relative; z-index: 1; }
.jc-page-hero .jc-kicker { color: #39c8ff; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.jc-page-hero h1 { margin: 0 0 15px; color: #fff !important; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.05em; text-shadow: 0 5px 28px rgba(0,0,0,.38); }
.jc-page-hero p:not(.jc-kicker) { max-width: 680px; margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.jc-service-list article { min-height: 190px; display: grid; grid-template-columns: 80px .75fr 1fr; align-items: center; gap: 35px; padding: 45px 0; border-bottom: 1px solid var(--jc-line); scroll-margin-top: 110px; }
.jc-service-list article > span { color: var(--jc-blue); font-size: 1.2rem; font-weight: 900; }
.jc-service-list h2 { margin: 0; font-size: 2rem; }
.jc-service-list__body p { margin: 0; color: var(--jc-muted); }
.jc-service-list__body .jc-text-link { display: inline-block; margin-top: 12px; }
.jc-about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.jc-about-grid > div:last-child { color: var(--jc-muted); font-size: 1.08rem; }
.jc-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jc-value-grid article { padding: 35px; border-radius: var(--jc-radius); background: #fff; }
.jc-value-grid h3 { margin: 35px 0 8px; }
.jc-value-grid p { margin: 0; color: var(--jc-muted); }
.jc-contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.jc-contact-info h2 { margin: 0 0 20px; font-size: 2.2rem; }
.jc-contact-info address { margin-bottom: 25px; color: var(--jc-muted); font-style: normal; }
.jc-contact-info > a { display: block; padding: 16px 0; border-bottom: 1px solid var(--jc-line); font-size: 1.08rem; font-weight: 700; }
.jc-contact-info small { display: block; color: var(--jc-muted); font-weight: 400; }
.jc-contact-form { padding: 38px; border-radius: var(--jc-radius); background: var(--jc-soft); scroll-margin-top: 110px; }
.jc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jc-contact-form label { display: block; margin-bottom: 18px; font-size: .9rem; font-weight: 700; }
.jc-contact-form input, .jc-contact-form select, .jc-contact-form textarea { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid #cedbe7; border-radius: 10px; color: var(--jc-ink); background: #fff; font-size: 1rem; }
.jc-contact-form textarea { resize: vertical; }
.jc-contact-form button:disabled { opacity: .62; cursor: not-allowed; }
.jc-contact-form em { color: #c62828; font-style: normal; }
.jc-contact-form [aria-invalid="true"] { border-color: #c62828; }
.jc-field-error { display: block; margin-top: 6px; color: #c62828; font-size: .85rem; font-weight: 400; }
.jc-form-alert { margin: 0 0 22px; padding: 12px 16px; border-left: 3px solid #c62828; border-radius: 6px; color: #8e1c1c; background: #fdecec; font-size: .92rem; }
.jc-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jc-captcha { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; }
.jc-captcha__image { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 27px; }
.jc-captcha__image img { display: block; border: 1px solid #cedbe7; border-radius: 10px; }
.jc-captcha__refresh { padding: 0; border: 0; color: var(--jc-blue, #1565c0); background: none; font-size: .82rem; text-decoration: underline; cursor: pointer; }
.jc-contact-form .jc-consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-weight: 400; line-height: 1.6; }
.jc-contact-form .jc-consent input { width: 18px; height: 18px; margin: 3px 0 0; padding: 0; }
.jc-consent a { text-decoration: underline; }
.jc-consent .jc-field-error { grid-column: 2; margin-top: 0; }
.jc-form-note { margin: 14px 0 0; color: var(--jc-muted); font-size: .85rem; }
.jc-form-success h2 { margin: 0 0 14px; }
.jc-form-success p:not(.jc-kicker) { margin: 0 0 24px; color: var(--jc-muted); }

.jc-notfound { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.jc-notfound h2 { margin: 0 0 16px; }
.jc-notfound p:not(.jc-kicker) { color: var(--jc-muted); }
.jc-notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.jc-notfound__links { margin: 0; padding: 0; list-style: none; }
.jc-notfound__links a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--jc-line); font-weight: 700; }
.jc-notfound__links a:hover span { transform: translateX(4px); }
.jc-notfound__links span { color: var(--jc-blue); transition: transform .2s; }

.jc-page-hero--legal { position: relative; }
.jc-page-hero--legal::after { content: ""; position: absolute; width: 420px; height: 420px; right: -80px; top: -210px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.jc-legal-page { background: #f7f9fc; }
.jc-legal-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 70px; align-items: start; }
.jc-legal-nav { position: sticky; top: 112px; padding: 28px; border: 1px solid var(--jc-line); border-radius: 18px; background: #fff; box-shadow: 0 16px 45px rgba(7,23,46,.06); }
.jc-legal-nav h2 { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--jc-line); font-size: 1rem; }
.jc-legal-nav a { display: block; padding: 8px 0 8px 15px; position: relative; color: var(--jc-muted); font-size: .88rem; line-height: 1.45; }
.jc-legal-nav a::before { content: ""; position: absolute; left: 0; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: #b7c4d2; }
.jc-legal-nav a:hover { color: var(--jc-blue); }
.jc-legal-nav a:hover::before { background: var(--jc-blue); }
.jc-legal-content { min-width: 0; }
.jc-legal-section { position: relative; margin-bottom: 28px; padding: 42px 46px; scroll-margin-top: 110px; border: 1px solid var(--jc-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 38px rgba(7,23,46,.045); }
.jc-legal-section:last-child { margin-bottom: 0; }
/* 加上 .jc-legal-section 前綴：避免被下方 .jc-legal-section p 的文字顏色蓋掉，維持淡色浮水印數字。 */
.jc-legal-section .jc-legal-number { position: absolute; right: 30px; top: 22px; margin: 0; color: #e6edf5; font-size: 3.2rem; font-weight: 900; line-height: 1; }
.jc-legal-section h2 { position: relative; margin: 0 70px 22px 0; color: var(--jc-ink); font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.3; }
.jc-legal-section h3 { margin: 30px 0 12px; padding-left: 14px; border-left: 3px solid var(--jc-cyan); color: var(--jc-ink); font-size: 1.08rem; }
.jc-legal-section p { color: #4f5f74; }
.jc-legal-section a { color: var(--jc-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jc-legal-section ul, .jc-legal-section ol { margin: 15px 0 0; padding-left: 1.45rem; color: #4f5f74; }
/* 版型 globals.css 清除了清單符號，條款頁補回來。 */
.jc-legal-section ul { list-style: disc; }
.jc-legal-section ol { list-style: decimal; }
.jc-legal-section li > ol { margin-top: 8px; list-style: lower-alpha; }
.jc-legal-section li { margin: 9px 0; padding-left: 5px; }
.jc-legal-section li::marker { color: var(--jc-blue); font-weight: 800; }
.jc-legal-notice { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--jc-cyan); color: #38516d; background: var(--jc-soft); }
.jc-legal-contact { margin-top: 32px; padding: 25px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, var(--jc-blue), #0a3b75); }
.jc-legal-contact h3 { margin: 0 0 8px; padding: 0; border: 0; color: #fff; }
.jc-legal-contact p { margin: 0 0 8px; color: rgba(255,255,255,.82); }
.jc-legal-contact a { color: #fff; }

.jc-footer { padding: 75px 0 25px; color: rgba(255,255,255,.72); background: #050f20; }
.jc-footer__grid { display: grid; grid-template-columns: 1fr .7fr 1.2fr 300px; gap: 40px; }
.jc-footer__facebook { display: block; width: 300px; max-width: 100%; height: 130px; margin-bottom: 8px; border: 0; border-radius: 8px; background: #fff; overflow: hidden; }
.jc-footer__logo { width: 220px; height: auto; margin-bottom: 18px; }
.jc-footer h2 { margin: 0 0 18px; color: #fff; font-size: 1rem; }
.jc-footer a, .jc-footer address { display: block; margin: 7px 0; color: rgba(255,255,255,.68); font-style: normal; }
.jc-footer a:hover { color: var(--jc-cyan); }
.jc-footer__bottom { margin-top: 55px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.jc-footer__bottom a { display: inline; }
.jc-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: var(--jc-blue); box-shadow: 0 10px 25px rgba(7,23,46,.24); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.jc-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* Service detail pages */
.jc-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: rgba(255,255,255,.6); font-size: .88rem; }
.jc-breadcrumb a { color: rgba(255,255,255,.82); }
.jc-breadcrumb a:hover { color: #fff; }
.jc-page-hero p.jc-page-hero__highlight { display: inline-block; margin-top: 18px; padding: 6px 14px; border: 1px solid rgba(115,232,255,.45); border-radius: 999px; color: #9cebf3; font-size: .92rem; font-weight: 700; }
.jc-page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.jc-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.jc-card-grid article { padding: 32px; border-radius: var(--jc-radius); background: #fff; }
.jc-card-grid span { color: var(--jc-blue); font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
.jc-card-grid h3 { margin: 28px 0 8px; font-size: 1.22rem; }
.jc-card-grid p { margin: 0; color: var(--jc-muted); }
.jc-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.jc-feature-grid article { padding-left: 22px; border-left: 3px solid var(--jc-cyan); }
.jc-feature-grid h3 { margin: 0 0 8px; font-size: 1.15rem; }
.jc-feature-grid p { margin: 0; color: var(--jc-muted); }
.jc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--jc-line); }
.jc-stats strong { display: block; color: var(--jc-navy); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.jc-stats strong span { color: var(--jc-blue); }
.jc-stats p { margin: 10px 0 0; color: var(--jc-muted); }

@media (max-width: 980px) {
    .jc-notfound { grid-template-columns: 1fr; gap: 48px; }
    .jc-menu-button { display: block; }
    .jc-nav { position: absolute; left: 0; right: 0; top: 82px; padding: 18px 24px 28px; display: none; flex-direction: column; align-items: stretch; gap: 4px; background: rgb(7,23,46); }
    .jc-nav.is-open { display: flex; }
    .jc-nav a { padding: 11px 5px; }
    .jc-nav.is-open { max-height: calc(100vh - 72px); overflow-y: auto; }
    .jc-nav__toggle { display: block; width: 100%; padding: 11px 5px; text-align: left; cursor: default; }
    .jc-nav__caret, .jc-nav__submenu::before { display: none; }
    .jc-nav__submenu { position: static; min-width: 0; margin: 0 0 6px 5px; padding: 0 0 0 12px; border: 0; border-left: 1px solid rgba(255,255,255,.14); border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .jc-nav .jc-nav__submenu a { padding: 8px 10px; font-size: .9rem; font-weight: 500; }
    .jc-nav__cta { margin-top: 7px; text-align: center; }
    .jc-hero { min-height: 760px; }
    .jc-hero__content { grid-template-columns: 1fr; }
    .jc-hero__visual { display: none; }
    .jc-original-hero { min-height: 820px; }
    .jc-original-hero__hand { top: 95px; width: 78%; opacity: .62; background-position: left 18%; }
    .jc-original-hero__layout { min-height: 820px; grid-template-columns: .72fr 1.28fr; padding-top: 110px; }
    .jc-original-hero__info { padding: 30px; border-radius: 20px; background: rgba(8,37,106,.55); backdrop-filter: blur(4px); }
    .jc-service-grid { grid-template-columns: repeat(2, 1fr); }
    .jc-directions, .jc-work-grid, .jc-work-grid--all { grid-template-columns: 1fr 1fr; }
    .jc-process { grid-template-columns: 1fr 1fr; gap: 14px; }
    .jc-process li, .jc-process li:first-child, .jc-process li:last-child { border: 1px solid var(--jc-line); border-radius: 16px; }
    .jc-faq-preview, .jc-faq-page, .jc-about-grid, .jc-contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .jc-legal-layout { grid-template-columns: 1fr; gap: 28px; }
    .jc-legal-nav { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 25px; }
    .jc-legal-nav h2 { grid-column: 1 / -1; }
    .jc-footer__grid { grid-template-columns: 1.4fr 1fr; gap: 45px; }
    .jc-feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .jc-container { width: min(100% - 32px, 1180px); }
    .jc-header__inner { min-height: 72px; }
    .jc-brand { width: 178px; }
    .jc-nav { top: 72px; }
    .jc-hero { min-height: 700px; }
    .jc-hero__content { padding-top: 76px; }
    .jc-hero h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
    .jc-hero__lead { font-size: 1rem; }
    .jc-actions, .jc-actions .jc-button { width: 100%; }
    .jc-original-hero { min-height: 760px; }
    .jc-original-hero__hand { top: 85px; width: 112%; height: 58%; opacity: .5; background-position: left top; }
    .jc-original-hero__layout { min-height: 760px; display: block; padding-top: 330px; padding-bottom: 55px; }
    .jc-original-hero__info { width: 100%; padding: 25px 20px; text-align: center; }
    .jc-original-hero__copy p { margin-inline: auto; }
    .jc-original-hero__services, .jc-original-hero__actions { justify-content: center; }
    .jc-original-hero__actions { flex-direction: column; gap: 11px; }
    .jc-original-button { width: 100%; }
    .jc-section { padding: 75px 0; }
    .jc-section-heading { display: block; margin-bottom: 32px; }
    .jc-section-heading > p, .jc-section-heading .jc-text-link { display: block; margin-top: 18px; }
    .jc-service-grid, .jc-directions, .jc-work-grid, .jc-work-grid--all, .jc-process, .jc-value-grid, .jc-footer__grid { grid-template-columns: 1fr; }
    .jc-direction { min-height: 360px; padding: 32px; }
    .jc-direction h2 { font-size: 2.35rem; }
    .jc-work-card { min-height: 340px; }
    .jc-page-hero { padding: 150px 0 70px; }
    .jc-service-list article { grid-template-columns: 45px 1fr; gap: 20px; }
    .jc-service-list__body { grid-column: 2; }
    .jc-form-row { grid-template-columns: 1fr; gap: 0; }
    .jc-contact-form { padding: 24px; }
    .jc-legal-nav { grid-template-columns: 1fr; }
    .jc-legal-section { padding: 32px 24px; }
    .jc-legal-section h2 { margin-right: 45px; }
    .jc-legal-section .jc-legal-number { right: 20px; top: 22px; font-size: 2.55rem; }
    .jc-footer__bottom { display: block; }
    .jc-feature-grid, .jc-stats { grid-template-columns: 1fr; }
    .jc-page-hero__actions .jc-button { width: 100%; }
    .jc-footer__bottom span { display: block; margin: 8px 0; }
}

/* ===== 2026-09-24 改版：依購買版型各頁區塊重寫的版面元件 ===== */
/* 圖文並排（版型 about-our-company） */
.jc-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.jc-split--reverse .jc-split__media { order: -1; }
.jc-split h2 { margin: 0 0 20px; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.18; letter-spacing: -.03em; }
.jc-split__text > p:not(.jc-kicker) { color: var(--jc-muted); font-size: 1.04rem; text-wrap: pretty; }
.jc-split__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--jc-radius); box-shadow: var(--jc-shadow); }
.jc-split__media--plain img { aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
.jc-split__media--screenshot img { aspect-ratio: auto; object-fit: contain; border: 1px solid var(--jc-line); }
.jc-split__media--stack { display: grid; gap: 18px; }
.jc-checklist { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.jc-checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; }
.jc-checklist svg { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--jc-blue); }
.jc-checklist small { display: block; margin-top: 2px; color: var(--jc-muted); font-size: .92rem; font-weight: 400; }
.jc-split .jc-button { margin-top: 32px; }

/* 數字區塊（版型 counting-info） */
/* 2026-09-24 拿掉人類手圖，改為深藍＋版型六角形科技紋路（geometry-tech）與光暈，和行動呼籲的線條背景區隔。 */
.jc-stats-band { position: relative; overflow: hidden; padding: 120px 0; color: #fff; background: radial-gradient(circle at 15% 50%, rgba(39,153,239,.35), transparent 42%), radial-gradient(circle at 90% 20%, rgba(33,198,217,.18), transparent 35%), linear-gradient(rgba(8,37,106,.72), rgba(8,37,106,.82)), url('../images/backgrounds/geometry-tech.webp?v=20260924-140856') center / cover no-repeat, #08256a; }
.jc-stats-band__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.jc-stats-band .jc-kicker { color: #73e8ff; }
.jc-stats-band h2 { margin: 0 0 16px; color: #fff !important; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.2; }
.jc-stats-band h2 span { color: #2799ef; }
.jc-stats-band p:not(.jc-kicker) { margin: 0; color: rgba(255,255,255,.85); }
.jc-stats-band .jc-button { margin-top: 28px; }
.jc-stat-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jc-stat-box { padding: 32px 18px; text-align: center; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.jc-stat-box svg { width: 46px; height: 46px; color: #fff; }
.jc-stat-box strong { display: block; margin-top: 12px; font-size: 2.5rem; line-height: 1.1; }
.jc-stat-box strong span { color: #73e8ff; }
.jc-stat-box p { margin: 8px 0 0; color: rgba(255,255,255,.82) !important; font-size: .9rem; }

/* 環狀流程（版型 step-info）：外層定位，data-aos 放在內層，避免 AOS 的 transform 蓋掉定位與 hover。 */
.jc-steps-circle { position: relative; height: 820px; }
.jc-steps-circle__image { position: absolute; left: calc(50% - 150px); top: calc(50% - 150px); width: 300px; height: 300px; margin: 0; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 14px rgba(19,103,209,.08), 0 0 0 30px rgba(19,103,209,.04), var(--jc-shadow); }
.jc-steps-circle__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jc-step { position: absolute; width: 400px; }
.jc-step--up { top: 0; left: calc(50% - 200px); }
.jc-step--right { top: calc(50% - 100px); right: 0; }
.jc-step--down { bottom: 0; left: calc(50% - 200px); }
.jc-step--left { top: calc(50% - 100px); left: 0; }
/* 左右兩側寬度隨容器縮小，與中間 300px 圓形照片保持至少 25px 間距。 */
.jc-step--left, .jc-step--right { width: min(400px, calc(50% - 175px)); }
.jc-step__body { display: flex; gap: 16px; align-items: flex-start; }
.jc-step__icon { flex: none; color: #072066; line-height: 0; transition: transform .5s; }
.jc-step__icon svg { width: 76px; height: 76px; }
.jc-step:hover .jc-step__icon { transform: translateY(-12px); }
.jc-step h3 { margin: 4px 0 8px; font-size: 1.5rem; line-height: 1.35; }
.jc-step h3 span { color: var(--jc-blue); }
.jc-step p { margin: 0; color: var(--jc-muted); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }

/* 公司介紹（版型 about-us-modern） */
.jc-about-modern { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.jc-about-modern h2 { margin: 0 0 18px; font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.18; letter-spacing: -.03em; }
.jc-about-modern h2 span { color: var(--jc-blue); }
.jc-about-modern h2.jc-about-modern__title--long { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.jc-about-modern__text > p:not(.jc-kicker) { color: var(--jc-muted); font-size: 1.04rem; }
.jc-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.jc-mini-card { padding: 22px 24px; border-radius: 16px; background: var(--jc-soft); transition: background .25s, transform .25s; }
.jc-mini-card:hover { background: #e7f0fa; transform: translateY(-3px); }
.jc-mini-card h3 { margin: 0 0 6px; font-size: 1.06rem; }
.jc-mini-card p { margin: 0; color: var(--jc-muted); font-size: .9rem; }
.jc-company-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0 0 30px; padding: 22px 24px; border-left: 3px solid var(--jc-blue); border-radius: 0 16px 16px 0; background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.1); }
.jc-company-info > div:last-child { grid-column: 1 / -1; }
.jc-company-info dt { color: var(--jc-muted); font-size: .82rem; }
.jc-company-info dd { margin: 2px 0 0; color: var(--jc-ink); font-weight: 700; }
.jc-about-modern__media img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--jc-radius); box-shadow: var(--jc-shadow); }

/* 圖片背景的行動呼籲（版型 contact-info） */
/* 2026-09-24 拿掉人類手圖（與 Hero 機械手重複），改為 Hero 同色深藍＋科技線條與光暈。 */
.jc-cta--image { padding: 140px 0; background: radial-gradient(circle at 20% 30%, rgba(39,153,239,.35), transparent 40%), radial-gradient(circle at 85% 75%, rgba(33,198,217,.22), transparent 38%), linear-gradient(rgba(8,37,106,.55), rgba(8,37,106,.75)), url('../images/backgrounds/line-tech.webp?v=20260924-140856') center / cover no-repeat, #08256a; }
.jc-cta--image h2 { text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.jc-cta--image .jc-button--light { color: #fff; background: #1e8fe5; }
.jc-cta--image .jc-button--light:hover { background: #36a5f5; }

/* 有框線的服務卡（版型 service-cards-classic） */
/* 用 flex 排列，卡片數量不是 3 的倍數時，最後一排置中。 */
.jc-classic-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.jc-classic-grid__item { display: flex; width: calc((100% - 40px) / 3); }
.jc-classic-card { width: 100%; padding: 38px 28px 34px; text-align: center; border: 1px solid #c9d8ea; border-radius: var(--jc-radius); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s; }
.jc-classic-card:hover { border-color: var(--jc-blue); box-shadow: 0 18px 40px rgba(19,103,209,.12); transform: translateY(-5px); }
.jc-classic-card svg { width: 64px; height: 64px; color: #072066; }
.jc-classic-card h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.jc-classic-card p { margin: 0; color: var(--jc-muted); font-size: .94rem; text-wrap: balance; }

/* 深色圖片背景的服務內容（APP 頁） */
.jc-image-band { position: relative; isolation: isolate; color: #fff; background: var(--jc-navy) center / cover no-repeat; }
.jc-image-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(4,17,37,.95), rgba(7,31,62,.84)); }
.jc-image-band .jc-section-heading h2 { color: #fff !important; }
.jc-image-band .jc-section-heading > p { color: rgba(255,255,255,.75); }
.jc-icon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jc-icon-list article { display: flex; gap: 20px; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.05); }
.jc-icon-list svg { flex: none; width: 48px; height: 48px; color: #73e8ff; }
.jc-icon-list h3 { margin: 0 0 6px; color: #fff; font-size: 1.15rem; }
.jc-icon-list p { margin: 0; color: rgba(255,255,255,.78); }

/* 置中、有框線的常見問題（版型 faq-section） */
.jc-faq-center { max-width: 840px; margin-inline: auto; }
.jc-faq-center__head { margin-bottom: 40px; text-align: center; }
.jc-faq-center__head h2 { margin: 0 0 12px; font-size: clamp(2rem, 3.6vw, 3rem); }
.jc-faq-center__head p:not(.jc-kicker) { margin: 0; color: var(--jc-muted); }
.jc-accordion--boxed details { margin-bottom: 14px; padding: 0 26px; border: 1px solid #bcd3ee; border-radius: 14px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.jc-accordion--boxed details:last-child { border-bottom: 1px solid #bcd3ee; }
.jc-accordion--boxed details[open] { border-color: var(--jc-blue); box-shadow: 0 14px 34px rgba(19,103,209,.1); }
.jc-accordion--boxed summary { padding: 20px 38px 20px 0; color: #1a5fb4; font-size: 1.02rem; }
.jc-accordion--boxed summary::after { top: 15px; }
.jc-accordion--boxed details p { margin: -4px 0 22px; }
.jc-faq-center__more { margin-top: 34px; text-align: center; }

/* FAQ 手風琴（依購買版型 faq-accordion.css：藍框卡片、藍色問題、箭頭旋轉、答案滑出）。 */
.jc-faq-list { display: grid; gap: 1rem; }
.jc-faq-item { overflow: hidden; border: 1px solid #1e88e5; border-radius: 1rem; background: #fff; transition: box-shadow .3s ease, border-color .3s ease; }
.jc-faq-item:hover { box-shadow: 0 0 20px rgba(116,116,116,.1); }
.jc-faq-item[open] { box-shadow: 0 0 0 2px rgba(30,136,229,.1); }
.jc-faq-question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem; list-style: none; cursor: pointer; transition: background-color .3s ease; }
.jc-faq-question::-webkit-details-marker { display: none; }
.jc-faq-question:hover { background-color: rgba(30,136,229,.02); }
.jc-faq-item[open] .jc-faq-question { background-color: rgba(30,136,229,.05); }
.jc-faq-question:focus-visible { outline: 2px solid rgba(30,136,229,.4); outline-offset: -2px; }
.jc-faq-question__text { color: #1e88e5; font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.jc-faq-toggle { flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #1e88e5; transition: background-color .3s ease; }
.jc-faq-question:hover .jc-faq-toggle { background-color: rgba(30,136,229,.1); }
.jc-faq-toggle svg { width: 16px; height: 16px; transition: transform .3s ease; }
.jc-faq-item[open] .jc-faq-toggle svg { transform: rotate(180deg); }
.jc-faq-answer { overflow: hidden; transition: max-height .4s ease; }
.jc-faq-answer__content { padding: 10px 1.5rem 1.5rem; }
.jc-faq-answer__content p { margin: 0; color: #424242; font-size: 1rem; line-height: 1.7; }
.jc-faq-item[open] .jc-faq-answer__content { animation: jc-faq-slide .3s ease-out; }
@keyframes jc-faq-slide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .jc-faq-question { padding: 1rem 1.1rem; }
    .jc-faq-question__text { font-size: 1rem; }
    .jc-faq-answer__content { padding: 4px 1.1rem 1.1rem; }
    .jc-faq-answer__content p { font-size: .94rem; }
}

/* 360° 環景（幼教頁，Marzipano）：捲到附近才載入；左下播放旋轉／全螢幕，上方提示拖曳，拖曳後提示淡出。 */
.jc-pano-section .jc-kicker { color: #73e8ff; }
.jc-pano-section .jc-section-heading h2 { color: #fff !important; }
.jc-pano-section .jc-section-heading > p { color: rgba(255,255,255,.75); }
.jc-pano { position: relative; height: 560px; overflow: hidden; border-radius: var(--jc-radius); background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.jc-pano::before { content: "360° 環景載入中…"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: .95rem; }
.jc-pano.is-ready::before { content: none; }
.jc-pano.is-error::before { content: "環景載入失敗，請重新整理頁面。"; }
.jc-pano__viewer { position: absolute; inset: 0; cursor: grab; }
.jc-pano__viewer:active { cursor: grabbing; }
.jc-pano__hint { position: absolute; left: 50%; top: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.55); font-size: .88rem; white-space: nowrap; transform: translateX(-50%); pointer-events: none; transition: opacity .4s ease; }
.jc-pano__hint svg { width: 18px; height: 18px; }
.jc-pano.is-touched .jc-pano__hint, .jc-pano:not(.is-ready) .jc-pano__hint { opacity: 0; }
.jc-pano__controls { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; gap: 10px; }
.jc-pano__btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(0,0,0,.55); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.jc-pano__btn:hover, .jc-pano__btn.is-active { border-color: #1e88e5; background: #1e88e5; }
.jc-pano__btn svg { width: 16px; height: 16px; }
.jc-pano:fullscreen { height: 100%; border-radius: 0; }
.jc-pano__caption { margin: 14px 0 0; color: rgba(255,255,255,.6); font-size: .88rem; text-align: center; }
@media (max-width: 640px) {
    .jc-pano { height: 340px; }
    .jc-pano__btn { padding: 8px 12px; font-size: .82rem; }
}

/* 首頁 AI 亮點橫幅（2026-09-24） */
.jc-highlight-bar { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 14px 22px; border: 1px solid #bcd3ee; border-radius: 999px; background: #eef5fd; color: var(--jc-ink); transition: background .25s, border-color .25s, transform .25s; }
.jc-highlight-bar:hover { border-color: var(--jc-blue); background: #e3eefb; transform: translateY(-2px); }
.jc-highlight-bar__tag { flex: none; padding: 3px 10px; border-radius: 999px; color: #fff; background: var(--jc-blue); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.jc-highlight-bar__text { flex: 1; font-size: .98rem; }
.jc-highlight-bar__text strong { color: var(--jc-blue); }
.jc-highlight-bar__link { flex: none; color: var(--jc-blue); font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) {
    .jc-highlight-bar { flex-wrap: wrap; gap: 8px 12px; padding: 14px 18px; border-radius: 18px; }
    .jc-highlight-bar__text { flex-basis: 100%; order: 3; font-size: .92rem; }
}

/* 進一步了解（服務頁詳細說明，2026-09-24） */
.jc-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jc-details article { padding: 32px 34px; border-radius: var(--jc-radius); background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.08); }
.jc-details h3 { margin: 0 0 10px; font-size: 1.2rem; }
.jc-details p { margin: 0; color: var(--jc-muted); line-height: 1.8; text-wrap: pretty; }
.jc-details__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px !important; }
.jc-details__links a { color: var(--jc-blue); font-weight: 800; }

/* 常見問題頁分類（2026-09-24） */
.jc-faq-groups { display: grid; gap: 56px; }
.jc-faq-group { scroll-margin-top: 110px; }
.jc-faq-group > h3 { margin: 0 0 18px; padding-left: 14px; border-left: 3px solid var(--jc-blue); font-size: 1.3rem; }
.jc-faq-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 44px; padding: 0; list-style: none; }
.jc-faq-nav a { display: inline-block; padding: 8px 18px; border: 1px solid #bcd3ee; border-radius: 999px; color: #1a5fb4; font-size: .92rem; font-weight: 700; transition: background .2s, color .2s; }
.jc-faq-nav a:hover { color: #fff; background: var(--jc-blue); border-color: var(--jc-blue); }
.jc-about-strengths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.jc-about-strengths article { padding: 30px 32px; border-radius: var(--jc-radius); background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.08); }
.jc-about-strengths h3 { margin: 0 0 8px; font-size: 1.15rem; }
.jc-about-strengths p { margin: 0; color: var(--jc-muted); text-wrap: pretty; }

/* 關於頁：由來時間軸與服務清單（2026-09-24） */
.jc-timeline { position: relative; margin: 0; padding: 0 0 0 150px; list-style: none; }
.jc-timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 2px; background: #c9d8ea; }
.jc-timeline li { position: relative; display: grid; grid-template-columns: 1fr; margin-bottom: 28px; padding: 26px 30px; border-radius: var(--jc-radius); background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.08); }
.jc-timeline li:last-child { margin-bottom: 0; }
.jc-timeline li::before { content: ""; position: absolute; left: -36px; top: 34px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--jc-blue); box-shadow: 0 0 0 2px #c9d8ea; }
.jc-timeline__year { position: absolute; left: -150px; top: 28px; width: 96px; color: var(--jc-blue); font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; text-align: right; }
.jc-timeline h3 { margin: 0 0 8px; font-size: 1.22rem; }
.jc-timeline p { margin: 0; color: var(--jc-muted); line-height: 1.8; text-wrap: pretty; }
.jc-capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.jc-capabilities > div { padding: 30px 32px; border-radius: var(--jc-radius); background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.08); }
.jc-capabilities h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--jc-blue); font-size: 1.2rem; }
.jc-capabilities ul { margin: 0; padding-left: 1.2rem; }
.jc-capabilities li { margin: 8px 0; color: var(--jc-muted); line-height: 1.7; }
.jc-capabilities li::marker { color: var(--jc-blue); }
.jc-capabilities a { color: var(--jc-ink); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(19,103,209,.35); text-underline-offset: 3px; }
.jc-capabilities a:hover { color: var(--jc-blue); }

/* 聯絡資訊卡片與表單配圖 */
.jc-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 70px; }
.jc-contact-cards__item { display: flex; }
.jc-contact-card { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 20px; text-align: center; border-radius: var(--jc-radius); background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.1); font-style: normal; transition: transform .3s, box-shadow .3s; }
a.jc-contact-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.jc-contact-card svg { width: 46px; height: 46px; margin-bottom: 6px; color: #072066; }
.jc-contact-card small { color: var(--jc-muted); font-size: .85rem; }
.jc-contact-card strong { font-size: 1.02rem; word-break: break-word; }
.jc-contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: stretch; }
.jc-contact-layout__media { position: relative; min-height: 460px; margin: 0; overflow: hidden; border-radius: var(--jc-radius); }
.jc-contact-layout__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 聯絡頁配圖的滑動換圖（2026-09-24）：疊圖外框填滿圖框，滑鼠移到整個圖框（含公司名稱）即觸發。 */
.jc-contact-layout__media .jc-img-swap { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
    .jc-contact-layout__media:hover .jc-img-swap > img:first-child { transform: none; opacity: 1; filter: blur(0); }
    .jc-contact-layout__media:hover .jc-img-swap > img:last-child { transform: translateX(-50%) scaleX(2); opacity: 0; filter: blur(12px); }
}
.jc-contact-layout__media figcaption { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 22px 24px; border-radius: 16px; color: #fff; background: rgba(7,23,46,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.jc-contact-layout__media figcaption strong { display: block; margin-bottom: 4px; font-size: 1.15rem; }
.jc-contact-layout__media figcaption span { display: block; color: rgba(255,255,255,.8); font-size: .92rem; }
.jc-contact-layout__media figcaption i { font-style: normal; white-space: nowrap; }

/* 系統開發案例卡 */
.jc-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.jc-showcase__item { display: flex; }
.jc-showcase-card { width: 100%; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--jc-radius); background: #fff; box-shadow: 0 0 20px rgba(116,116,116,.12); transition: transform .3s, box-shadow .3s; }
.jc-showcase-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(7,23,46,.14); }
.jc-showcase-card__media { position: relative; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; }
.jc-showcase-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
/* 2026-09-24 放大效果改為滑動換圖（滑鼠移到整張卡片即觸發）；標籤維持在圖片上層。 */
.jc-showcase-card__media .jc-img-swap { height: 100%; border-radius: 0; box-shadow: none; }
.jc-showcase-card__label { z-index: 1; }
@media (hover: hover) and (pointer: fine) {
    .jc-showcase-card:hover .jc-img-swap > img:first-child { transform: none; opacity: 1; filter: blur(0); }
    .jc-showcase-card:hover .jc-img-swap > img:last-child { transform: translateX(-50%) scaleX(2); opacity: 0; filter: blur(12px); }
}
.jc-showcase-card__label { position: absolute; left: 18px; top: 18px; padding: 6px 14px; border-radius: 999px; color: #fff; background: rgba(7,23,46,.8); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.jc-showcase-card__body { flex: 1; display: flex; flex-direction: column; padding: 30px 32px 32px; }
.jc-showcase-card h3 { margin: 0 0 10px; font-size: 1.45rem; }
.jc-showcase-card__body > p { margin: 0; color: var(--jc-muted); text-wrap: pretty; }
.jc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.jc-tags li { padding: 5px 12px; border-radius: 999px; color: #0d4fa3; background: #e8f1fc; font-size: .85rem; font-weight: 700; }
.jc-showcase-card__link { margin-top: auto; padding-top: 22px; color: var(--jc-blue); font-weight: 800; }

@media (max-width: 980px) {
    .jc-split, .jc-about-modern, .jc-stats-band__inner, .jc-contact-layout { grid-template-columns: 1fr; gap: 44px; }
    .jc-split--reverse .jc-split__media { order: 0; }
    .jc-steps-circle { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .jc-steps-circle__image { position: relative; left: auto; top: auto; order: -1; grid-column: 1 / -1; justify-self: center; width: 240px; height: 240px; margin-bottom: 30px; }
    .jc-step { position: static; width: auto; padding: 24px; border: 1px solid var(--jc-line); border-radius: 18px; background: #fff; }
    .jc-classic-grid__item { width: calc((100% - 20px) / 2); }
    .jc-capabilities { grid-template-columns: 1fr 1fr; }
    .jc-contact-cards { grid-template-columns: repeat(2, 1fr); }
    .jc-showcase { grid-template-columns: 1fr; }
    .jc-contact-layout__media { min-height: 320px; }
}

@media (max-width: 640px) {
    .jc-steps-circle, .jc-icon-list, .jc-mini-grid, .jc-company-info, .jc-details, .jc-about-strengths, .jc-capabilities { grid-template-columns: 1fr; }
    .jc-timeline { padding-left: 34px; }
    .jc-timeline::before { left: 8px; }
    .jc-timeline li { padding: 22px 20px; }
    .jc-timeline li::before { left: -32px; top: 30px; }
    .jc-timeline__year { position: static; display: block; width: auto; margin-bottom: 4px; font-size: 1.05rem; text-align: left; }
    .jc-classic-grid__item { width: 100%; }
    .jc-stat-boxes { gap: 8px; }
    .jc-stat-box { padding: 20px 6px; }
    .jc-stat-box svg { width: 30px; height: 30px; }
    .jc-stat-box strong { font-size: 1.6rem; }
    .jc-stat-box p { font-size: .76rem; }
    .jc-contact-cards { gap: 12px; margin-bottom: 44px; }
    .jc-contact-cards__item:last-child { grid-column: 1 / -1; }
    .jc-contact-card { padding: 22px 12px; }
    .jc-contact-card svg { width: 36px; height: 36px; }
    .jc-contact-card strong { font-size: .92rem; }
    .jc-stats-band { padding: 80px 0; }
    .jc-step__icon svg { width: 56px; height: 56px; }
    .jc-cta--image { padding: 100px 0; }
    .jc-accordion--boxed details { padding: 0 18px; }
}

/* 圖片滑動換圖效果（2026-09-24，參考 /var/www/html/effect/cursor-demo.html 的 card-image）：
   JS 把同一張圖複製一份疊在上面；滑鼠移入時原圖往左滑出並模糊，疊上的圖由右滑入變清楚。圓角與陰影移到外框。 */
.jc-img-swap { position: relative; display: flex; overflow: hidden; border-radius: var(--jc-radius); box-shadow: var(--jc-shadow); }
.jc-img-swap > img { display: block; width: 100%; border-radius: 0; box-shadow: none; transition: transform .5s ease, opacity .5s ease, filter .5s ease; }
.jc-img-swap > img:first-child { position: absolute; inset: 0; height: 100%; object-fit: cover; transform: translateX(50%) scaleX(2); opacity: 0; filter: blur(12px); }
@media (hover: hover) and (pointer: fine) {
    .jc-img-swap:hover > img:first-child { transform: none; opacity: 1; filter: blur(0); }
    .jc-img-swap:hover > img:last-child { transform: translateX(-50%) scaleX(2); opacity: 0; filter: blur(12px); }
}

/* 游標反白放大效果（2026-09-24，參考 /var/www/html/effect/cursor-demo.html）：
   跟著滑鼠的小白點以 difference 與底色反相；移到區塊大標題上放大。只在有滑鼠的裝置由 JS 建立。 */
.jc-cursor { position: fixed; left: 0; top: 0; z-index: 9999; width: 12px; height: 12px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; transition: width .25s ease, height .25s ease, opacity .2s ease; will-change: transform; }
.jc-cursor.is-visible { opacity: 1; }
.jc-cursor.is-grow { width: 200px; height: 200px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
