/* 良澄工程 前台樣式 */
:root {
  --navy: #0b2a4a;
  --navy-2: #12385f;
  --blue: #1668c7;
  --blue-soft: #e8f1fb;
  --sky: #4fb3e8;
  --accent: #f08a24;
  --accent-2: #e0731a;
  --ink: #1b2533;
  --muted: #5d6b7c;
  --line: #e3e8ef;
  --bg: #ffffff;
  --tint: #f4f7fb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 42, 74, .06), 0 8px 24px rgba(11, 42, 74, .08);
  --shadow-lg: 0 20px 50px rgba(11, 42, 74, .18);
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --c-heat-pump: #0f8a6a;
  --c-gas: #d9541e;
  --c-storage-electric: #1668c7;
  --c-instant-electric: #7a4fd1;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 16px; letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; color: var(--navy); letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 36px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.4em; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; line-height: 1.3; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5em 1em; font-size: 14px; }
.btn-lg { padding: .95em 1.7em; font-size: 16px; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(240, 138, 36, .35); }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn small { display: block; font-weight: 500; font-size: 13px; opacity: .9; }
.btn span { text-align: left; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11,42,74,.08); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 116px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand { gap: 14px; }
/* Logo 不限比例：固定高度、寬度自動 */
.brand img { height: 100px; width: auto; max-width: 220px; object-fit: contain; border-radius: 12px; }
.site-footer .brand img { height: 56px; max-width: 140px; background: #fff; padding: 4px; border-radius: 10px; }
.brand strong { display: block; font-size: 24px; letter-spacing: .08em; line-height: 1.2; }
.brand small { display: block; font-size: 14px; color: var(--muted); letter-spacing: .06em; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light small { color: rgba(255,255,255,.7); }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.site-nav ul a:hover { background: var(--tint); color: var(--blue); }
.site-nav ul a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--tint); border-radius: 10px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% 10%, rgba(79,179,232,.35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #17508a 100%); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 120px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: .04em; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(90deg, #ffb35c, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 17px; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255,255,255,.85); font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .ic { color: #7fd3a8; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.eyebrow.light { color: #ffd2a3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 6px 14px; border-radius: 999px; letter-spacing: .08em; }
.hero-visual { position: relative; height: 440px; }
.hv-ring { position: absolute; inset: 20px 30px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), rgba(255,255,255,.02) 65%); border: 1px solid rgba(255,255,255,.15); }
.hv-card { position: absolute; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px; }
.hv-card img { width: 100%; height: 100%; object-fit: contain; }
.hv-0 { width: 230px; height: 300px; left: 50%; top: 40px; transform: translateX(-50%); z-index: 2; }
.hv-1 { width: 150px; height: 190px; left: 0; top: 160px; transform: rotate(-6deg); }
.hv-2 { width: 150px; height: 190px; right: 0; top: 120px; transform: rotate(6deg); }
.hv-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow-lg); font-size: 13px; }
.hv-badge .ic { width: 28px; height: 28px; color: var(--accent); }
.hv-badge strong { display: block; font-size: 17px; }
.hv-b1 { left: 10px; bottom: 30px; }
.hv-b2 { right: 10px; top: 10px; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; fill: #fff; }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -70px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; }
.stat { text-align: center; padding: 22px 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(30px, 4vw, 44px); color: var(--navy); font-weight: 800; line-height: 1.1; }
.stat strong span { font-size: .5em; color: var(--accent); margin-left: 2px; }
.stat > span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 88px 0; }
.section.pt0 { padding-top: 24px; }
.section-tint { background: var(--tint); }
.section-dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.sec-head p:not(.eyebrow) { color: var(--muted); }
.sec-head.light h2 { color: #fff; }
.sec-head.light p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.sec-head.left { text-align: left; margin: 0; }
.h-line { font-size: 22px; padding-left: 14px; border-left: 4px solid var(--accent); margin-bottom: 20px; }

/* Service cards */
.s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.s-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.s-card h3 { font-size: 19px; margin-top: 18px; }
.s-card p { color: var(--muted); font-size: 15px; flex: 1; }
.s-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-soft), #d7e8fb); color: var(--blue); }
.s-ic .ic { width: 28px; height: 28px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: 14px; }
.s-card:hover .more .ic, .p-card:hover .more .ic { transform: translateX(4px); }
.more .ic { transition: transform .2s; }

