/* 品牌色彩與共用字體 */
:root {
  --ink: #10233f;
  --sans: 'Noto Sans TC','Microsoft JhengHei',Arial,sans-serif;
  --mono: 'DM Mono',monospace;
  --bs-primary: #1769d8;
  --bs-primary-rgb: 23,105,216;
  --bs-body-color: #10233f;
  --bs-body-bg: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

em {
  font-style: normal;
}

section[id],main[id] {
  scroll-margin-top: 7rem;
}

.eyebrow {
  color: #1769d8;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.eyebrow i {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: currentColor;
  margin-right: .5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 3.25rem;
  padding: .85rem 1.5rem;
  border-radius: .4rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  transition: background .18s ease,box-shadow .18s ease;
}

.btn-primary {
  --bs-btn-bg: #1769d8;
  --bs-btn-border-color: #1769d8;
  --bs-btn-hover-bg: #1057b6;
  --bs-btn-hover-border-color: #1057b6;
  --bs-btn-active-bg: #1057b6;
  color: #fff;
  background: #1769d8;
  border: 1px solid #1769d8;
}

.btn-primary:hover {
  background: #1057b6;
  color: #fff;
  box-shadow: 0 4px 14px #1769d826;
}

.text-link {
  display: inline-block;
  color: #145caf;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: .3em;
}

.text-link:hover {
  color: #083b83;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

a:focus-visible,button:focus-visible,[tabindex="0"]:focus-visible {
  outline: 3px solid #1685e5;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 2000;
  transform: translateY(-150%);
  background: #fff;
  color: #074ba3;
  padding: .75rem 1rem;
  border: 2px solid currentColor;
}

.skip-link:focus {
  transform: translateY(0);
}

/* 公告列與主選單 */
.language-switch {
  display: inline-flex;
  margin: .5rem 1rem .5rem 0;
  flex-shrink: 0;
}
.language-switch .language-trigger {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .4rem .65rem;
  border: 1px solid #b8cce5;
  border-radius: .35rem;
  background: #fff;
  color: #12345c;
  font-size: 1rem;
}
.language-switch .dropdown-menu {
  min-width: 11rem;
  padding: .4rem;
  border-color: #b8cce5;
  box-shadow: 0 .5rem 1.5rem #12345c1a;
}
.language-switch .dropdown-item {
  min-height: 44px;
  border-radius: .25rem;
  color: #12345c;
  font-size: 1rem;
}
.language-switch .dropdown-item[aria-pressed="true"] {
  background: #edf5ff;
  font-weight: 600;
}
.language-check {
  display: inline-block;
  width: 1.5rem;
  visibility: hidden;
}
.language-switch [aria-pressed="true"] .language-check { visibility: visible; }
.language-switch button:focus-visible {
  outline: 3px solid #1765d1;
  outline-offset: 2px;
}
html[lang="en"] .hero h1 {
  font-size: clamp(2.5rem,4vw,4.5rem);
  overflow-wrap: anywhere;
}
html[lang="en"] .navbar-nav .nav-link {
  font-size: 1rem;
}
html[lang="en"] .product-card h3,
html[lang="en"] .grant-title {
  overflow-wrap: anywhere;
}

.announcement {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding: .5rem 5vw;
  background: #0c2e5c;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.announcement span {
  font-weight: 700;
}

.announcement p {
  margin: 0;
}

.announcement a {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 1rem 6.4vw;
  background: #ffffffed;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e6edf5;
  min-height: 5.5rem;
}

.brand.company-logo {
  display: flex;
  min-width: 0;
  margin-right: 1.5rem;
}

.brand.company-logo img {
  display: block;
  width: 14rem;
  max-width: 100%;
  height: auto;
}

.site-navbar nav.navbar-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.site-navbar .nav-link {
  color: #10233f;
  padding: .75rem 0;
}

.site-navbar .nav-link:hover,.site-navbar .nav-link:focus {
  color: #1769d8;
}

.site-navbar .navbar-toggler {
  min-width: 3rem;
  min-height: 3rem;
  border-color: #9cb7d8;
}

.site-navbar .navbar-collapse {
  min-width: 0;
}

/* 首頁主視覺與平板概念示意 */
.hero {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);
  align-items: center;
  gap: 3rem;
  padding: 5rem 6.4vw 4rem;
  background: linear-gradient(115deg,#fff 30%,#eef6ff);
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(3.5rem,4.15vw,5.75rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.23;
  margin: 0;
}

.hero h1 em {
  color: #1769d8;
}

.lede {
  font-size: 1.3125rem;
  line-height: 1.85;
  color: #425975;
  max-width: 36rem;
  margin: 1.75rem 0 2rem;
}

.trusted {
  margin-top: 2.5rem;
  font-size: 1.125rem;
  color: #4b617b;
}

.trusted p,.compact-strip p {
  margin: 0;
}

.hero-visual {
  min-width: 0;
  padding: 1rem 0;
}

.device-scene {
  position: relative;
  padding: 1.5rem 0 3.5rem;
}

.device-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid #c9dcf2;
  border-radius: 2rem;
  padding: .55rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #175db8;
  margin: 0 0 1.5rem 1rem;
}

.dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #1769d8;
}

.tablet-frame {
  background: #122b4b;
  border: 1px solid #385577;
  border-radius: 1.5rem;
  padding: .8rem;
  box-shadow: 0 24px 56px #12376421;
  transform: rotate(-3deg);
}

.tablet-screen {
  background: #fff;
  border-radius: .85rem;
  overflow: hidden;
  min-height: 20rem;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem 1.2rem;
  background: #edf5fe;
  border-bottom: 1px solid #d5e6f6;
  font-size: 1rem;
  color: #205386;
  font-weight: 600;
}

.screen-badge {
  font-size: .875rem;
  font-weight: 500;
  color: #425975;
}

.screen-heading {
  padding: 1.5rem 1.2rem .5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding: 1rem 1.2rem;
}

.care-grid>div {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  border: 1px solid #d6e5f3;
  border-radius: .5rem;
  padding: 1rem;
  background: #f7faff;
}

.care-grid b {
  font-size: 1.125rem;
}

.care-grid span {
  font-size: .875rem;
  color: #4b617b;
}

.care-grid .care-symbol {
  font-size: 1.5rem;
  line-height: 1;
  color: #1769d8;
}

.screen-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  border-top: 1px solid #e0e9f3;
  padding: 1rem 1.2rem;
  color: #31587f;
  font-size: .875rem;
}

