/* ============================================================
   TMCIC 冠頡科技 — 全站樣式
   調色盤：Oxford Blue / Alabaster / Off-White / Baby Blue /
           Cadet Grey / Xanthous
   ============================================================ */
:root {
    --oxford:      #142135;  /* Oxford Blue  — 主色（深） */
    --oxford-2:    #1E2E45;  /* 漸層用的提亮 Oxford */
    --alabaster:   #EDE7DF;  /* Alabaster    — 淺色區塊底 */
    --offwhite:    #FFFEF8;  /* Off-White    — 頁面底 */
    --baby-blue:   #D7E4F9;  /* Baby Blue    — 次要（淺藍） */
    --cadet:       #A7AEB7;  /* Cadet Grey   — 次要（灰） */
    --xanthous:    #FFC466;  /* Xanthous     — 強調（暖黃） */
    --xanthous-d:  #F2AE47;  /* Xanthous hover */

    --ink:         #142135;  /* 內文主色 */
    --muted:       #5C6472;  /* 次要文字 */
    --line:        #E4DDD1;  /* 淺底邊框 */
    --blue-2:      #3C5980;  /* 次要藍：小標、邊框、focus */
    --accent-ink:  #B0741C;  /* 淺底上可讀的暖色（圖示等） */
    --on-dark:     #D7DBE1;  /* 深底上的內文 */
    --success:     #1E9E6B;
    --globe: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M11.99%202C6.47%202%202%206.48%202%2012s4.47%2010%209.99%2010C17.52%2022%2022%2017.52%2022%2012S17.52%202%2011.99%202zm6.93%206h-2.95a15.65%2015.65%200%200%200-1.38-3.56A8.03%208.03%200%200%201%2018.92%208zM12%204.04c.83%201.2%201.48%202.53%201.91%203.96h-3.82c.43-1.43%201.08-2.76%201.91-3.96zM4.26%2014C4.1%2013.36%204%2012.69%204%2012s.1-1.36.26-2h3.38c-.08.66-.14%201.32-.14%202%200%20.68.06%201.34.14%202H4.26zm.82%202h2.95c.32%201.25.78%202.45%201.38%203.56A7.99%207.99%200%200%201%205.08%2016zm2.95-8H5.08a7.99%207.99%200%200%201%204.33-3.56A15.65%2015.65%200%200%200%208.03%208zM12%2019.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43%201.43-1.08%202.76-1.91%203.96zM14.34%2014H9.66c-.09-.66-.16-1.32-.16-2%200-.68.07-1.35.16-2h4.68c.09.65.16%201.32.16%202%200%20.68-.07%201.34-.16%202zm.25%205.56c.6-1.11%201.06-2.31%201.38-3.56h2.95a8.03%208.03%200%200%201-4.33%203.56zM16.36%2014c.08-.66.14-1.32.14-2%200-.68-.06-1.34-.14-2h3.38c.16.64.26%201.31.26%202s-.1%201.36-.26%202h-3.38z'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 首頁服務卡片跳轉解決方案頁對應區塊時，留出 sticky 導覽列的高度 */
#hardware, #integration, #cloud, #recording, #security, #outsourcing { scroll-margin-top: 96px; }
/* 解決方案頁「實施流程」6 步驟：固定三欄，兩排 1-2-3 / 4-5-6 對稱排列 */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; text-align: center; }
@media (max-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
body { font-family: 'Noto Sans TC', sans-serif; line-height: 1.6; color: var(--ink); background-color: var(--offwhite); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

/* NAVBAR */
.navbar { background-color: var(--offwhite); padding: 0.75rem 2rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(20,33,53,0.07); border-bottom: 1px solid var(--line); }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.logo-link { display: block; line-height: 0; }
.logo-img { height: 46px; width: auto; display: block; }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { color: var(--muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s, box-shadow 0.2s; padding-bottom: 2px; }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.active { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--xanthous); }
.menu-toggle { display: none; background: none; border: none; color: var(--oxford); font-size: 1.5rem; cursor: pointer; line-height: 1; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.875rem 2rem; border-radius: 0.25rem; text-decoration: none; font-weight: 700; font-family: 'Noto Sans TC', sans-serif; font-size: 1rem; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary { background-color: var(--xanthous); color: var(--oxford); }
.btn-primary:hover { background-color: var(--xanthous-d); transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background-color: #fff; color: var(--oxford); }

/* HERO */
.hero { background-size: cover; background-position: center; color: #fff; padding: 8rem 2rem; text-align: center; min-height: 700px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: rgba(20, 33, 53, 0.62); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-label { color: var(--xanthous); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.02em; }
.hero-content h1 { font-size: clamp(1.9rem, 6vw, 3.5rem); font-weight: 900; margin-bottom: 1.5rem; line-height: 1.2; }
.hero-content p { font-size: clamp(1rem, 2.4vw, 1.125rem); margin-bottom: 2rem; color: var(--on-dark); }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-buttons .btn { width: auto; }
.hero-features { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; color: var(--xanthous); font-size: 0.875rem; font-weight: 600; }
.feature-item { display: flex; align-items: center; gap: 0.5rem; }

/* STATS */
.stats { background-color: var(--alabaster); padding: 4rem 2rem; }
.stats-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-item .stat-number { font-size: clamp(2rem, 5vw, 2.5rem); color: var(--oxford); margin-bottom: 0.5rem; font-weight: 900; }
.stat-item .stat-label { color: var(--muted); font-size: 1rem; }

/* SECTION TITLES */
.section-title { font-size: clamp(1.6rem, 4.5vw, 2.5rem); font-weight: 900; margin-bottom: 1rem; text-align: center; }
.section-subtitle { text-align: center; color: var(--muted); margin-bottom: 3rem; font-size: clamp(1rem, 2.4vw, 1.125rem); }

/* SERVICES */
.services-overview { padding: 4rem 2rem; position: relative; overflow: hidden; }
.services-overview::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: url("svc-bg-left.png") left center / contain no-repeat; opacity: 0.13; pointer-events: none; z-index: 0; }
.services-overview::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 40%; background: url("svc-bg-right.png") right center / contain no-repeat; opacity: 0.13; pointer-events: none; z-index: 0; }
@supports (background-image: image-set(url("i.webp") type("image/webp"))) {
    .services-overview::before { background-image: image-set(url("svc-bg-left.webp") type("image/webp"), url("svc-bg-left.png") type("image/png")); }
    .services-overview::after { background-image: image-set(url("svc-bg-right.webp") type("image/webp"), url("svc-bg-right.png") type("image/png")); }
}
.services-overview > .container { position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.service-card { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 0.375rem; padding: 2rem; transition: all 0.2s; border-left: 3px solid var(--cadet); }
.service-card:hover { box-shadow: 0 10px 30px rgba(20, 33, 53, 0.12); transform: translateY(-4px); border-left-color: var(--xanthous); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--oxford); }
.service-card p { color: var(--muted); line-height: 1.7; }

/* SOLUTIONS */
.solutions-preview { background-color: var(--oxford); color: #fff; padding: 4rem 2rem; }
.solutions-preview .section-title { color: #fff; }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.solution-item { background-color: rgba(255, 255, 255, 0.06); padding: 2rem; border-radius: 0.375rem; border: 1px solid rgba(255, 255, 255, 0.12); transition: all 0.2s; }
.solution-item:hover { background-color: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.solution-item h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--xanthous); }
.solution-item p { color: var(--on-dark); line-height: 1.7; }

/* VALUES */
.values { padding: 4rem 2rem; background-color: var(--alabaster); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.value-item { text-align: center; }
.value-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--blue-2); }
.value-item p { color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--oxford-2) 0%, var(--oxford) 100%); color: #fff; padding: 4rem 2rem; text-align: center; }
.cta h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 1rem; }
.cta p { font-size: clamp(1rem, 2.4vw, 1.125rem); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* FOOTER */
.footer { background-color: var(--oxford); color: var(--on-dark); padding: 3rem 2rem; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; text-align: left; margin-bottom: 2rem; }
.footer-section h4 { color: var(--xanthous); margin-bottom: 1rem; }
.footer-logo { height: 64px; width: auto; margin-bottom: 1rem; display: block; }
.footer-section ul { list-style: none; }
.footer-section a { color: var(--on-dark); text-decoration: none; transition: color 0.2s; }
.footer-section a:hover { color: var(--xanthous); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 2rem; text-align: center; max-width: 1200px; margin: 0 auto; }
.addr-link { color: inherit; text-decoration: none; }
.addr-link:hover { text-decoration: underline; }
.footer-section .addr-link:hover { color: var(--xanthous); }

/* CONTACT ICONS */
.c-ico { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.16em; margin-right: 0.15em; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.c-ico.pin { background-color: var(--accent-ink); width: 0.95em; height: 1.15em; -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%202C7.86%202%204.5%205.36%204.5%209.5c0%205.48%207.5%2012.5%207.5%2012.5s7.5-7.02%207.5-12.5C19.5%205.36%2016.14%202%2012%202zm0%2010.25a2.75%202.75%200%201%201%200-5.5%202.75%202.75%200%200%201%200%205.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%202C7.86%202%204.5%205.36%204.5%209.5c0%205.48%207.5%2012.5%207.5%2012.5s7.5-7.02%207.5-12.5C19.5%205.36%2016.14%202%2012%202zm0%2010.25a2.75%202.75%200%201%201%200-5.5%202.75%202.75%200%200%201%200%205.5z'/%3E%3C/svg%3E"); }
.c-ico.tel { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M6.62%2010.79c1.44%202.83%203.76%205.15%206.59%206.59l2.2-2.2a1%201%200%200%201%201.02-.24c1.12.37%202.33.57%203.57.57a1%201%200%200%201%201%201V20a1%201%200%200%201-1%201A17%2017%200%200%201%203%204a1%201%200%200%201%201-1h3.5a1%201%200%200%201%201%201c0%201.24.2%202.45.57%203.57a1%201%200%200%201-.25%201.02l-2.2%202.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M6.62%2010.79c1.44%202.83%203.76%205.15%206.59%206.59l2.2-2.2a1%201%200%200%201%201.02-.24c1.12.37%202.33.57%203.57.57a1%201%200%200%201%201%201V20a1%201%200%200%201-1%201A17%2017%200%200%201%203%204a1%201%200%200%201%201-1h3.5a1%201%200%200%201%201%201c0%201.24.2%202.45.57%203.57a1%201%200%200%201-.25%201.02l-2.2%202.2z'/%3E%3C/svg%3E"); }
.c-ico.fax { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M19%208h-1V3H6v5H5a3%203%200%200%200-3%203v7h4v3h12v-3h4v-7a3%203%200%200%200-3-3zM8%205h8v3H8V5zm8%2014H8v-4h8v4zm3-7a1%201%200%201%201%200-2%201%201%200%200%201%200%202z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M19%208h-1V3H6v5H5a3%203%200%200%200-3%203v7h4v3h12v-3h4v-7a3%203%200%200%200-3-3zM8%205h8v3H8V5zm8%2014H8v-4h8v4zm3-7a1%201%200%201%201%200-2%201%201%200%200%201%200%202z'/%3E%3C/svg%3E"); }
.c-ico.mail { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M4%204h16a2%202%200%200%201%202%202v12a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm8%207L4%206v1l8%205%208-5V6l-8%205z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M4%204h16a2%202%200%200%201%202%202v12a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm8%207L4%206v1l8%205%208-5V6l-8%205z'/%3E%3C/svg%3E"); }
.footer-section .c-ico.pin { background-color: var(--xanthous); }

/* LANGUAGE SWITCHER */
.lang-switch { position: relative; list-style: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.75rem; font-family: inherit; font-size: 0.8125rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.lang-btn:hover { border-color: var(--cadet); background: var(--alabaster); }
.lang-globe { width: 1.1em; height: 1.1em; flex: none; background: currentColor; -webkit-mask: var(--globe) center / contain no-repeat; mask: var(--globe) center / contain no-repeat; }
.lang-caret { font-size: 0.7em; opacity: 0.7; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 0.55rem); min-width: 170px; list-style: none; background: var(--offwhite); border: 1px solid var(--line); border-radius: 0.7rem; box-shadow: 0 14px 30px rgba(20,33,53,0.16); padding: 0.4rem; display: none; z-index: 200; }
.lang-menu.open { display: block; }
.lang-menu li { list-style: none; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.6rem 0.8rem; border-radius: 0.45rem; text-decoration: none; color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.lang-menu a:hover { background: var(--alabaster); }
.lang-menu a.is-current { background: var(--xanthous); color: var(--oxford); font-weight: 700; }
.lang-check { font-weight: 700; }

/* ICON SYSTEM (replaces emoji) */
.svc-ico { display: inline-block; width: 1em; height: 1em; background-color: currentColor; vertical-align: -0.125em; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.service-icon { font-size: 2.75rem; margin-bottom: 1rem; color: var(--blue-2); line-height: 1; transition: color 0.2s; }
.service-card:hover .service-icon { color: var(--xanthous); }
.ico-wrench { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M22.7%2019l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9%206%206%209%201.6%204.7C.4%207.1.9%2010.1%202.9%2012.1c1.9%201.9%204.6%202.4%206.9%201.5l9.1%209.1c.4.4%201%20.4%201.4%200l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M22.7%2019l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9%206%206%209%201.6%204.7C.4%207.1.9%2010.1%202.9%2012.1c1.9%201.9%204.6%202.4%206.9%201.5l9.1%209.1c.4.4%201%20.4%201.4%200l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E"); }
.ico-link { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M3.9%2012c0-1.71%201.39-3.1%203.1-3.1h4V7H7c-2.76%200-5%202.24-5%205s2.24%205%205%205h4v-1.9H7c-1.71%200-3.1-1.39-3.1-3.1zM8%2013h8v-2H8v2zm9-6h-4v1.9h4c1.71%200%203.1%201.39%203.1%203.1s-1.39%203.1-3.1%203.1h-4V17h4c2.76%200%205-2.24%205-5s-2.24-5-5-5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M3.9%2012c0-1.71%201.39-3.1%203.1-3.1h4V7H7c-2.76%200-5%202.24-5%205s2.24%205%205%205h4v-1.9H7c-1.71%200-3.1-1.39-3.1-3.1zM8%2013h8v-2H8v2zm9-6h-4v1.9h4c1.71%200%203.1%201.39%203.1%203.1s-1.39%203.1-3.1%203.1h-4V17h4c2.76%200%205-2.24%205-5s-2.24-5-5-5z'/%3E%3C/svg%3E"); }
.ico-cloud { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M19.35%2010.04A7.49%207.49%200%200%200%2012%204C9.11%204%206.6%205.64%205.35%208.04A5.994%205.994%200%200%200%200%2014c0%203.31%202.69%206%206%206h13c2.76%200%205-2.24%205-5%200-2.64-2.05-4.78-4.65-4.96z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M19.35%2010.04A7.49%207.49%200%200%200%2012%204C9.11%204%206.6%205.64%205.35%208.04A5.994%205.994%200%200%200%200%2014c0%203.31%202.69%206%206%206h13c2.76%200%205-2.24%205-5%200-2.64-2.05-4.78-4.65-4.96z'/%3E%3C/svg%3E"); }
.ico-mic { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%2014c1.66%200%203-1.34%203-3V5c0-1.66-1.34-3-3-3S9%203.34%209%205v6c0%201.66%201.34%203%203%203zm5-3c0%202.76-2.24%205-5%205s-5-2.24-5-5H5c0%203.53%202.61%206.43%206%206.92V21h2v-3.08c3.39-.49%206-3.39%206-6.92h-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%2014c1.66%200%203-1.34%203-3V5c0-1.66-1.34-3-3-3S9%203.34%209%205v6c0%201.66%201.34%203%203%203zm5-3c0%202.76-2.24%205-5%205s-5-2.24-5-5H5c0%203.53%202.61%206.43%206%206.92V21h2v-3.08c3.39-.49%206-3.39%206-6.92h-2z'/%3E%3C/svg%3E"); }
.ico-shield { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%201L3%205v6c0%205.55%203.84%2010.74%209%2012%205.16-1.26%209-6.45%209-12V5l-9-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%201L3%205v6c0%205.55%203.84%2010.74%209%2012%205.16-1.26%209-6.45%209-12V5l-9-4z'/%3E%3C/svg%3E"); }
.ico-briefcase { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%206h-4V4c0-1.11-.89-2-2-2h-4c-1.11%200-2%20.89-2%202v2H4c-1.11%200-1.99.89-1.99%202L2%2019c0%201.11.89%202%202%202h16c1.11%200%202-.89%202-2V8c0-1.11-.89-2-2-2zm-6%200h-4V4h4v2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%206h-4V4c0-1.11-.89-2-2-2h-4c-1.11%200-2%20.89-2%202v2H4c-1.11%200-1.99.89-1.99%202L2%2019c0%201.11.89%202%202%202h16c1.11%200%202-.89%202-2V8c0-1.11-.89-2-2-2zm-6%200h-4V4h4v2z'/%3E%3C/svg%3E"); }
.ico-award { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M19%205h-2V3H7v2H5c-1.1%200-2%20.9-2%202v1c0%202.55%201.92%204.63%204.39%204.94A5.01%205.01%200%200%200%2011%2018.9V21H8v2h8v-2h-3v-2.1a5.01%205.01%200%200%200%203.61-3.96C19.08%2012.63%2021%2010.55%2021%208V7c0-1.1-.9-2-2-2zM5%208V7h2v3.82C5.84%2010.4%205%209.3%205%208zm14%200c0%201.3-.84%202.4-2%202.82V7h2v1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M19%205h-2V3H7v2H5c-1.1%200-2%20.9-2%202v1c0%202.55%201.92%204.63%204.39%204.94A5.01%205.01%200%200%200%2011%2018.9V21H8v2h8v-2h-3v-2.1a5.01%205.01%200%200%200%203.61-3.96C19.08%2012.63%2021%2010.55%2021%208V7c0-1.1-.9-2-2-2zM5%208V7h2v3.82C5.84%2010.4%205%209.3%205%208zm14%200c0%201.3-.84%202.4-2%202.82V7h2v1z'/%3E%3C/svg%3E"); }
.ico-user { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%2012c2.21%200%204-1.79%204-4s-1.79-4-4-4-4%201.79-4%204%201.79%204%204%204zm0%202c-2.67%200-8%201.34-8%204v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%2012c2.21%200%204-1.79%204-4s-1.79-4-4-4-4%201.79-4%204%201.79%204%204%204zm0%202c-2.67%200-8%201.34-8%204v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }
.ico-code { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M9.4%2016.6L4.8%2012l4.6-4.6L8%206l-6%206%206%206%201.4-1.4zm5.2%200l4.6-4.6-4.6-4.6L16%206l6%206-6%206-1.4-1.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M9.4%2016.6L4.8%2012l4.6-4.6L8%206l-6%206%206%206%201.4-1.4zm5.2%200l4.6-4.6-4.6-4.6L16%206l6%206-6%206-1.4-1.4z'/%3E%3C/svg%3E"); }
.ico-lock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M18%208h-1V6c0-2.76-2.24-5-5-5S7%203.24%207%206v2H6c-1.1%200-2%20.9-2%202v10c0%201.1.9%202%202%202h12c1.1%200%202-.9%202-2V10c0-1.1-.9-2-2-2zm-6%209c-1.1%200-2-.9-2-2s.9-2%202-2%202%20.9%202%202-.9%202-2%202zm3.1-9H8.9V6c0-1.71%201.39-3.1%203.1-3.1s3.1%201.39%203.1%203.1v2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M18%208h-1V6c0-2.76-2.24-5-5-5S7%203.24%207%206v2H6c-1.1%200-2%20.9-2%202v10c0%201.1.9%202%202%202h12c1.1%200%202-.9%202-2V10c0-1.1-.9-2-2-2zm-6%209c-1.1%200-2-.9-2-2s.9-2%202-2%202%20.9%202%202-.9%202-2%202zm3.1-9H8.9V6c0-1.71%201.39-3.1%203.1-3.1s3.1%201.39%203.1%203.1v2z'/%3E%3C/svg%3E"); }
.ico-headset { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%201c-4.97%200-9%204.03-9%209v7c0%201.66%201.34%203%203%203h3v-8H5v-2c0-3.87%203.13-7%207-7s7%203.13%207%207v2h-4v8h4v1h-7v2h6c1.66%200%203-1.34%203-3V10c0-4.97-4.03-9-9-9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%201c-4.97%200-9%204.03-9%209v7c0%201.66%201.34%203%203%203h3v-8H5v-2c0-3.87%203.13-7%207-7s7%203.13%207%207v2h-4v8h4v1h-7v2h6c1.66%200%203-1.34%203-3V10c0-4.97-4.03-9-9-9z'/%3E%3C/svg%3E"); }

/* ACCORDION CHEVRON + MICRO-INTERACTIONS */
.accordion-header > span:last-child { transition: transform 0.25s ease; font-size: 0.85em; opacity: 0.7; }
.accordion-header.active > span:last-child { transform: rotate(180deg); }
.accordion-item { transition: box-shadow 0.2s; }
.accordion-item:hover { box-shadow: 0 4px 14px rgba(20, 33, 53, 0.07); }
.hero-buttons .btn:hover { box-shadow: 0 8px 22px rgba(20, 33, 53, 0.25); }

/* FOCUS VISIBLE (keyboard) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
.accordion-header:focus-visible {
    outline: 2px solid var(--blue-2);
    outline-offset: 2px;
    border-radius: 2px;
}
.btn-primary:focus-visible { outline-color: var(--oxford); }

/* PAGE */
.page-header { background: linear-gradient(135deg, var(--oxford) 0%, var(--oxford-2) 100%); color: #fff; padding: 3rem 2rem; text-align: center; }
.page-header h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); margin-bottom: 0.5rem; }
.page-header p { color: var(--on-dark); }
.page-content { padding: 4rem 2rem; }
.content-section { margin-bottom: 3rem; }
.content-section h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 1rem; color: var(--oxford); }
.content-section p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

/* ACCORDION */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--line); margin-bottom: 1rem; border-radius: 0.375rem; overflow: hidden; }
.accordion-header { background-color: var(--alabaster); padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background-color 0.2s; border: none; width: 100%; font-family: 'Noto Sans TC', sans-serif; font-size: 1rem; font-weight: 600; color: var(--oxford); text-align: left; }
.accordion-header:hover { background-color: var(--baby-blue); }
.accordion-header.active { background-color: var(--oxford); color: #fff; }
.accordion-content { padding: 1.5rem; background-color: #fff; display: none; color: var(--muted); line-height: 1.8; }
.accordion-content.active { display: block; }

/* FORM */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--oxford); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid var(--line); border-radius: 0.375rem; font-family: 'Noto Sans TC', sans-serif; font-size: 1rem; background: #fff; color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 150px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(60, 89, 128, 0.15); }

/* MAP */
#map { width: 100%; height: 400px; border-radius: 0.375rem; margin-top: 2rem; }

/* TABLE */
.table-responsive { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
.table-responsive table { min-width: 520px; }
th { background-color: var(--oxford); color: #fff; padding: 1rem; text-align: left; font-weight: 600; }
td { padding: 1rem; border-bottom: 1px solid var(--line); }
tr:hover { background-color: var(--alabaster); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 平板 / 小筆電 */
@media (max-width: 1024px) {
    .hero { min-height: 560px; padding: 6rem 2rem; }
    .services-overview, .stats, .values, .solutions-preview, .cta, .footer, .page-content { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* 直式平板 / 大手機 —— 導覽收合、多欄轉單欄 */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background-color: var(--offwhite); padding: 0.5rem 1rem 1rem; gap: 0; box-shadow: 0 8px 16px rgba(20,33,53,0.10); border-bottom: 1px solid var(--line); }
    .nav-menu.active { display: flex; }
    .nav-menu li { border-bottom: 1px solid var(--line); }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-menu a { display: block; padding: 0.85rem 0; }
    .nav-menu a.active { box-shadow: inset 3px 0 0 var(--xanthous); padding-left: 0.75rem; }

    .lang-switch { width: 100%; padding: 0.5rem 0; }
    .lang-btn { width: 100%; justify-content: flex-start; border: none; border-radius: 0; padding: 0.6rem 0; font-size: 0.9rem; }
    .lang-btn:hover { background: none; }
    .lang-menu { position: static; display: block; min-width: 0; border: none; box-shadow: none; padding: 0 0 0 1.6rem; background: none; }
    .lang-menu a { padding: 0.6rem 0; }
    .lang-menu a.is-current { background: none; color: var(--ink); box-shadow: inset 3px 0 0 var(--xanthous); padding-left: 0.75rem; }

    .hero { padding: 4rem 1.25rem; min-height: 480px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 320px; }
    .hero-features { flex-direction: column; gap: 1rem; }

    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .solutions-grid, .values-grid { grid-template-columns: 1fr; }

    .footer-content { flex-direction: column; align-items: center; text-align: center; }
    .footer-section { text-align: center; }
    .footer-logo { margin-left: auto; margin-right: auto; }

    /* 任何用行內樣式寫死兩欄的區塊，在手機一律收成單欄 */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

    /* 手機隱藏「我們的服務」左右裝飾圖，避免和卡片擠在一起 */
    .services-overview::before, .services-overview::after { display: none; }

    .container, .nav-container { padding-left: 1.25rem; padding-right: 1.25rem; }
    .services-overview, .stats, .values, .solutions-preview, .cta, .footer { padding-left: 1.25rem; padding-right: 1.25rem; }
    .page-content { padding: 2.5rem 1.25rem; }
}

/* 小手機 */
@media (max-width: 480px) {
    .navbar { padding: 0.75rem 1.25rem; }
    .nav-brand { gap: 0.5rem; }
    .logo-img { height: 40px; }
    .footer-logo { height: 52px; }
    .hero { padding: 3rem 1rem; min-height: 420px; }
    .hero-content p { font-size: 1rem; }
    .hero-label { font-size: 0.75rem; }
    .stats-container { grid-template-columns: 1fr; }
    .stats, .values, .services-overview, .solutions-preview { padding-top: 3rem; padding-bottom: 3rem; }
    #map { height: 300px; }
    .btn { padding: 0.8rem 1.5rem; }
    .service-card, .solution-item { padding: 1.5rem; }
}
