/* assets/css/site.css - 淳靖 Pro-Pure 全站共用樣式 */

/* 1. 設計系統與全域變數 */
:root {
  --navy: #141754;        /* 主色：深藍。標題、主按鈕、深色區塊 */
  --navy-900: #0E1040;    /* 深藍更深：footer 漸層、hover */
  --amber: #FFAE41;       /* 點綴：topbar、深色區塊上的強調字、圖示圓底、點陣 */
  --amber-600: #E8942A;   /* amber 的 hover */
  --ink: #0A0F14;         /* 內文字 */
  --muted: #5B6470;       /* 次要文字（對比 ≥4.5:1 於白底） */
  --white: #ffffff;
  --gray-50: #F5F5F5;     /* 淺灰區塊、卡片底 */
  --blue-50: #EBF2FC;     /* 淺藍區塊 */
  --line: #D9DDE3;        /* 細線 */
  --brand-blue: #2F62C8;  /* 只給 LOGO 用，其他地方不要用 */
  --ok: #1B7F3B;
  --ok-bg: #E8F5EE;
  --radius: 10px;
  --radius-pill: 999px;
  --shadow: 0 8px 24px rgba(20, 23, 84, 0.12);
  --container: 1380px;
  --gutter: 24px;
  --font-latin: "Lato", system-ui, sans-serif;
  --fs-body: 16px;
  --fs-h1: clamp(32px, 4.6vw, 52px);
  --fs-h2: clamp(26px, 3.2vw, 38px);
  --fs-h3: 20px;
}