.s-feature { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 6px 22px; align-items: center; background: linear-gradient(120deg, #fff6ec, #fff); border-color: #f6d3ad; }
.s-feature h3 { margin: 0; grid-column: 2; }
.s-feature p { margin: 0; grid-column: 2; }
.s-feature .s-ic { grid-row: 1 / span 2; background: linear-gradient(135deg, #fdebd9, #fbd9b5); color: var(--accent); }
.s-feature .more { grid-row: 1 / span 2; grid-column: 3; color: var(--accent-2); }
@media (max-width: 640px) { .s-feature { grid-template-columns: auto 1fr; } .s-feature .more { grid-column: 2; grid-row: auto; } }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 36px; }
.cat-tile { --c: var(--blue); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile strong { font-size: 18px; color: var(--c); }
.cat-tile span { font-size: 14px; color: var(--muted); flex: 1; }
.cat-tile em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--c); display: inline-flex; align-items: center; gap: 4px; }
.cat-heat-pump { --c: var(--c-heat-pump); }
.cat-gas { --c: var(--c-gas); }
.cat-storage-electric { --c: var(--c-storage-electric); }
.cat-instant-electric { --c: var(--c-instant-electric); }

/* Product cards */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-img { display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fff, #f2f5f9); padding: 18px; }
.p-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-body h3 { font-size: 16px; margin: 4px 0 0; line-height: 1.5; }
.p-body h3 a { color: var(--ink); }
.p-body h3 a:hover { color: var(--blue); }
.p-tags { font-size: 13px; color: var(--muted); margin: 0; flex: 1; }
.tag { --c: var(--blue); align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 3px 10px; border-radius: 999px; }
.tag-heat-pump { --c: var(--c-heat-pump); }
.tag-gas { --c: var(--c-gas); }
.tag-storage-electric { --c: var(--c-storage-electric); }
.tag-instant-electric { --c: var(--c-instant-electric); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #b6c2d1; }
.noimg .ic { width: 48px; height: 48px; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.why-copy h2 { font-size: clamp(26px, 3.4vw, 36px); }
.why-copy p { color: var(--muted); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { background: var(--tint); border-radius: var(--radius); padding: 24px; }
.why-item > .ic { width: 34px; height: 34px; color: var(--accent); margin-bottom: 10px; }
.why-item h3 { font-size: 17px; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; }
.steps h3 { color: #fff; font-size: 18px; }
.steps p { color: rgba(255,255,255,.75); font-size: 15px; margin: 0; }
.step-n { display: block; font-size: 42px; font-weight: 800; line-height: 1; margin-bottom: 14px; background: linear-gradient(90deg, #ffb35c, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Cases */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.c-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.c-img { display: block; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.c-card:hover .c-img img { transform: scale(1.05); }
.c-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.c-split span { position: relative; display: block; min-width: 0; overflow: hidden; }
.c-split em { position: absolute; left: 8px; bottom: 8px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700; color: #fff; background: rgba(15,30,50,.72); }
.c-split em.after { background: var(--accent); }
.c-body { padding: 18px 20px 22px; }
.c-meta { font-size: 13px; color: var(--accent); font-weight: 700; margin: 0 0 4px; }
.c-body h3 { font-size: 18px; }
.c-body h3 a { color: var(--ink); }
.c-body p:last-child { color: var(--muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 6px; }
.case-photos.n2 { grid-template-columns: 1fr 1fr; }
.case-photos.n4 { grid-template-columns: repeat(2, 1fr); }
.case-photos figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; background: var(--tint); }
.case-photos a { display: block; height: 100%; cursor: zoom-in; }
.case-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.case-photos a:hover img { transform: scale(1.04); }
.photo-tip { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; margin-bottom: 48px; }
.ba.solo { grid-template-columns: 1fr; }
.ba-group { min-width: 0; }
.ba-label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; color: var(--ink); }
.ba-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.is-after .ba-label::before { background: var(--accent); }
.is-after .ba-label { color: var(--accent); }
.ba-label small { font-size: 13px; font-weight: 500; color: var(--muted); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-grid figure { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); }
.ba-grid.one { grid-template-columns: 1fr; }
.ba-grid.one figure { aspect-ratio: 1 / 1; }
.ba.mixed .ba-grid.one figure { aspect-ratio: 8 / 5; }
.ba-grid a { display: block; height: 100%; cursor: zoom-in; }
.ba-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ba-grid a:hover img { transform: scale(1.04); }
.is-after .ba-grid figure { box-shadow: 0 0 0 2px var(--accent); }
.ba.solo .ba-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ba.solo .ba-grid.one { grid-template-columns: minmax(0, 520px); }
.ba-arrow { position: absolute; left: 50%; top: calc(50% - 8px); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 5px #fff, var(--shadow); }
.ba-tip { grid-column: 1 / -1; margin: 0; }
.case-sub { font-size: 20px; margin: 0 0 14px; }
@media (max-width: 560px) { .case-photos, .case-photos.n4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .ba { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .ba-arrow { position: static; justify-self: center; margin: 0; transform: rotate(90deg); box-shadow: var(--shadow); }
}
/* 照片放大 */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(5,15,28,.92); padding: 20px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 14px; }

/* 產品介紹：行銷式排版 */
.desc > h3 { text-align: center; font-size: clamp(21px, 2.6vw, 26px); margin: 56px 0 6px; color: var(--navy); }
.desc > h3:first-child { margin-top: 0; text-align: left; }
.desc .d-sub { text-align: center; font-size: 16px; font-weight: 700; color: var(--accent-2); margin: 0 0 14px; letter-spacing: .04em; }
.desc .d-slogan { text-align: center; color: #4b5a6b; line-height: 1.9; margin: 8px auto 18px; max-width: 640px; }
.desc > ul { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px 18px 40px; }
.desc > ul li { margin-bottom: 6px; }
.desc .d-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0 24px; }
.desc .d-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; text-align: center; }
.desc .d-stats strong { display: block; font-size: 20px; color: var(--accent-2); line-height: 1.3; }
.desc .d-stats span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.desc .d-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 22px; }
.desc .d-chips span { background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.desc > p:not([class]) { color: #3a4757; }

/* 產品介紹內的圖片 */
.privacy { max-width: 780px; }
.privacy-date { color: var(--muted); font-size: 14px; }
.prose .d-img { margin: 18px 0; }
.prose .d-img img { width: 100%; height: auto; border-radius: 12px; background: #fff; }
.prose .d-img + .d-img { margin-top: -6px; }
.prose .d-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.prose .d-icons.n1 { grid-template-columns: minmax(0, 320px); }
.prose .d-icons.n2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.prose .d-icons.n3 { grid-template-columns: repeat(3, 1fr); }
.prose .d-icons figure { margin: 0; }
.prose .d-icons img { width: 100%; height: auto; border-radius: 10px; background: #fff; }
.prose .d-icons figcaption { text-align: center; font-size: 14px; font-weight: 700; color: var(--navy); margin-top: 6px; }
@media (max-width: 560px) { .prose .d-icons, .prose .d-icons.n3 { grid-template-columns: repeat(2, 1fr); } }

/* 工程案例：兩大分類 */
.case-chips { margin-bottom: 36px; }
.case-chips a { display: inline-flex; align-items: center; gap: 6px; }
.case-chips .ic { width: 1em; height: 1em; }
.case-group + .case-group { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.cg-head { margin-bottom: 24px; }
.cg-head h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 3vw, 28px); margin-bottom: 4px; }
.cg-head h2 .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #fdebd9; color: var(--accent); }
.case-group-plumbing .cg-head h2 .ic { background: var(--blue-soft); color: var(--blue); }
.cg-head h2 small { font-size: 14px; font-weight: 600; color: var(--muted); }
.cg-head p { color: var(--muted); margin: 0; }
.empty-state.small { padding: 28px; border: 1px dashed #c9d4e2; border-radius: var(--radius); max-width: none; }
.empty-state.small > .ic { width: 40px; height: 40px; }
.empty-state.small h3 { font-size: 18px; }
.c-badge { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; }

/* 案例頁：本案使用機型 */
.side-product .sp-link { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.side-product img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; flex: none; }
.side-product .sp-link span small { display: block; font-size: 12px; font-weight: 600; color: var(--blue); margin-top: 2px; }
.side-product .sp-link + .sp-link { padding-top: 10px; border-top: 1px solid var(--line); }
.svc-item { margin: 0 0 12px; }
.svc-item span { display: block; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }

.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.faq-col-title { display: flex; align-items: center; gap: 10px; font-size: 22px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 3px solid var(--blue); }
.faq-col-title .ic { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.faq-col-title small { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.faq-col-heater .faq-col-title { border-color: var(--accent); }
.faq-col-heater .faq-col-title .ic { background: #fdebd9; color: var(--accent); }
@media (max-width: 900px) { .faq-cols { grid-template-columns: 1fr; gap: 48px; } }

/* Google 評價 */
.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.rv-summary h2 { font-size: clamp(26px, 3.4vw, 36px); }
.rv-score { display: flex; align-items: center; gap: 16px; margin: 8px 0 16px; }
.rv-score > strong { font-size: 64px; line-height: 1; color: var(--navy); font-weight: 800; }
.rv-score span { display: block; color: var(--muted); font-size: 14px; }
.rv-summary > p:not(.eyebrow):not(.btn-row) { color: var(--muted); }
.stars { color: #fbbc04; letter-spacing: 2px; font-size: 20px; line-height: 1; }
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.rv-card { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.rv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rv-top .stars { font-size: 17px; }
.rv-g { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: 14px; color: #fff; background: conic-gradient(#ea4335 0 25%, #fbbc04 0 50%, #34a853 0 75%, #4285f4 0); }
.rv-card blockquote { margin: 0 0 16px; flex: 1; color: #354357; font-size: 15px; line-height: 1.8; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.rv-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 15px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; gap: 28px; } }

/* 展示中心 */
.showroom-sec { background: linear-gradient(135deg, #fff7ee 0%, #fff 60%); }
.showroom { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sr-copy h2 { font-size: clamp(26px, 3.4vw, 36px); }
.sr-copy > p:not(.eyebrow):not(.btn-row):not(.note):not(.map-addr) { color: var(--muted); }
.sr-copy .map-addr a { color: var(--navy); }
.sr-copy .btn-row { margin-top: 18px; }
.sr-visual { position: relative; min-height: 340px; }
.sr-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.sr-visual.n1 img { aspect-ratio: 4 / 3; }
.sr-visual.n2, .sr-visual.n3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sr-visual.n2 img, .sr-visual.n3 img { aspect-ratio: 3 / 4; }
.sr-visual.n3 img:first-child { grid-row: span 2; aspect-ratio: auto; }
.sr-visual.n3 img:not(:first-child) { aspect-ratio: 4 / 3; }
.sr-card { height: 100%; min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; border-radius: 24px; color: #fff; background: radial-gradient(500px 260px at 80% 0%, rgba(255,179,92,.35), transparent 60%), linear-gradient(135deg, var(--navy), #17508a); box-shadow: var(--shadow-lg); padding: 30px; }
.sr-card .sr-ic { width: 64px; height: 64px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.12); color: #ffb35c; }
.sr-card strong { font-size: 24px; letter-spacing: .06em; }
.sr-card span { color: rgba(255,255,255,.75); }
.sr-card em { font-style: normal; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; }
.contact-showroom { margin-top: 56px; padding: 36px; border-radius: 24px; background: linear-gradient(135deg, #fff7ee 0%, #fff 70%); border: 1px solid #f6d3ad; }
@media (max-width: 900px) { .showroom { grid-template-columns: 1fr; gap: 28px; } .sr-visual, .sr-card { min-height: 240px; } .contact-showroom { padding: 22px; } }

/* 地圖 */
.map-block { display: grid; grid-template-columns: 340px 1fr; gap: 36px; margin-top: 56px; align-items: start; }
.map-addr { display: flex; gap: 8px; font-size: 17px; font-weight: 700; color: var(--navy); }
.map-addr .ic { color: var(--accent); margin-top: 5px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--tint); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.f-addr { color: rgba(255,255,255,.85) !important; font-size: 14px !important; font-weight: 500 !important; }
@media (max-width: 900px) { .map-block { grid-template-columns: 1fr; gap: 20px; } .map-frame { aspect-ratio: 4 / 3; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, #f5a54a 100%); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .95; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--navy); box-shadow: none; }
.cta-band .btn-accent:hover { background: #061a30; }

/* Page head */
.page-head { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 36px 0 56px; }
.page-head.slim { background: var(--tint); color: var(--ink); padding: 20px 0 8px; }
.page-head h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.page-head .lead { color: rgba(255,255,255,.8); max-width: 760px; font-size: 17px; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 22px; font-size: 13px; color: rgba(255,255,255,.65); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: rgba(255,255,255,.85); }
.page-head.slim .crumbs ol { color: var(--muted); margin: 0; }
.page-head.slim .crumbs a { color: var(--blue); }

/* Detail layout */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 28px; color: var(--navy); }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 4px; }
.checks { list-style: none; padding: 0 !important; margin: 0 0 1em; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.checks .ic { color: #fff; background: var(--c-heat-pump); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 3px; }
.mini-steps { padding-left: 1.3em; }
.mini-steps li { margin-bottom: 8px; }
.mini-steps strong { display: block; color: var(--navy); }
.side { position: sticky; top: 136px; display: grid; gap: 20px; }
.side-card { background: var(--tint); border-radius: var(--radius); padding: 24px; }
.side-card h2 { font-size: 18px; }
.side-card p { color: var(--muted); font-size: 14px; margin: 0; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.side-links a:hover { color: var(--blue); }

/* Product detail */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: 136px; }
.g-main { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.g-main img { width: 100%; height: 100%; object-fit: contain; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.g-thumbs button { width: 76px; height: 76px; padding: 6px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.g-thumbs button[aria-current="true"] { border-color: var(--blue); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.p-info h1 { font-size: clamp(26px, 3.2vw, 34px); margin-top: 12px; }
.p-info .p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.p-info .p-tags span { background: var(--tint); border-radius: 6px; padding: 2px 10px; font-size: 13px; }
.p-summary { font-size: 16px; color: #3a4757; }
.p-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Filters */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--tint); color: var(--ink); font-weight: 600; font-size: 14px; border: 1px solid transparent; }
.chips a small { color: var(--muted); margin-left: 2px; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chips a[aria-current="page"] { background: var(--navy); color: #fff; }
.chips a[aria-current="page"] small { color: rgba(255,255,255,.7); }
.search input { width: 280px; max-width: 100%; padding: 10px 16px 10px 40px; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: 15px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b7c' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center / 18px; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.empty-state { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 0; }
.empty-state > .ic { width: 56px; height: 56px; color: var(--sky); margin: 0 auto 12px; }
.empty-state p { color: var(--muted); }

/* About & contact */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.stat-cards > div { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 22px; }
.stat-cards strong { display: block; font-size: 34px; line-height: 1.1; }
.stat-cards strong span { font-size: .55em; color: #ffb35c; }
.stat-cards > div > span { font-size: 14px; color: rgba(255,255,255,.75); }
.facts { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { background: var(--tint); padding: 12px 14px; font-weight: 700; color: var(--navy); font-size: 14px; }
.facts dd { margin: 0; padding: 12px 14px; font-size: 15px; }
.mini-facts { margin: 0 0 8px; }
.mini-facts > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-facts dt { color: var(--muted); }
.mini-facts dd { margin: 0; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card .s-ic { margin-bottom: 12px; }
.contact-card.alt .s-ic { background: #fdebd9; color: var(--accent); }
.contact-card .eyebrow { margin: 0; }
.contact-card strong { font-size: 30px; color: var(--navy); letter-spacing: .03em; }
.contact-card strong.sm { font-size: 17px; }
.contact-card em { font-style: normal; display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; color: var(--blue); font-weight: 700; font-size: 14px; }
.contact-card .mt, .eyebrow.mt { margin-top: 16px; }
.contact-more { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }

/* Footer */
.site-footer { background: #071c33; color: rgba(255,255,255,.72); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.f-about p { margin-top: 16px; }
.f-list, .f-links { list-style: none; padding: 0; margin: 0; }
.f-list li { display: flex; gap: 10px; margin-bottom: 12px; }
.f-list .ic { color: var(--accent); margin-top: 5px; }
.f-list a { color: #fff; font-weight: 700; font-size: 17px; }
.f-links li { margin-bottom: 8px; }
.f-links a { color: rgba(255,255,255,.72); }
.f-links a:hover, .social a:hover { color: #fff; }
.social { display: flex; gap: 14px; }
.social a { color: rgba(255,255,255,.72); font-weight: 600; }
.f-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 24px; font-size: 13px; }
.f-bottom a { color: rgba(255,255,255,.72); }


/* 精選標籤（一級能效等） */
.p-img { position: relative; }
.badge-hl { position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #0f8a6a, #22b07d); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(15,138,106,.3); }
.badge-hl.inline { position: static; box-shadow: none; }
.badge-hl.inline:hover { color: #fff; opacity: .9; }
.badge-hl .ic { width: 1em; height: 1em; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.chips a.chip-hl { display: inline-flex; align-items: center; gap: 4px; background: #e2f4ee; color: #0f8a6a; }
.chips a.chip-hl .ic { width: 1em; height: 1em; }
.chips a.chip-hl[aria-current="page"] { background: #0f8a6a; color: #fff; }
.chips a.chip-hl[aria-current="page"] small { color: rgba(255,255,255,.75); }
.tag-accessories { --c: #6b7280; }
.cat-accessories { --c: #6b7280; }

/* LINE */
.btn-line { white-space: nowrap; }
.btn-line { background: #06c755; color: #fff; border-color: #06c755; }
.btn-line:hover { background: #05a847; border-color: #05a847; color: #fff; }
.btn-line .ic { width: 1.25em; height: 1.25em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
/* 區塊底部置中的按鈕列：與上方內容保持距離 */
.btn-row.center { margin-top: 40px; }
.center-row { justify-content: center; }
.cta-person { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.cta-line { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(6,199,85,.9); border-radius: 999px; padding: 6px 14px; }
.cta-line:hover { background: #05a847; color: #fff; }
.f-line { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; margin-top: 2px; }
.f-line .ic { color: #06c755; margin: 0; }
.f-list .f-line a { font-size: 14px; }
.contact-card .big-tel { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: .03em; }
.contact-card .big-tel:hover { color: var(--blue); }
.line-box { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); width: 100%; }
.line-box img { width: 120px; height: 120px; flex: none; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; }
.line-box p { margin: 0; font-size: 13px; color: var(--muted); }
.line-box strong { display: block; font-size: 15px; color: var(--navy); margin: 2px 0 10px; word-break: break-all; }
.side-card .btn-line { margin-top: 10px; }

/* 產品列表：選購協助橫幅 */
.help-banner { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; padding: 18px 22px; border-radius: var(--radius); background: linear-gradient(120deg, #fff4e6, #fffaf3); border: 1px solid #f6d3ad; }
.hb-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--accent); color: #fff; }
.hb-ic .ic { width: 26px; height: 26px; }
.hb-text { flex: 1; min-width: 0; }
.hb-text strong { display: block; font-size: 18px; color: var(--navy); }
.hb-text p { margin: 2px 0 0; color: #5b4632; font-size: 15px; }
.help-banner .btn { flex: none; }
@media (max-width: 700px) {
  .help-banner { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .hb-ic { width: 40px; height: 40px; }
  .hb-text { flex-basis: calc(100% - 52px); }
  .help-banner .btn { width: 100%; }
}
.cf-person.flash { animation: cf-flash 1.4s ease-out; }
@keyframes cf-flash { 0%, 40% { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240,138,36,.25); } 100% { border-color: var(--line); box-shadow: none; } }
.contact-card:target { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240,138,36,.2); }

/* 右下角浮動聯絡按鈕 */
.contact-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cf-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 13px 20px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(135deg, #06c755, #04a447); box-shadow: 0 10px 26px rgba(4,164,71,.4); transition: transform .15s; }
.cf-btn:hover { transform: translateY(-2px); }
.cf-btn .ic { width: 22px; height: 22px; }
.cf-btn[aria-expanded="true"] { background: var(--navy); box-shadow: 0 10px 26px rgba(11,42,74,.35); }
.cf-panel { width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow-y: auto; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(11,42,74,.28); padding: 16px; animation: cf-in .18s ease-out; }
@keyframes cf-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.cf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 2px 4px 12px; }
.cf-head strong { display: block; font-size: 17px; color: var(--navy); }
.cf-head span { font-size: 12px; color: var(--muted); }
.cf-close { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: var(--tint); font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); }
.cf-person { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.cf-who { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.cf-who strong { display: block; color: var(--navy); font-size: 15px; }
.cf-who span { font-size: 13px; color: var(--muted); }
.cf-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.cf-person.alt .cf-ic { background: #fdebd9; color: var(--accent); }
.cf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf-actions .btn { padding: .6em .5em; box-shadow: none; }
.cf-qr { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.cf-qr img { width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.cf-map { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 8px; font-size: 13px; font-weight: 700; }
@media (max-width: 900px) {
  .contact-fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .cf-btn { padding: 11px 16px; font-size: 14px; }
  .cf-qr { display: none; }
}

@media (max-width: 1080px) {
  .site-nav ul a { padding: 8px 8px; font-size: 14px; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 116px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; box-shadow: 0 20px 40px rgba(11,42,74,.15); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; max-height: calc(100vh - 116px); overflow-y: auto; }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { display: inline-flex; margin-top: 12px; }
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 100px; }
  .hero-visual { height: 320px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hv-0 { width: 180px; height: 230px; top: 30px; }
  .hv-1, .hv-2 { width: 120px; height: 150px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why, .faq-wrap, .detail-grid, .product, .about-grid, .contact-more { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .side, .gallery { position: static; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header-in { height: 96px; }
  .brand img { height: 80px; max-width: 160px; }
  .brand strong { font-size: 21px; }
  .site-nav { inset: 96px 0 auto 0; max-height: calc(100vh - 96px); }
  .brand small { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: 260px; }
  .hv-0 { width: 150px; height: 190px; }
  .hv-1, .hv-2 { width: 96px; height: 124px; top: 110px; }
  .hv-badge { padding: 8px 12px; }
  .hv-badge strong { font-size: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid, .steps { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-img { padding: 10px; }
  .p-body { padding: 12px; }
  .p-body h3 { font-size: 14px; }
  .p-tags { display: none; }
  .p-body .more { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .search, .search input { width: 100%; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .facts > div { grid-template-columns: 90px 1fr; }
  .f-bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* 手機版：聯絡卡的 LINE 區塊 */
@media (max-width: 560px) {
  .hero-in { padding-top: 36px; }
  .line-box { gap: 12px; }
  .line-box img { width: 100px; height: 100px; }
  .line-box > div { min-width: 0; }
  .line-box .btn-line { font-size: 13px; padding: .55em .9em; }
}