.management-card {
  position: absolute;
  bottom: .75rem;
  right: .3rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.25rem;
  max-width: 95%;
  background: #fff;
  border: 1px solid #d9e4f1;
  border-radius: .75rem;
  box-shadow: 0 10px 32px #23456920;
}

.management-card img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}

.management-card b,.management-card div>span {
  display: block;
}

.management-card b {
  font-size: 1.125rem;
}

.management-card div>span {
  font-size: 1rem;
  color: #425975;
}

.management-check {
  color: #1769d8;
  font-size: 1.5rem;
}

.visual-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 1rem;
  color: #4b617b;
}

/* 客戶實績：單列 LOGO 輪播 */
.customer-section {
  --customer-logo-width:240px;
  --customer-logo-height:112px;
  --customer-logo-gap:32px;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:1.75rem 6.4vw;
  background:#fff;
  border-bottom:1px solid #e1eaf4;
}

.customer-heading {
  text-align:center;
  margin-bottom:1rem;
}

.customer-heading .eyebrow {
  margin-bottom:.5rem;
}

.customer-heading h2 {
  font-size:1.5rem;
  line-height:1.5;
  font-weight:700;
  margin:0;
  color:#12345c;
}

.customer-scroll {
  width:100%;
  max-width:100%;
  min-width:0;
  contain:inline-size;
  overflow-x:auto;
  overflow-y:hidden;
  padding:.5rem .25rem;
  scrollbar-width:none;
  cursor:grab;
  user-select:none;
}

