/* 技冠科技｜捲門遙控系列專頁 */
.jg {
    --jg-paper: #f7f5ef;
    --jg-white: #fff;
    --jg-ink: #142335;
    --jg-text: #505963;
    --jg-soft: #78818a;
    --jg-line: #d9ddd9;
    --jg-panel: #e8ece7;
    --jg-navy: #162c3b;
    --jg-signal: #c18428;
    background: var(--jg-paper);
    color: var(--jg-ink);
}

.jg .navbar .container,
.jg .footer .container { max-width: 1200px; }
.jg .navbar .nav-menu a { font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; }

.jg main { overflow: hidden; }
.jg main img { display: block; max-width: 100%; }
.jg .jg-kicker { margin: 0; color: var(--jg-signal); font-size: 10px; font-weight: 700; letter-spacing: .23em; }

/* Hero */
.jg-hero { min-height: 650px; padding: calc(var(--nav-h) + 62px) 0 88px; background: var(--jg-paper); }
.jg-hero-grid { display: grid; grid-template-columns: 42% 58%; gap: 66px; align-items: center; }
.jg-hero-copy { position: relative; z-index: 2; padding-left: 2px; }
.jg-hero h1 { margin: 26px 0 0; font-family: 'Noto Serif TC', serif; font-size: clamp(38px, 4.2vw, 58px); font-weight: 500; line-height: 1.2; letter-spacing: .08em; }
.jg-hero h1 small { display: block; margin-top: 13px; color: var(--jg-navy); font-size: .46em; letter-spacing: .14em; }
.jg-rule { display: block; width: 40px; height: 3px; margin: 27px 0 20px; background: var(--jg-signal); }
.jg-lead { max-width: 470px; margin: 0; color: var(--jg-text); font-size: 15px; line-height: 2; }
.jg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.jg-tags span { padding: 7px 12px; border: 1px solid #cfd5d0; border-radius: 99px; background: rgba(255,255,255,.7); color: #495860; font-size: 11px; }
.jg-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(100%, 390px); margin-top: 30px; }
.jg-actions a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: end; padding: 12px 2px 4px; border-top: 1px solid #9ca7a3; color: var(--jg-ink); text-decoration: none; }
.jg-actions small { grid-column: 1 / -1; margin-bottom: 5px; color: var(--jg-soft); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.jg-actions strong { font-size: 14px; letter-spacing: .04em; }
.jg-actions b { color: var(--jg-signal); font-size: 19px; line-height: 1; transition: transform .2s ease; }
.jg-actions a:hover { border-color: var(--jg-signal); color: var(--jg-signal); }
.jg-actions a:hover b { transform: translate(3px,-2px); }

.jg-hero-visual { position: relative; min-height: 505px; background: var(--jg-navy); }
.jg-hero-visual::before { content: ''; position: absolute; top: -26px; left: -28px; width: 150px; height: 96px; background: #cbd2c6; }
.jg-hero-visual::after { content: 'ROLLING DOOR / REMOTE CONTROL'; position: absolute; right: 28px; bottom: 20px; color: rgba(255,255,255,.54); font-size: 8px; letter-spacing: .22em; writing-mode: vertical-rl; }
.jg-signal { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.jg-signal-a { top: 45px; right: 35px; width: 230px; height: 230px; }
.jg-signal-b { top: 83px; right: 73px; width: 154px; height: 154px; }
.jg-device { position: absolute; margin: 0; background: #fff; box-shadow: 0 24px 50px rgba(8,20,28,.22); }
.jg-device img { width: 100%; height: 100%; object-fit: contain; }
.jg-device figcaption { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding: 13px 16px; border-top: 1px solid #e1e4e1; }
.jg-device figcaption small { grid-column: 1 / -1; color: var(--jg-signal); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.jg-device figcaption strong { font-family: 'Noto Serif TC', serif; font-size: 14px; font-weight: 500; }
.jg-device-host { z-index: 2; top: 60px; left: -35px; width: 58%; padding-top: 22px; }
.jg-device-host img { height: 165px; padding: 16px; }
.jg-device-remote { z-index: 3; right: 54px; bottom: -34px; width: 44%; padding-top: 12px; }
.jg-device-remote img { height: 265px; padding: 12px 18px; }

/* 01 */
.jg-about { padding: 105px 0; background: #fff; }
.jg-about-grid { display: grid; grid-template-columns: 92px .9fr 1.15fr; gap: 52px; align-items: start; }
.jg-section-mark { display: flex; flex-direction: column; min-height: 250px; border-right: 1px solid var(--jg-line); }
.jg-section-mark span,
.jg-num { color: #e5e2da; font-family: 'Noto Serif TC', serif; font-size: 70px; line-height: .9; }
.jg-section-mark small { margin-top: auto; color: var(--jg-soft); font-size: 8px; letter-spacing: .2em; writing-mode: vertical-rl; }
.jg-about-title h2 { margin: 22px 0 0; font-family: 'Noto Serif TC', serif; font-size: clamp(27px, 3vw, 40px); font-weight: 500; line-height: 1.65; letter-spacing: .07em; }
.jg-about-copy { padding-top: 35px; }
.jg-about-copy p { margin: 0 0 22px; color: var(--jg-text); font-size: 15px; line-height: 2.1; }

/* 02 */
.jg-products { padding: 100px 0 112px; background: var(--jg-panel); }
.jg-section-head { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: end; margin-bottom: 54px; }
.jg-section-head > div:first-child { display: flex; align-items: flex-end; gap: 22px; }
.jg-section-head .jg-kicker { padding-bottom: 4px; }
.jg-section-head h2,
.jg-use-head h2 { margin: 0; font-family: 'Noto Serif TC', serif; font-size: 34px; font-weight: 500; letter-spacing: .08em; }
.jg-section-head > div:last-child p { margin: 10px 0 0; color: var(--jg-soft); font-size: 13px; }
.jg-product-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.jg-product-card { grid-column: span 6; display: grid; grid-template-columns: 48% 52%; min-height: 340px; background: #fff; overflow: hidden; }
.jg-product-card--host { grid-column: span 7; }
.jg-product-card--dark { grid-column: span 5; grid-template-columns: 1fr; background: var(--jg-navy); color: #fff; }
.jg-product-image { display: flex; align-items: center; justify-content: center; min-height: 250px; padding: 24px; background: #fff; }
.jg-product-image img { width: 100%; height: 210px; object-fit: contain; }
.jg-product-image--tall img { height: 260px; }
.jg-product-card--dark .jg-product-image { min-height: 270px; }
.jg-product-card--dark .jg-product-image img { height: 230px; }
.jg-product-copy { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border-left: 1px solid #e0e3df; }
.jg-product-card--dark .jg-product-copy { padding-top: 22px; border: 0; }
.jg-model { position: absolute; top: 25px; left: 30px; color: var(--jg-signal); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.jg-product-copy h3 { margin: 0; font-family: 'Noto Serif TC', serif; font-size: 24px; font-weight: 500; letter-spacing: .05em; }
.jg-product-copy p { margin: 15px 0 0; color: var(--jg-text); font-size: 13px; line-height: 1.85; }
.jg-product-card--dark .jg-product-copy p { color: #cad3d7; }

/* 03 */
.jg-use { padding: 105px 0; background: #fff; }
.jg-use-grid { display: grid; grid-template-columns: 250px 1fr 330px; gap: 52px; align-items: start; }
.jg-use-head .jg-kicker { margin: 22px 0 16px; }
.jg-use-list { border-top: 1px solid var(--jg-line); }
.jg-use-list > div { display: grid; grid-template-columns: 42px 145px 1fr; gap: 16px; align-items: center; min-height: 86px; border-bottom: 1px solid var(--jg-line); }
.jg-use-list span { color: var(--jg-signal); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.jg-use-list h3 { margin: 0; font-family: 'Noto Serif TC', serif; font-size: 18px; font-weight: 500; }
.jg-use-list p { margin: 0; color: var(--jg-soft); font-size: 13px; line-height: 1.7; }
.jg-service { position: relative; min-height: 340px; padding: 38px 34px; background: var(--jg-navy); color: #fff; overflow: hidden; }
.jg-service::after { content: ''; position: absolute; right: -72px; bottom: -72px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.04), 0 0 0 68px rgba(255,255,255,.035); }
.jg-service small { color: #cda45f; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.jg-service h3 { margin: 32px 0 0; font-family: 'Noto Serif TC', serif; font-size: 27px; font-weight: 500; letter-spacing: .05em; }
.jg-service p { position: relative; z-index: 1; margin: 18px 0 0; color: #cbd4d8; font-size: 13px; line-height: 1.9; }
.jg-service a { position: absolute; z-index: 2; left: 34px; bottom: 34px; padding-bottom: 8px; border-bottom: 1px solid #cda45f; color: #fff; font-size: 13px; text-decoration: none; }
.jg-service a span { margin-left: 24px; color: #cda45f; }

/* Hero 與品牌說明間的選型提示 */
.jg-system-strip { background: var(--jg-navy); color: #fff; }
.jg-system-strip-grid { display: grid; grid-template-columns: 1.15fr repeat(3,1fr); min-height: 108px; }
.jg-system-strip-grid > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 15px; padding: 20px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.jg-system-strip-grid > div:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.jg-system-strip-grid span { grid-row: 1 / 3; align-self: center; color: #d2a15b; font-family: Georgia,serif; font-size: 21px; }
.jg-system-strip-grid strong { font-family: 'Noto Serif TC',serif; font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.jg-system-strip-grid small { margin-top: 6px; color: #aebdc3; font-size: 9px; letter-spacing: .04em; }
.jg-system-strip-title { display: flex !important; flex-direction: column; align-items: flex-start; justify-content: center; border-left: 0 !important; }
.jg-system-strip-title small { color: #d2a15b; font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.jg-system-strip-title strong { margin-top: 8px; font-size: 18px; }

.jg-process { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(3,1fr); margin-top: 24px; border-top: 1px solid var(--jg-line); border-bottom: 1px solid var(--jg-line); }
.jg-process > div { position: relative; min-height: 128px; padding: 25px 25px 22px 0; }
.jg-process > div + div { padding-left: 25px; border-left: 1px solid var(--jg-line); }
.jg-process span { display: block; color: var(--jg-signal); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.jg-process strong { display: block; margin-top: 13px; font-family: 'Noto Serif TC',serif; font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.jg-process small { display: block; margin-top: 8px; color: var(--jg-soft); font-size: 11px; line-height: 1.6; }

@media (max-width: 1000px) {
    .jg-hero-grid { grid-template-columns: 46% 54%; gap: 32px; }
    .jg-device-host { left: -18px; }
    .jg-device-remote { right: 25px; }
    .jg-about-grid { grid-template-columns: 72px 1fr 1.2fr; gap: 32px; }
    .jg-use-grid { grid-template-columns: 210px 1fr; }
    .jg-service { grid-column: 1 / -1; min-height: 260px; }
}

@media (max-width: 760px) {
    .jg-hero { padding: calc(var(--nav-h-sm) + 48px) 0 70px; }
    .jg-hero-grid { grid-template-columns: 1fr; }
    .jg-hero-visual { min-height: 450px; margin-top: 28px; }
    .jg-device-host { top: 48px; left: 18px; width: 58%; }
    .jg-device-remote { right: 18px; width: 46%; }
    .jg-about-grid { grid-template-columns: 1fr; gap: 26px; }
    .jg-section-mark { min-height: 0; flex-direction: row; align-items: end; justify-content: space-between; padding-bottom: 16px; border: 0; border-bottom: 1px solid var(--jg-line); }
    .jg-section-mark small { margin: 0; writing-mode: initial; }
    .jg-about-copy { padding-top: 0; }
    .jg-section-head { grid-template-columns: 1fr; gap: 24px; }
    .jg-product-card,
    .jg-product-card--host,
    .jg-product-card--dark { grid-column: 1 / -1; }
    .jg-use-grid { grid-template-columns: 1fr; gap: 34px; }
    .jg-service { grid-column: auto; }
    .jg-system-strip-grid { grid-template-columns: 1fr; padding: 14px 0; }
    .jg-system-strip-grid > div { min-height: 76px; border: 0; border-top: 1px solid rgba(255,255,255,.14); }
    .jg-system-strip-grid > div:last-child { border-right: 0; }
    .jg-system-strip-title { min-height: 80px; }
    .jg-process { grid-column: auto; grid-template-columns: 1fr; }
    .jg-process > div { min-height: 105px; }
    .jg-process > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--jg-line); }
}

@media (max-width: 520px) {
    .jg-hero h1 { font-size: 36px; }
    .jg-actions { grid-template-columns: 1fr; gap: 14px; }
    .jg-hero-visual { min-height: 395px; }
    .jg-device-host { width: 66%; }
    .jg-device-host img { height: 125px; }
    .jg-device-remote { width: 54%; }
    .jg-device-remote img { height: 205px; }
    .jg-product-card { grid-template-columns: 1fr; }
    .jg-product-copy { min-height: 210px; border: 0; border-top: 1px solid #e0e3df; }
    .jg-use-list > div { grid-template-columns: 34px 1fr; padding: 18px 0; }
    .jg-use-list p { grid-column: 2; }
}
