/* =========================================================
   淨界工藝 內頁統一風格（2026-11-08）
   載入順序：style.css → 各頁 css → theme.css（本檔，最後載入）
   配色：品牌藍 #0789c8／深藍 #052d46／暖白 #fffaf0／黃 #ffcf33
   ========================================================= */
:root {
  --warm: #fffaf0;
  --warm-line: #efe5cf;
  --yellow: #ffcf33;
  --yellow-soft: #fff4cc;
  --line-green: #06c755;
  --warm-shadow: 0 14px 40px rgba(120, 90, 20, .07);
}

/* ---------- 字體：標題用粉圓，內文思源黑體 ---------- */
.site { letter-spacing: .03em; }
.site h1, .site h2, .site h3,
.site .ctaPhones strong, .site .contactList strong {
  font-family: "Huninn", "Noto Sans TC", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: .02em;
}
.site h1 { -webkit-text-stroke: 1.2px currentColor; }
.site h2 { -webkit-text-stroke: .7px currentColor; }
.site h3 { -webkit-text-stroke: .35px currentColor; }
.site p, .site li { line-height: 1.85; }
.site .btn, .site button { letter-spacing: .04em; }

/* ---------- 內頁橫幅：中性深色漸層，不再偏藍 ---------- */
.site .inBannerShade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.42) 50%, rgba(0,0,0,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.28));
}
.site .inBannerEn { color: var(--yellow); letter-spacing: .14em; }
.site .inBanner h1::after {
  content: ""; display: block; width: 52px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--yellow);
}
.site .inBreadcrumb a:hover { color: var(--yellow); }
@media (max-width: 767px) {
  .site .inBannerShade { background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.66)); }
}

/* ---------- 共用：小標籤、標題黃線 ---------- */
.site .szAboutKicker, .site .inServiceKicker, .site .servicePageIntroEn, .site .caseKicker,
.site .blogKicker, .site .faqEn, .site .contactEn { letter-spacing: .14em; }

.site .szAboutTitleGroup h2::after, .site .szAboutIntroText h2::after, .site .szAboutReasonsText h2::after,
.site .inServiceTitleCenter h2::after, .site .inServiceLeadText h2::after, .site .inServiceDetailText h2::after,
.site .servicePageIntro h2::after, .site .contactLeft h2::after, .site .formHead h2::after,
.site .faqIntroText h2::after, .site .blogIntro h2::after {
  content: ""; display: block; width: 46px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--yellow);
}
.site .szAboutTitleGroup h2::after, .site .inServiceTitleCenter h2::after { margin-left: auto; margin-right: auto; }