.customer-scroll::-webkit-scrollbar {
  display:none;
}

.customer-scroll.is-dragging {
  cursor:grabbing;
}

.customer-list {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-start;
  gap:var(--customer-logo-gap);
  list-style:none;
  margin:0;
  padding:0;
}

.customer-list li {
  flex:0 0 var(--customer-logo-width);
  width:var(--customer-logo-width);
  min-width:0;
  overflow:hidden;
  height:var(--customer-logo-height);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.customer-list svg,
.customer-list img {
  display:block;
  flex:0 0 100%;
  width:100%;
  max-width:100%;
  min-width:0;
  height:100%;
  object-fit:contain;
  object-position:center;
  overflow:hidden;
  pointer-events:none;
}

.customer-scroll:focus-visible {
  outline:3px solid #1267d6;
  outline-offset:3px;
}

/* CW MDM、智慧醫療與整合服務卡片 */
.compact-section {
  padding: 4.5rem 6.4vw;
}

.compact-heading {
  max-width: 56rem;
  margin-bottom: 2.5rem;
}

.platform-heading {
  max-width: none;
}

.compact-heading h2 {
  font-size: clamp(2rem,3vw,3rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1rem;
}

.compact-heading p:not(.eyebrow) {
  font-size: 1.25rem;
  line-height: 1.85;
  margin: 0;
  color: #425975;
}

.product-card {
  height: 100%;
  padding: 2rem;
  background: #fff;
  border: 1px solid #d9e4f1;
  border-radius: 1rem;
  transition: box-shadow .18s ease;
}

.product-card:hover {
  box-shadow: 0 10px 28px #153d6e0d;
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 .75rem;
}

.product-card p {
  font-size: 1.125rem;
  line-height: 1.85;
  margin: 0;
  color: #425975;
}

.capability-list {
  margin: 1.25rem 0 0;
  padding: 1rem 0 0 1.25rem;
  border-top: 1px solid #d9e4f1;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #425975;
}

.capability-list li+li {
  margin-top: .35rem;
}

.capability-list li::marker {
  color: #1769d8;
}

.product-card .tag {
  font-size: 1rem;
  color: #145caf;
  font-weight: 600;
  margin: 1.25rem 0 .5rem;
}

.compact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  border-block: 1px solid #d9e4f1;
  padding: 1.25rem 0;
  margin: 1.5rem 0;
  font-size: 1.125rem;
  color: #425975;
}

.compact-strip strong,.trusted strong {
  color: #10233f;
}

/* 認證與技術實力：桌機三卡並列，窄螢幕水平輪播 */
.certificates-section {
  background: #f7faff;
  min-width: 0;
}
.certificates-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.certificates-heading h2 {
  font-size: clamp(2rem,3vw,3rem);
  font-weight: 700;
  color: #12345c;
  margin: 0;
}
.certificates-heading .eyebrow {
  margin-bottom: .5rem;
}
.certificate-track {
  cursor: grab;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  min-width: 0;
  contain: inline-size;
  padding: .25rem;
}
.certificate-track::-webkit-scrollbar {
  display: none;
}
.certificate-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.certificate-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.certificate-card {
  flex: 0 0 calc((100% - 3rem)/3);
  min-width: 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #d2e1f3;
  border-radius: .75rem;
  display: flex;
  flex-direction: column;
}
.certificate-preview {
  width: 100%;
  border: 0;
  background: #f0f5fb;
  border-radius: .5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: #145caf;
}
.certificate-preview img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}
.certificate-preview span {
  font-size: 1rem;
}
.certificate-card .tag {
  margin: 1rem 0 .4rem;
  color: #145caf;
  font-size: 1rem;
}
.certificate-card h3 {
  font-size: 1.375rem;
  line-height: 1.5;
  margin: 0 0 .5rem;
  overflow-wrap: anywhere;
}
.certificate-card p:not(.tag) {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.certificate-card .certificate-status {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid #e0e9f3;
  color: #425975;
}
.certificate-note {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #425975;
  margin: 1rem 0 0;
}
.certificate-modal-body {
  text-align: center;
  background: #f3f6fa;
}
.certificate-modal-body img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.certificate-preview:focus-visible,.certificate-track:focus-visible {
  outline: 3px solid #1769d8;
  outline-offset: 3px;
}
@media(max-width:991px) {
  .certificate-card {
    flex-basis: calc((100% - 1.5rem)/2);
  }
}
@media(max-width:600px) {
  .certificate-card {
    flex-basis: 88%;
    padding: 1rem;
  }
  .certificate-preview img {
    height: 160px;
  }
}

.medical-summary {
  background: #edf5fe;
}

.medical-heading {
  max-width: none;
  margin-bottom: 1.75rem;
}

.medical-heading h2 {
  color: #12345c;
  font-weight: 800;
  line-height: 1.45;
}

.grant-title {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-left: .25em;
  box-shadow: inset 0 -.25em #bcdcff;
}

.grant-summary {
  margin-top: 1.5rem;
  border-top: 1px solid #c6d9ee;
  padding-top: 1rem;
}

.grant-focus {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #425975;
  font-size: 1.125rem;
  line-height: 1.8;
}

.grant-focus li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.grant-focus span {
  min-width: 0;
}

.grant-focus strong {
  flex-shrink: 0;
  color: #12345c;
}

.medical-heading .grant-focus {
  margin-bottom: 1rem;
}

.grant-disclaimer {
  margin: .75rem 0 0;
  color: #425975;
  font-size: 1.125rem;
  line-height: 1.8;
}

.product-illustration {
  height: 9rem;
  border-radius: .6rem;
  background: #eef5fd;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-board {
  display: block;
  border: 6px solid #153a67;
  padding: .8rem;
}

.board-top {
  height: .65rem;
  width: 55%;
  background: #1769d8;
  border-radius: .2rem;
  margin-bottom: .75rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .45rem;
}

.board-grid span {
  height: 1.75rem;
  background: #d1e4fa;
  border-radius: .2rem;
  border-left: 4px solid #4b8edc;
}

.board-grid span:nth-child(2n) {
  background: #e1ecf8;
  border-color: #8bb4e6;
}

.bedside-screen {
  border: 5px solid #153a67;
  border-radius: .6rem;
  background: #fff;
  width: 90%;
  padding: .6rem .85rem;
  transform: rotate(-3deg);
}

.bedside-screen>span {
  font-size: 1rem;
  font-weight: 600;
  color: #205386;
}

.bedside-screen>div {
  height: .35rem;
  background: #d0e2f6;
  width: 80%;
  margin: .4rem 0;
}

.bedside-screen>div:last-child {
  width: 50%;
  background: #75a6df;
}

.illustration-mdm {
  gap: 1.5rem;
}

.illustration-mdm img {
  height: 5rem;
  width: 5rem;
  object-fit: contain;
}

.mdm-lines {
  display: grid;
  gap: .6rem;
  width: 40%;
}

.mdm-lines span {
  height: .6rem;
  background: #b5d1f0;
  border-radius: 1rem;
}

.mdm-lines span:nth-child(2) {
  width: 75%;
}

.app-phone {
  width: 5.25rem;
  border: 4px solid #153a67;
  border-radius: .8rem;
  background: #fff;
  padding: .5rem;
  transform: rotate(-4deg);
}

.app-phone>span {
  display: block;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: #174e8b;
}

.app-icons {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .35rem;
  margin: .5rem 0;
}

.app-icons i {
  height: 1rem;
  border-radius: .2rem;
  background: #76b8eb;
}

.app-icons i:nth-child(2n) {
  background: #94d2ce;
}

.app-bar {
  height: .35rem;
  background: #1769d8;
  border-radius: .2rem;
}

.product-card .app-name {
  color: #174e8b;
  font-size: 1rem;
  margin: -.25rem 0 .75rem;
}

/* 共契頁籤與商品價格表 */
.procurement {
  padding: 2.5rem 6.4vw;
}
.catalog-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: .75rem;
}

