i.fas,
i.far,
i.fab {
  font-size: 0;
  vertical-align: middle;
}
i.fas::before,
i.far::before,
i.fab::before {
  font-size: 18px; /* 依你原本圖示大小調整 */
}


.about-scope {
  font-family: var(--font-family);
  color: var(--color-ink);
}

.about-scope .container {
  max-width: 1200px;
}

/* ---------- 1. Hero（Banner 背景圖） ---------- */
.about-hero {
  position: relative;
  text-align: center;
  padding: 72px 24px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--color-navy); /* 圖片載入前/失敗時的底色 */
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 23, 48, 0.82), rgba(25, 61, 149, 0.6));
  z-index: 1;
}
.about-hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(24px, 4.2vw, 32px);
  font-weight: 800;
  color: var(--color-text-light);
  margin: 0 0 12px;
}
.about-hero-sub {
  position: relative;
  z-index: 2;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- 2. 共用區塊標題 ---------- */
.about-section-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary-light);
}

.about-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-ink);
  margin: 0 0 14px;
}
.about-text:last-child {
  margin-bottom: 0;
}

/* ---------- 3. 公司簡介（左文字、右重點卡片） ---------- */
.about-profile {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 48px;
  padding: 44px 40px;
  margin-bottom: 56px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-paper);
}
/* 裝飾性弧線背景，比照參考圖右側的淡藍暈染波紋 */
.about-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 320px at 88% 15%, rgba(25, 61, 149, 0.10), transparent 60%),
    radial-gradient(420px 300px at 100% 90%, rgba(25, 61, 149, 0.08), transparent 65%);
  pointer-events: none;
}

.about-profile-left {
  position: relative;
  flex: 1 1 46%;
  min-width: 0;
}
.about-profile-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 18px;
}
.about-profile-eyebrow span {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
}

.about-profile-right {
  position: relative;
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-width: 0;
}
.about-highlight-card {
  background: #ffffff;
  border-radius: 999px;
  padding: 20px 36px;
  text-align: center;
  box-shadow: var(--shadow-default);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.about-highlight-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.about-highlight-title {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 800;
  color: var(--color-navy);
}
.about-highlight-sub {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

/* ---------- 4. 沿革 Timeline（置中） ---------- */
.about-section-title-center {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}
.about-section-title-center::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-primary-light);
  margin: 12px auto 0;
}

.about-timeline-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.about-timeline {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding-left: 22px;
  border-left: 2px solid var(--color-primary-light);
}
.about-tl-item {
  position: relative;
  padding-bottom: 28px;
}
.about-tl-item:last-child {
  padding-bottom: 0;
}
.about-tl-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}
.about-tl-year {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  background: var(--color-primary);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  line-height: 1.5;
}
.about-tl-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-ink);
  max-width: 720px;
}

/* ---------- 5. 專業認證卡片（比照 .ctx-card 語彙） ---------- */
.about-cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.about-cert-card {
  flex: 1 1 280px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.about-cert-card:hover {
  border-color: #e6ebf5;
  box-shadow: 0 6px 16px rgba(25, 61, 149, 0.08);
  background: #fbfcff;
}

/* 圖片放置區（證書 / 實績照片，尚未有圖時顯示佔位樣式） */
.about-cert-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 160px;
  background: var(--color-paper);
  border-bottom: 1px dashed var(--color-line);
  color: var(--color-muted);
}

.about-cert-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* badge（icon）靠左，標題+說明堆疊在右側 */
.about-cert-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 24px;
}
.about-cert-badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.about-cert-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.about-cert-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-navy);
  margin: 0;
}
.about-cert-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0;
}

/* ---------- 6. CTA ---------- */
.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--color-navy);
  background-image: linear-gradient(135deg, var(--color-primary-dark), var(--color-navy));
  color: var(--color-text-light);
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 56px;
}
.about-cta-text h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--color-text-light);
}
.about-cta-text p {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  color: var(--color-text-light);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--border-radius);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.about-cta-btn:hover,
.about-cta-btn:focus {
  background: #b9000d;
  color: var(--color-text-light);
  text-decoration: none;
  transform: translateX(2px);
}
.about-cta-btn span {
  transition: transform 0.25s ease;
}
.about-cta-btn:hover span {
  transform: translateX(4px);
}

/* ============================================================
   RWD
   ============================================================ */

/* ---------- md：768–991px（平板，維持雙欄但收緊間距） ---------- */
@media (max-width: 991px) {
  .about-profile { gap: 32px; padding: 36px 32px; }
  .about-highlight-card { padding: 18px 28px; }
  .about-cta { padding: 24px 26px; }
}

/* ---------- sm：≤767px（手機，欄位改單欄堆疊） ---------- */
@media (max-width: 767px) {
  .about-hero { padding: 44px 20px; margin-bottom: 28px; border-radius: 12px; }
  .about-hero-sub { font-size: 15px; }

  .about-section-title { font-size: 19px; }

  .about-profile {
    flex-direction: column;
    gap: 28px;
    padding: 28px 22px;
    border-radius: 12px;
    margin-bottom: 40px;
  }
  .about-profile-eyebrow { font-size: 19px; }
  .about-profile-right { gap: 12px; }
  .about-highlight-card { padding: 16px 24px; }
  .about-highlight-title { font-size: 19px; }

  .about-timeline { padding-left: 18px; }
  .about-timeline-wrap { margin-bottom: 36px; }

  .about-cert-list { gap: 14px; margin-bottom: 36px; }
  .about-cert-img { height: 130px; }
  .about-cert-body { padding: 18px 18px 20px; gap: 12px; }
  .about-cert-badge { width: 38px; height: 38px; font-size: 16px; }
  .about-cert-name { font-size: 16px; }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    margin-bottom: 40px;
  }
  .about-cta-btn { width: 100%; justify-content: center; }
}

/* ---------- xs：≤480px（小螢幕手機，再收緊字級與間距） ---------- */
@media (max-width: 480px) {
  .about-hero { padding: 36px 16px; }
  .about-hero-sub { font-size: 14px; }

  .about-profile { padding: 22px 18px; gap: 22px; }
  .about-text { font-size: 14px; } /* 最小文字下限 */

  .about-highlight-card { padding: 14px 18px; }
  .about-highlight-title { font-size: 17px; }
  .about-highlight-sub { font-size: 14px; }

  .about-cert-card { flex: 1 1 100%; }
  .about-cert-body { flex-direction: column; align-items: flex-start; }
}