/* ---------- 關於我們 ---------- */
.site .szAboutValuesBlock { background: var(--warm); }
.site .szAboutValueCard { border-color: var(--warm-line); box-shadow: var(--warm-shadow); }
.site .szAboutValueCard > span { color: #f6eedb; }
.site .szAboutValueIcon { background: var(--yellow-soft); color: #c98a00; }
.site .szAboutIntroStats div { background: var(--warm); border-color: var(--warm-line); }
.site .szAboutCertBlock {
  background:
    radial-gradient(circle at 88% 12%, rgba(17,168,236,.22), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(255,207,51,.10), transparent 30%),
    #052d46;
}
.site .szAboutCertBlock .szAboutKicker { color: var(--yellow); }
.site .szAboutCertInfo article > span { background: var(--yellow); color: #3a2a00; }
.site .szAboutAreaBlock { background: var(--warm); }
.site .szAboutAreaGrid article { background: #fff; border-color: var(--warm-line); }
.site .szAboutAreaGrid article:after { background: rgba(255,207,51,.12); }
.site .szAboutReasonsCaption span { color: var(--yellow); }

/* ---------- 服務項目列表 ---------- */
.site .serviceListSection { background: var(--warm); }
.site .serviceListItem { border-color: var(--warm-line); box-shadow: var(--warm-shadow); border-radius: 20px; overflow: hidden; }
.site .serviceListContent::after { color: #f6eedb; }
.site .serviceListPoints li::before { color: #c98a00; }
.site .serviceListButton { border-radius: 999px; }

/* ---------- 單一服務頁 ---------- */
.site .inServiceLeadTags span { background: var(--warm); border-color: var(--warm-line); }
.site .inServiceLeadBadge { background: var(--yellow); color: #3a2a00; }
.site .inServicePrimaryBtn { border-radius: 999px; }
.site .inServiceScope { background: var(--warm); }
.site .inServiceScopeGrid article { border-color: var(--warm-line); box-shadow: var(--warm-shadow); border-radius: 18px; }
.site .inServiceScopeIcon { background: var(--yellow-soft); color: #c98a00; }
.site .inServiceDetailCaption span { color: var(--yellow); }
.site .inServiceReasons {
  background:
    radial-gradient(circle at 88% 12%, rgba(17,168,236,.22), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(255,207,51,.10), transparent 30%),
    #052d46;
}
.site .inServiceTitleLight .inServiceKicker, .site .inServiceReasonGrid article > span { color: var(--yellow); }
.site .inServiceReasonGrid article:hover { border-color: rgba(255,207,51,.55); }
.site .inServiceFlow { background: var(--warm); }
.site .inServiceFlowGrid article { border: 1px solid var(--warm-line); box-shadow: var(--warm-shadow); border-radius: 18px; }
.site .inServiceGalleryGrid a { background: #ece4d3; border-radius: 12px; overflow: hidden; }

/* ---------- 實績案例 ---------- */
.site .casePage, .site .inCasePage { background: var(--warm); }
.site .caseTabs button { border-color: var(--warm-line); border-radius: 999px; }
.site .caseCard, .site .caseItem { border-radius: 18px; }
.site .backCase a { border-radius: 999px; }

/* ---------- 文章 ---------- */
.site .blogPage, .site .inBlogPage { background: var(--warm); }
.site .blogCard { border: 1px solid var(--warm-line); box-shadow: var(--warm-shadow); border-radius: 18px; overflow: hidden; }
.site .editor h2::before { background: var(--yellow); }
.site .backBtn { border-radius: 999px; }

/* ---------- 常見問題 ---------- */
.site .faqPage { background: var(--warm); }
.site .faqItem { border: 1px solid var(--warm-line); box-shadow: var(--warm-shadow); border-radius: 16px; overflow: hidden; }
.site .faqQuestion span { color: #ecdfc0; }
.site .faqItem.active { border-color: var(--yellow); }

/* ---------- 聯絡我們 ---------- */
.site .contactPage { background: var(--warm); }
.site .contactCard { border: 1px solid var(--warm-line); box-shadow: var(--warm-shadow); border-radius: 18px; }
.site .formBox { border: 1px solid var(--warm-line); box-shadow: var(--warm-shadow); border-radius: 20px; }
.site .columnInput, .site .columnSelect, .site .columnTextarea { border-color: #e6dcc5; border-radius: 10px; }

/* ---------- 內頁底部聯絡區（與首頁一致） ---------- */
.site .ctaPromise { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 20px 0 6px !important; }
.site .ctaPromise b { padding: 6px 16px; border-radius: 999px; background: var(--yellow); color: #3a2a00; font-size: 15px; }
.site .ctaBtns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.site .btnWhite { color: var(--blue); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.site .btnLine { color: #fff; background: var(--line-green); box-shadow: 0 12px 30px rgba(6,199,85,.28); }
@media (max-width: 767px) {
  .site .ctaBtns { display: grid; }
  .site .ctaBtns .btn { width: 100%; }
}
.site .formHead h2::after, .site .faqIntroText h2::after { margin-left: auto; margin-right: auto; }
.site .contactLeft h2::after { margin-left: 0; }

/* ---------- LINE 表單：電腦版提示視窗 ---------- */
#lineModal { position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center; padding: 16px; background: rgba(3, 20, 32, .6); }
.lineModalBox { position: relative; width: min(420px, 100%); max-height: 90vh; overflow: auto; padding: 32px 28px 26px; border-radius: 20px; background: #fff; text-align: center; color: #152b39; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.lineModalBox h3 { margin: 0 0 10px; font-size: 21px; font-family: "Huninn", "Noto Sans TC", sans-serif; font-weight: 400; -webkit-text-stroke: .35px currentColor; }
.lineModalBox p { margin: 0 0 14px; color: #50626d; font-size: 14px; line-height: 1.8; }
.lineModalBox img { display: block; margin: 0 auto 14px; border: 1px solid #efe5cf; border-radius: 12px; }
.lineModalText { margin: 0 0 14px; padding: 12px 14px; max-height: 140px; overflow: auto; border-radius: 10px; background: #fffaf0; border: 1px solid #efe5cf; text-align: left; white-space: pre-wrap; font: 13px/1.7 "Noto Sans TC", sans-serif; color: #405762; }
.lineModalAlt a { color: #0789c8; font-weight: 700; }
.lineModalClose { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3efe6; color: #405762; font-size: 22px; line-height: 1; cursor: pointer; }
.formNote.lineNote, .lineNote { color: #50626d; font-size: 13px; line-height: 1.7; }
.lineNote b { color: #06a046; }