.catalog-head h2 {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}

.catalog-summary {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #425975;
  margin: .25rem 0 0;
}

.catalog-tabs.nav-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1.5rem;
  margin-top: .75rem;
  border-bottom: 1px solid #cddced;
}

.catalog-tabs .nav-link {
  padding: 1rem .5rem;
  white-space: nowrap;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  font-size: 1.125rem;
  font-weight: 600;
  background: transparent;
  color: #425975;
}

.catalog-tabs .nav-link.active {
  color: #145caf;
  border-bottom-color: #1769d8;
  background: transparent;
}

.catalog-panel {
  padding: 1rem 0;
}

.contract-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.contract-title>div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem .75rem;
}

.contract-title span {
  font-size: 1rem;
  color: #4b617b;
}

.contract-title strong {
  font-family: var(--mono);
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
}

.contract-title p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #425975;
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #d9e4f1;
  border-radius: .6rem;
}

.table-wrap table {
  width: 100%;
  min-width: 47rem;
  border-collapse: collapse;
}

.table-wrap .table {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: #e3efff;
  --bs-table-hover-color: #10233f;
}

.table-wrap th {
  vertical-align: middle;
  padding: 1rem;
  background: #12345c;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.table-wrap th small {
  display: block;
  font-size: .875rem;
  color: #d5e9ff;
}