html[lang="zh-Hant-TW"] {
  --font: "Lato", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
html[lang="zh-Hans-CN"] {
  --font: "Lato", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[lang="en"] {
  --font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (min-width: 768px) {
  :root {
    --fs-body: 17px;
  }
}

@media (min-width: 1280px) {
  :root {
    --gutter: 32px;
  }
}

/* 2. 重置與基礎排版 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 360px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.3;
  font-weight: 900;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }

p {
  max-width: 38em;
}

html[lang="en"] p {
  max-width: 68ch;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(48px, 7vw, 96px);
  position: relative;
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}
.section--navy h1, .section--navy h2, .section--navy h3 {
  color: var(--white);
}
.section--navy .highlight, .section--navy .amber-text {
  color: var(--amber);
}

.section--gray {
  background-color: var(--gray-50);
}

.section--blue {
  background-color: var(--blue-50);
}

/* 3. 圖示與元件 */
.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  display: inline-block;
}

.tag-illus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

/* 占位樣式 */
.ph {
  border: 1px dashed currentColor;
  border-radius: 6px;
  padding: 0.1em 0.5em;
  opacity: 0.85;
  background: rgba(255, 174, 65, 0.15);
  display: inline-block;
}

.ph-photo {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--muted);
  border-radius: var(--radius);
  background-color: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.ph-photo--wide {
  aspect-ratio: 16 / 6;
}
.section--navy .ph-photo {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.ph-badge-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ph-badge-list {
  display: flex;
  gap: 12px;
}
.ph-badge {
  width: 72px;
  height: 72px;
  border: 1px dashed var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-50);
}
.ph-badge-text {
  font-size: 14px;
  color: var(--muted);
}

/* 按鈕樣式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-height: 48px;
}
@media (max-width: 575px) {
  .btn {
    padding: 12px 28px;
  }
}
html[lang="en"] .btn {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn--primary {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background-color: var(--blue-50);
}

.btn--light {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--light:hover {
  background-color: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.btn--ghost-light {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--ghost-light:hover {
  background-color: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

/* 麵包屑 */
.crumbs {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.crumbs--light {
  color: var(--muted);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.6;
}
.crumbs a:hover {
  text-decoration: underline;
}

/* 深色 page-hero */
.page-hero {
  background-color: var(--navy);
  color: var(--white);
  padding-block: clamp(48px, 6vw, 72px);
  position: relative;
  background-image: url('../img/wave-hero.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

/* 4. Topbar & Header */
.topbar {
  background-color: var(--amber);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.ticker {
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ticker__item {
  display: none;
  color: var(--navy);
  font-weight: 700;
}
.ticker__item.is-active {
  display: inline-block;
}
.ticker__item:hover {
  text-decoration: underline;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.topbar__right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 700;
}
.topbar__contact {
  padding-left: 12px;
  border-left: 1px solid rgba(20, 23, 84, 0.3);
}

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand img {
  display: block;
}
.nav-toggle {
  display: none;
  padding: 8px;
  font-size: 28px;
  color: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__list > li {
  position: relative;
}
.nav__list > li > a {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  padding: 10px 4px;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.nav__list > li > a:hover,
.nav__list > li > a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--amber);
}

.has-sub {
  display: flex;
  align-items: center;
}
.sub-toggle {
  padding: 6px 2px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
}
.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  border: 1px solid var(--line);
  z-index: 10;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub,
.has-sub.is-open .sub {
  display: block;
}
.sub li a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.sub li a:hover {
  background-color: var(--blue-50);
}

.site-search {
  position: relative;
  width: 240px;
}
.site-search input {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  padding: 0 40px 0 16px;
  font-size: 14px;
  background-color: var(--gray-50);
}
.site-search input:focus {
  background-color: var(--white);
  border-color: var(--amber);
}
.site-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  display: flex;
  align-items: center;
}

.lang {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
}
.lang a {
  color: var(--muted);
}
.lang a[aria-current="true"] {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lang a:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: var(--line);
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-search {
    width: 100%;
    order: -1;
  }
  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .nav__list > li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav__list > li > a {
    display: block;
    padding: 14px 0;
  }
  .has-sub {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .sub-toggle {
    padding: 14px;
  }
  .sub {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background-color: var(--gray-50);
    padding: 8px 16px;
    margin-bottom: 8px;
  }
  .has-sub.is-open .sub {
    display: block;
  }
  .lang {
    width: 100%;
    justify-content: center;
    padding-top: 12px;
  }
}

/* 5. 首頁區塊 */
/* Hero Carousel */
.hero {
  background-color: var(--gray-50);
  position: relative;
  overflow: hidden;
}
.hero__container {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.carousel__slide {
  display: none;
  width: 100%;
  padding-block: 48px;
}
.carousel__slide.is-active {
  display: block;
}
.hero-slide__in {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-slide__in {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}
.hero__tag {
  font-size: 16px;
  font-weight: 700;
  color: var(--amber-600);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero__title {
  margin-bottom: 20px;
}
.checklist {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
}
.checklist .icon {
  color: var(--ok);
  flex-shrink: 0;
  margin-top: 4px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__media img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  mix-blend-mode: multiply;
  width: 100%;
  max-width: 600px;
}
.carousel__controls {
  position: absolute;
  bottom: 24px;
  left: var(--gutter);
  right: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.carousel__dots {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--line);
  cursor: pointer;
  transition: all 0.2s;
}
.carousel__dot.is-active {
  background-color: var(--navy);
  width: 28px;
  border-radius: var(--radius-pill);
}
.carousel__arrows {
  display: flex;
  gap: 12px;
  pointer-events: auto;
}
.carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.carousel__arrow:hover {
  background-color: var(--navy-900);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}
@media (min-width: 576px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--amber);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Company */
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .company-grid {
    grid-template-columns: 55fr 45fr;
    gap: 60px;
  }
}
.company-content .eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-600);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.company-content h2 {
  margin-bottom: 20px;
}
.company-content p {
  margin-bottom: 16px;
  color: var(--ink);
}
.company-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Featured (Card Navy) */
.card-navy {
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.card-navy__in {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 992px) {
  .card-navy__in {
    grid-template-columns: 1fr 1fr;
  }
}
.card-navy__content {
  padding: clamp(32px, 5vw, 64px);
}
.card-navy__content .eyebrow {
  color: var(--amber);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.card-navy__content h2 {
  color: var(--amber);
  margin-bottom: 20px;
}
.card-navy__content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}
.card-navy__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Range */
.card-blue {
  background-color: var(--blue-50);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-blue__in {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 992px) {
  .card-blue__in {
    grid-template-columns: 1fr 1fr;
  }
}
.card-blue__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.card-blue__content {
  padding: clamp(32px, 5vw, 64px);
}
.card-blue__content h2 {
  margin-bottom: 12px;
}
.card-blue__content .sub-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--navy);
}
.card-blue__content p {
  margin-bottom: 32px;
}

/* Brands */
.section-brands {
  text-align: center;
}
.section-brands h2 {
  margin-bottom: 12px;
}
.section-brands .sub-title {
  color: var(--muted);
  margin-bottom: 40px;
  margin-inline: auto;
}
.brand-tiles {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
@media (min-width: 992px) {
  .brand-tiles {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.brand-tile {
  flex: 0 0 auto;
  min-width: 180px;
  height: 72px;
  background-color: var(--gray-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 20px;
  scroll-snap-align: start;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
}
.brand-link:hover {
  text-decoration: underline;
}

/* About Teaser */
.about-teaser {
  position: relative;
}
.dots-grid-decor {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 140px;
  height: 140px;
  display: none;
  pointer-events: none;
}
@media (min-width: 992px) {
  .dots-grid-decor {
    display: block;
  }
}
.about-teaser__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}
.about-teaser__row:last-child {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .about-teaser__row {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}
.about-teaser h2 {
  color: var(--white);
  margin-bottom: 8px;
}
.about-teaser .eyebrow {
  color: var(--amber);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.about-teaser p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.9);
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--amber);
}

/* 6. Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.footer-cta {
  background-color: var(--navy-900);
  padding-block: 48px;
  position: relative;
  background-image: url('../img/wave-hero.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-cta__in {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 992px) {
  .footer-cta__in {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.footer-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}
.footer-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}
.footer-cta img {
  border-radius: var(--radius);
  max-height: 240px;
  object-fit: cover;
  width: 100%;
}

.footer-main {
  padding-block: 64px;
  position: relative;
  background-image: url('../img/wave-footer.jpg');
  background-position: right bottom;
  background-size: cover;
  background-repeat: no-repeat;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
  }
}
.f-col h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.f-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--amber);
}
.f-logo {
  margin-bottom: 16px;
}
.f-col p, .f-col address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 12px;
}
.f-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.f-col ul a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}
.f-col ul a:hover {
  color: var(--amber);
  text-decoration: underline;
}
.social {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s;
}
.social-btn:hover {
  background-color: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-legal p {
  max-width: 100%;
}
.footer-legal p:not(:last-child) {
  margin-bottom: 8px;
}

/* 7. 產品列表 products.html */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 992px) {
  .product-layout {
    grid-template-columns: 280px 1fr;
  }
}
.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-filter-box {
  background-color: var(--gray-50);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
}
.product-filter-box label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.product-filter-box input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--white);
}
.product-filter-box input:focus {
  border-color: var(--amber);
}

.support-card {
  padding: 28px;
}
.support-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}
.support-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-bottom: 24px;
}

.product-main-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.result-count {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.no-result {
  padding: 48px;
  text-align: center;
  background-color: var(--gray-50);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 576px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.product-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--gray-50);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.product-card h3 a:hover {
  color: var(--brand-blue);
}
.product-card .cat {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 12px;
}
.product-card p:not(.cat) {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.product-card .btn {
  width: 100%;
}

/* 8. 產品詳情頁 product-*.html */
.product-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 992px) {
  .product-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.gallery {
  position: relative;
}
.gallery__main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--gray-50);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.gallery__slide {
  display: none;
  aspect-ratio: 4 / 3;
}
.gallery__slide.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__thumbs {
  display: flex;
  gap: 12px;
}
.gallery__thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background-color: var(--gray-50);
  cursor: pointer;
  padding: 0;
}
.gallery__thumb.is-active {
  border-color: var(--navy);
}
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.product-info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.product-info .tag {
  background-color: var(--blue-50);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.product-info .tag:hover {
  background-color: var(--line);
}
.product-info h1 {
  margin-bottom: 24px;
}

.spec-list {
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.spec-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-label {
  color: var(--muted);
  font-weight: 500;
}
.spec-val {
  color: var(--ink);
  font-weight: 700;
}

.product-features-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
}
.product-custom-note {
  font-size: 14px;
  color: var(--muted);
}

.fit-help-banner {
  background-color: var(--navy);
  color: var(--white);
  padding: 32px 0;
  background-image: url('../img/wave-hero.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.fit-help__in {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .fit-help__in {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.fit-help__in h2 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 4px;
}
.fit-help__in p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.narrow-content {
  max-width: 760px;
  margin-inline: auto;
}
.narrow-content h2 {
  margin-bottom: 20px;
}
.narrow-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 100%;
}

.review-placeholder {
  border: 1px dashed var(--muted);
  border-radius: var(--radius);
  background-color: var(--white);
  padding: 48px;
  text-align: center;
}

/* 10. 合作品牌 brands.html */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 576px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.brand-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}
.brand-card__logo {
  height: 120px;
  background-color: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.brand-card__content {
  padding: 24px;
}
.brand-card__content h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.brand-card__content p {
  color: var(--muted);
  font-size: 15px;
}

.partner-banner {
  background-color: var(--gray-50);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 992px) {
  .partner-banner {
    grid-template-columns: 1fr 1fr;
  }
}
.partner-banner__content {
  padding: clamp(32px, 5vw, 64px);
}
.partner-banner__content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
}

/* 11. 關於我們 about.html */
.about-hero-grid, .two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .about-hero-grid, .two-col-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.mini-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-block: 48px;
}
@media (min-width: 768px) {
  .mini-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mini-card {
  background-color: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.mini-card .icon-circle {
  width: 56px;
  height: 56px;
  font-size: 24px;
  margin-bottom: 16px;
}
.mini-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.mini-card p {
  font-size: 15px;
  color: var(--muted);
}

.philosophy-banner {
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
}
.philosophy-banner p {
  max-width: 100%;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}
.philosophy-banner p:not(:last-child) {
  margin-bottom: 12px;
}

#advantages, #careers {
  scroll-margin-top: 100px;
}

.advantage-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.adv-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(20, 23, 84, 0.05);
}
.adv-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--amber);
  color: var(--navy);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.adv-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.adv-body p {
  font-size: 15px;
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
  margin-top: 40px;
}
@media (min-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-item .stat-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-inline: auto;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 992px) {
  .careers-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.career-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .career-card {
    grid-template-columns: 200px 1fr;
  }
}
.career-card__media {
  background-color: var(--gray-50);
}
.career-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.career-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.career-card__content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.career-card__content p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* 12. 最新消息 news.html & 內頁 */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  transition: box-shadow 0.2s;
}
.news-card:hover {
  box-shadow: var(--shadow);
}
.news-card__media {
  aspect-ratio: 1024 / 536;
  background-color: var(--gray-50);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card .date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.news-card p:not(.date) {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
  flex-grow: 1;
}
.news-card .read-more {
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-header {
  margin-bottom: 32px;
}
.article-header .date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.article-header h1 {
  margin-bottom: 20px;
}
.article-img {
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.info-dl {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
  margin-block: 24px;
}
.info-dl-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 8px 0;
  font-size: 15px;
}
.info-dl dt {
  font-weight: 700;
  color: var(--navy);
}
.info-dl dd {
  color: var(--ink);
}

/* 13. 常見問題 faq.html */
.faq-box {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  padding: 48px 24px;
}
.faq-box h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.faq-box p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
  margin-inline: auto;
}

/* 14. 影像中心 videos.html */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}
.video-frame {
  aspect-ratio: 16 / 9;
  background-color: #000;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-card figcaption {
  padding: 20px;
}
.video-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.video-card .source {
  font-size: 13px;
  color: var(--muted);
}

/* 15. 聯絡我們 contact.html */
.contact-main {
  background-image: url('../img/wave-footer.jpg');
  background-position: right bottom;
  background-size: cover;
  background-repeat: no-repeat;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 992px) {
  .contact-main-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-item .icon-circle {
  width: 48px;
  height: 48px;
  font-size: 20px;
  flex-shrink: 0;
  margin-bottom: 0;
}
.contact-info-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.contact-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.contact-card .form-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 576px) {
  .form-grid--2col {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid--3col {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.form-group .req {
  color: #d93025;
}
.form-group input, .form-group textarea {
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 15px;
  background-color: var(--white);
}
.form-group textarea {
  height: auto;
  padding: 12px 16px;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--amber);
}
.form-status {
  padding: 16px;
  border-radius: var(--radius);
  background-color: var(--ok-bg);
  color: var(--ok);
  font-weight: 700;
  margin-top: 16px;
  font-size: 15px;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 24px;
  margin-bottom: 16px;
}
.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 992px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.location-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.loc-tag {
  display: inline-block;
  background-color: var(--blue-50);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  align-self: flex-start;
}
.location-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.location-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.location-card .btn {
  margin-top: auto;
  padding-top: 16px;
}

/* 16. 404 頁面 */
.error-page-body {
  text-align: center;
  padding-block: 80px;
}
.error-page-body h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 16px;
}
.error-page-body p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  margin-inline: auto;
}
.error-page-links {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.error-page-links a {
  text-decoration: underline;
  margin: 0 4px;
}

/* 17. 輔助與動畫約束 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 驗收修正：手機 topbar 跑馬燈被擠成 72px、首頁 card-navy 欄寬被內容撐破 */
.ticker__item.is-active { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.ticker { min-width: 0; }
.card-navy__in { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) {
  .card-navy__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .topbar__right a:not(.topbar__contact) { display: none; }
  .topbar__contact { border-left: 0; padding-left: 0; }
}
@media (max-width: 575px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* 2026-10-17 客戶 PPT 版型修改 */
/* 產品分類樹（側欄） */
.cat-tree {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background-color: var(--white);
}
.cat-tree__title {
  font-size: 17px;
  margin-bottom: 12px;
}
.cat-tree details + details {
  border-top: 1px solid var(--line);
}
.cat-tree summary {
  padding: 10px 0;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.cat-tree summary a:hover,
.cat-tree li a:hover,
.cat-tree a[aria-current="page"] {
  color: var(--amber-600);
}
.cat-tree ul {
  padding: 0 0 10px 18px;
}
.cat-tree li a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--ink);
}
.product-custom-note {
  font-weight: 700;
  color: var(--navy);
}
.page-hero p {
  max-width: 900px;
}

/* 認證放大彈窗 */
.lightbox {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: min(960px, 92vw);
  max-height: 90vh;
  overflow: auto;
}
.lightbox::backdrop {
  background: rgba(10, 12, 40, 0.75);
}
.lightbox img {
  display: block;
  width: 100%;
  height: auto;
}
.lightbox__close {
  position: sticky;
  top: 8px;
  float: right;
  margin: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--shadow);
}

/* 招募資訊：單張卡片佔滿 */
.careers-grid--single {
  grid-template-columns: 1fr !important;
  margin-top: 0;
}
@media (min-width: 576px) {
  .careers-grid--single .career-card {
    grid-template-columns: 2fr 3fr;
  }
}

/* 常見問題 */
.faq-list {
  max-width: 880px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white);
  margin-bottom: 12px;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq-a {
  padding: 0 22px 20px;
  line-height: 1.8;
}
.faq-list + .faq-box {
  padding-top: 24px;
}

/* 聯絡我們 */
@media (min-width: 992px) {
  .contact-info {
    align-self: center;
  }
}
.map-cta {
  text-align: center;
  margin-top: 24px;
}
.location-card__img {
  width: calc(100% + 64px);
  max-width: none;
  margin: -32px -32px 20px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
@media (min-width: 992px) {
  .location-card .loc-addr {
    min-height: 4.8em;
  }
}


/* 20261024 版型定稿修正 */
/* 標籤：值 對齊（頁尾 Tel/Fax、據點卡片），冒號對齊在同一直線 */
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 6px;
  row-gap: 4px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
}
.kv dt {
  display: flex;
  justify-content: space-between;
  gap: 2px;
}
.kv dt::after { content: "："; }
html[lang="en"] .kv dt::after { content: ":"; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.f-col .kv { color: rgba(255, 255, 255, 0.8); }
.location-card .kv { color: var(--muted); }

/* 頁尾快速連結分兩欄 */
.site-footer .f-col:nth-child(2) ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 48px;
}

/* YouTube 按鈕帶文字 */
.social-btn--label {
  width: auto;
  padding: 0 18px 0 14px;
  border-radius: var(--radius-pill);
  gap: 8px;
  font-size: 15px;
}

/* OEM 數字列：數字固定高度、靠底對齊，說明文字同一水平 */
.stat-item .stat-num {
  min-height: calc(clamp(36px, 5vw, 56px) * 1.1);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* 聯絡我們：文字對齊 ICON 中心 */
.contact-info-item { align-items: center; }

/* 關於我們：公司沿革（新到舊，左右交錯，純文字） */
.timeline-wrap { margin-top: clamp(48px, 7vw, 80px); }
.timeline-wrap h2 { text-align: center; margin-bottom: 32px; }
.timeline {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
  background: var(--navy);
}
.timeline__item {
  position: relative;
  padding: 0 0 32px 40px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--navy);
  box-sizing: border-box;
}
.timeline__date {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.timeline__text { color: var(--muted); font-size: 16px; }
@media (min-width: 768px) {
  .timeline::before { left: 50%; margin-left: -1px; }
  .timeline__item {
    width: 50%;
    padding: 0 40px 40px 0;
    text-align: right;
  }
  .timeline__item::before { left: auto; right: -8px; }
  .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 40px 40px;
    text-align: left;
  }
  .timeline__item:nth-child(even)::before { right: auto; left: -8px; }
}
html[lang="en"] .stat-item .stat-num {
  font-size: clamp(28px, 3.2vw, 48px);
  white-space: nowrap;
}

/* 可選淺藍 LOGO 色系預覽模式 (?theme=light-blue)，保留清晰過濾流線向量線條感 */
html.theme-light-blue {
  --navy: #1c4496;
  --navy-900: #15357a;
}
html.theme-light-blue .page-hero,
html.theme-light-blue .fit-help-banner,
html.theme-light-blue .footer-cta {
  background: linear-gradient(115deg, #16377d 0%, #2453b5 52%, #2F62C8 100%);
  position: relative;
  overflow: hidden;
}
html.theme-light-blue .page-hero::before,
html.theme-light-blue .fit-help-banner::before,
html.theme-light-blue .footer-cta::before,
html.theme-light-blue .footer-main::before,
html.theme-light-blue .contact-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/dots-wave.svg') no-repeat right bottom / cover;
  opacity: 0.95;
  pointer-events: none;
}
html.theme-light-blue .page-hero > *,
html.theme-light-blue .fit-help-banner > *,
html.theme-light-blue .footer-cta > *,
html.theme-light-blue .footer-main > *,
html.theme-light-blue .contact-main > * {
  position: relative;
  z-index: 1;
}
html.theme-light-blue .footer-main,
html.theme-light-blue .contact-main {
  background: linear-gradient(135deg, #15357a 0%, #1f489e 55%, #2F62C8 100%);
}

/* 20261031 最新消息列表與內頁附圖 */
.news-card__media--contain {
  background-color: #f4f6fa;
}
.news-card__media--contain img {
  object-fit: contain;
}
.news-card p.news-booth {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  flex-grow: 0;
}
.news-card p.news-desc {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.article-booth-badge {
  display: inline-block;
  background-color: var(--blue-50);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.article-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 32px;
}
@media (min-width: 576px) {
  .article-gallery--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-gallery--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.article-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--gray-50);
}
.article-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* 20261104 產品內頁多圖放大 (R15)、客戶評價卡片 (R16-R18)、聯絡表單防機器人驗證 (R29) */
.gallery__slide img[data-lightbox-src] {
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.gallery__slide img[data-lightbox-src]:hover {
  transform: scale(1.02);
}
.gallery__thumbs {
  flex-wrap: wrap;
  margin-top: 12px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(20, 23, 84, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-50);
  background: var(--gray-50);
  flex-shrink: 0;
}
.review-card__name {
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  margin: 0 0 4px;
}
.review-card__stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-card__comment {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.bot-verify-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
}
.bot-verify-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  margin: 0;
  user-select: none;
}
.bot-verify-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
  cursor: pointer;
}
.bot-verify-badge {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