.table-wrap td {
  padding: 1rem;
  color: #35516f;
  font-size: 1.125rem;
  line-height: 1.65;
  border-bottom: 1px solid #e0e9f3;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.table-wrap td:nth-last-child(-n+2) {
  white-space: nowrap;
  font-family: var(--mono);
}

.table-wrap td:last-child {
  font-weight: 700;
  color: #12345c;
}

.catalog-disclaimer {
  font-size: 1rem;
  line-height: 1.8;
  color: #425975;
  margin: 1rem 0 0;
}

.catalog-disclaimer a {
  color: #145caf;
  text-decoration: underline;
}

/* 聯絡據點與地區切換 */
.contact-section {
  padding: 4.5rem 6.4vw;
  background: #f4f8fd;
}

#company {
  scroll-margin-top: 7rem;
}

.office-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.office-tabs .nav-link {
  min-height: 3.25rem;
  padding: .8rem 1.5rem;
  border: 1px solid #9dbbdf;
  border-radius: .4rem;
  background: #fff;
  color: #174e8b;
  font: 600 1.125rem/1.5 var(--sans);
}

.office-tabs .nav-link.active {
  background: #1769d8;
  color: #fff;
  border-color: #1769d8;
}

.office-content {
  margin-bottom: 0;
}

.office-layout {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  background: #fff;
  border: 1px solid #d9e4f1;
  border-radius: 1rem;
  overflow: hidden;
}

.office-details {
  padding: 2rem;
  min-width: 0;
}

.office-details h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}

.office-details dl {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.office-details dt {
  font-size: 1rem;
  color: #4b617b;
  font-weight: 500;
}

.office-details dd {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

.office-details dd span {
  color: #4b617b;
}

.office-details dd a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.office-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  border: 0;
  background: #edf5fe;
}

/* 頁尾與返回頂端 */
footer {
  background: #0b2343;
  color: #d2e1f2;
  padding: 3.5rem 6.4vw 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-top>div {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  font-size: 1.125rem;
  min-width: 0;
}

.footer-top b {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .5rem;
}

.footer-top a {
  overflow-wrap: anywhere;
}

.footer-top a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.brand.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: start;
  white-space: normal;
  min-width: 0;
}

.footer-brand-name {
  font-size: 1.3125rem;
  line-height: 1.7;
  font-weight: 700;
  color: #fff;
}

.footer-brand-text small {
  font-size: .875rem;
  letter-spacing: .08em;
  color: #b2c8e1;
}

.footer-bottom {
  border-top: 1px solid #345070;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 1rem;
  color: #b2c8e1;
}

.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1040;
  width: 3.125rem;
  height: 3.125rem;
  border: 1px solid #1769d8;
  border-radius: 50%;
  background: #fff;
  color: #1769d8;
  box-shadow: 0 8px 24px #10233f26;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s,transform .2s;
  cursor: pointer;
}

.to-top span {
  font-size: 1.5rem;
  font-weight: 700;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: #1769d8;
  color: #fff;
}

/* 平板、手機版面與減少動態效果 */
@media(max-width:1199.98px) {
  .site-navbar {
    padding: .85rem 5vw;
    min-height: 4.75rem;
  }
  .site-navbar .navbar-brand {
    margin-right: .5rem;
  }
  .site-navbar nav.navbar-nav {
    margin: 1rem 0 0;
    gap: 0;
  }
  .site-navbar .nav-link {
    border-bottom: 1px solid #d9e4f1;
  }
  .hero {
    gap: 2rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media(max-width:991.98px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 7vw;
    gap: 2rem;
  }
  .hero-copy {
    max-width: 44rem;
  }
  .hero-visual {
    max-width: 38rem;
    width: 100%;
    justify-self: center;
  }
  .hero h1 {
    font-size: clamp(3.0625rem,7vw,4.25rem);
  }
  .office-layout {
    grid-template-columns: 1fr;
  }
  .office-map {
    height: 20rem;
    min-height: 20rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top .brand {
    grid-column: 1/-1;
  }
}

@media(max-width:600px) {
  .customer-section {
    --customer-logo-width:200px;
    --customer-logo-height:96px;
    --customer-logo-gap:24px;
    padding:2rem 7vw;
  }
  .customer-list li {
    padding:12px;
  }
  .grant-focus li {
    gap: .75rem;
  }
  .grant-title {
    margin-left: 0;
  }
  body {
    font-size: 1.1875rem;
  }
  .announcement p {
    display: none;
  }
  .announcement {
    justify-content: space-between;
    font-size: .9375rem;
    gap: .5rem;
  }
  .brand.company-logo img {
    width: 11rem;
  }
  .hero {
    padding: 3rem 7vw;
    gap: 1.5rem;
  }
  .hero h1 {
    font-size: 3.0625rem;
  }
  .lede {
    font-size: 1.25rem;
  }
  .hero-actions {
    align-items: start;
    gap: 1rem;
  }
  .compact-section,.contact-section {
    padding: 3rem 7vw;
  }
  .procurement {
    padding: 2rem 7vw;
  }
  .office-details {
    padding: 1.25rem;
  }
  .office-tabs .nav-link {
    padding: .75rem 1rem;
  }
  .compact-heading p:not(.eyebrow) {
    font-size: 1.1875rem;
  }
  .product-card {
    padding: 1.25rem;
  }
  .catalog-head h2 {
    font-size: 1.75rem;
  }
  .catalog-tabs.nav-tabs {
    gap: 1rem;
  }
  .device-scene {
    padding-top: .5rem;
  }
  .tablet-frame {
    transform: none;
    border-radius: 1rem;
    padding: .5rem;
  }
  .tablet-screen {
    min-height: 0;
  }
  .screen-heading {
    font-size: 1.25rem;
  }
  .care-grid {
    gap: .5rem;
    padding: .75rem;
  }
  .care-grid>div {
    padding: .75rem;
  }
  .management-card {
    right: 0;
    padding: .75rem;
    gap: .65rem;
  }
  .management-card div>span {
    font-size: .9375rem;
  }
  .visual-caption {
    text-align: left;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 3rem 7vw 1.5rem;
  }
  .to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

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