/* ============================================================
   關於我們 about.php（含 RWD）
   來源 style.css 行 7648-8424（純搬移，內容未改）
   ============================================================ */

/* ============================================================
   MARK: About Page (about.php) - 關於橘野
   ============================================================ */
@import url('news.css');

/* ---- HERO（左標題 + 右介紹 + 拼貼） ---- */
.ab-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--c-bg-white);
  overflow: hidden;
}

.ab-hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* 標題（依 Figma 1413:43830）：橘色 #f39800、64px、Medium */
.ab-hero-title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 500;
  color: var(--c-brand);
  margin: 0 0 24px;
  letter-spacing: 0;
  line-height: 1.15;
}

/* 副標（依 Figma 1413:43831）：深色 #222、24px、Medium、字距 1.2px */
.ab-hero-subtitle {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-text-2);
  margin: 0;
  letter-spacing: 1.2px;
}

/* 介紹段（依 Figma 1413:43835）：深色、16px、行高 1.5 */
.ab-hero-intro {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--c-text-2);
  margin: 0;
}

/* 影像拼貼舞台（依 Figma 1413:43828 等比定位；參考框 1480×758） */
.ab-hero-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1480 / 758;
  z-index: 1;
}

.ab-hero-collage > * {
  position: absolute;
  margin: 0;
}

.ab-hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 兩側橘色裝飾膠囊（位於照片下層） */
.ab-hero-pill {
  z-index: 0;
  border-radius: 999px;
  overflow: hidden;
}

.ab-hero-pill--left {
  left: 0;
  top: 13.9%;
  width: 14%;
  height: 86.1%;
}

.ab-hero-pill--right {
  left: 86.1%;
  top: 0;
  width: 13.9%;
  height: 66.7%;
  opacity: 0.76;
}

/* 白框圓角實照（位於膠囊上層） */
.ab-hero-shot {
  z-index: 1;
  overflow: hidden;
  border-radius: 30px;
  border: 3px solid #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.ab-hero-shot--checklist {
  left: 6.6%;
  top: 9.4%;
  width: 30.2%;
  height: 38.6%;
}

.ab-hero-shot--charts {
  left: 39.7%;
  top: 19.7%;
  width: 25.7%;
  height: 61.7%;
}

.ab-hero-shot--digital {
  left: 68.3%;
  top: 28.6%;
  width: 22.9%;
  height: 23.8%;
}

.ab-hero-shot--network {
  left: 14%;
  top: 50.5%;
  width: 22.9%;
  height: 23.8%;
}

.ab-hero-shot--handshake {
  left: 68.3%;
  top: 54.7%;
  width: 26.8%;
  height: 34.9%;
}

/* 平板以下 */
@media (max-width: 767.98px) {
  .ab-hero-collage {
    aspect-ratio: 768 / 1000;
  }

  .ab-hero-pill--left {
    top: 0%;
    width: 22%;
    height: 65%;
  }

  .ab-hero-pill--right {
    top: 6%;
    left: 78%;
    width: 22%;
    height: 94%;
  }

  .ab-hero-shot--checklist {
    width: 45%;
    height: 31%;
    left: 4%;
  }

  .ab-hero-shot--network {
    top: 44%;
    width: 35%;
    height: 21%;
  }

  .ab-hero-shot--charts {
    left: 54%;
    top: 16%;
    width: 41%;
    height: 55%;
  }

  .ab-hero-shot--handshake {
    left: 8%;
    top: 68%;
    width: 42%;
    height: 26%;
  }

  .ab-hero-shot--digital {
    left: 54%;
    top: 73%;
    width: 34%;
    height: 18%;
  }
}

/* ---- 一站式整合服務（6 鑽石磚） ---- */
.ab-services {
  padding: 60px 0 calc(15.625vw + 30px);
  position: relative;
}

.ab-services::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15.625vw;
  background-image: url(../../img/geyes-design-bg.png);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  content: '';
}

.ab-services-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 64px;
}

.ab-services-title {
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--c-black);
  margin: 0 0 24px;
  letter-spacing: 1px;
}

.ab-services-desc {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c-black);
  margin: 0;
}

.ab-diamonds {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 0;
}

.ab-diamond {
  width: 200px;
  height: 200px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    var(--c-text) 0%,
    var(--c-text-2) 55%,
    var(--c-brand-hover) 160%
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ab-diamond + .ab-diamond {
  margin-left: -40px;
}

/* 交錯排列：偶數上移、奇數下移，形成蜂巢咬合 */
.ab-diamond:nth-child(odd) {
  transform: rotate(45deg) translate(0, 60px);
}

.ab-diamond:nth-child(even) {
  transform: rotate(45deg) translate(0, -60px);
}

.ab-diamond:hover {
  box-shadow: 0 22px 50px rgba(237, 109, 31, 0.4);
  z-index: 2;
}

.ab-diamond-inner {
  transform: rotate(-45deg);
  width: 150px;
  text-align: center;
  color: var(--c-on-dark);
}

.ab-diamond-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 12px;
}

.ab-diamond-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
}

.ab-diamond-sub {
  font-size: 11px;
  line-height: 1.5;
  color: var(--c-input-border);
  margin: 0;
}

/* ---- 數據區（黑底 + 上下波浪 + 白色紋路 + 白色卡片，依 Figma 1413:43470/43474） ---- */
/* 不使用 overflow:hidden，避免裁掉貼齊上下緣的波浪；上下以徑向漸層墊一層霧化光暈，
   波浪 SVG 以 screen 混合疊在其上做質感，確保在純黑底上清楚可見 */

.ab-stats {
  position: relative;
  padding: 30px 0;
  background: #191919;
  color: var(--c-on-dark);
  isolation: isolate;
}

/* 中央白色紋路網格：提亮混合，半透明 */
.ab-stats-mesh {
  position: absolute;
  left: 0%;
  top: 30%;
  transform: translate(0%, -50%);
  width: 90%;
  height: auto;
  opacity: 0.33;
  mix-blend-mode: lighten;
  pointer-events: none;
  z-index: 0;
}

/* 內容浮於背景之上 */
.ab-stats > .container {
  position: relative;
  z-index: 1;
}

/* 標語列：橘起夢想　野望未來（首字橘色，其餘白，無分隔線） */
.ab-stats-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  font-size: var(--fs-2xl);
  font-weight: 400;
  letter-spacing: 8px;
  color: var(--c-on-dark);
  margin-bottom: 56px;
}

.ab-stats-slogan .accent {
  color: var(--c-brand);
}

.ab-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1267px;
  margin: 0 auto;
  text-align: center;
}

/* 白色卡片：圓角 + 陰影，內容垂直置中 */
.ab-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 237px;
  padding: 40px 24px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ab-stat-label {
  font-size: var(--fs-lg);
  color: #222;
  margin: 0 0 16px;
}

.ab-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(56px, 6vw, 72px);
  font-weight: 500;
  line-height: 1;
  margin: 0;
  color: var(--c-brand);
}

.ab-stat-unit {
  font-size: var(--fs-lg);
  margin-left: 6px;
  color: var(--c-brand);
}

.ab-stat-awards {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  color: var(--c-brand);
}

/* 底部標語：GRAND FUTURE EYES ON VALUE（淺灰 + 橘色強調） */
.ab-stats-tagline {
  text-align: center;
  margin: 56px 0 80px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: 3px;
  line-height: 1;
  color: #d6d6d6;
}

.ab-stats-tagline .accent {
  color: var(--c-yellow);
}

/* ---- 我們的優勢（6 卡） ---- */
/* ---- ab-cert / ab-adv / ab-plans 三區共用白色紋路背景（依 Figma 1413:42969） ---- */
.ab-bg-span {
  position: relative;
  background-image: url(../../img/ab-sections-bg.png);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 三區去除原本實色底，露出共用紋路背景（保留各自的 ::before/::after 裝飾） */
.ab-bg-span > .ab-cert,
.ab-bg-span > .ab-adv,
.ab-bg-span > .ab-plans {
  background: transparent;
}

.ab-adv {
  padding: 96px 0;
  background: var(--c-bg-page);
}

.ab-adv-title {
  text-align: center;
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--c-text-2);
  margin: 0 0 64px;
  letter-spacing: 1px;
}

.ab-adv-title .accent {
  color: var(--c-brand);
}

.ab-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 40px;
}

/* 每張卡：icon 左 + 內容右（編號＋標題同行、內文在下） */
.ab-adv-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* 圖示：以遮罩渲染 SVG 形狀，顏色由 background-color 控制（預設深色，hover 轉橘） */
.ab-adv-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
}
.ab-adv-icon {
  flex: 0 0 auto;
  width: 90%;
  height: 90%;
  background-color: var(--c-text-2);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center top;
  mask-position: center top;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color 0.25s ease;
}

/* 各卡圖示形狀（路徑相對 about.css，確保解析正確） */
.ab-adv-card:nth-child(1) .ab-adv-icon-wrap .ab-adv-icon {
  -webkit-mask-image: url(../../img/ab-adv-1.svg);
  mask-image: url(../../img/ab-adv-1.svg);
}

.ab-adv-card:nth-child(2) .ab-adv-icon-wrap .ab-adv-icon {
  -webkit-mask-image: url(../../img/ab-adv-2.svg);
  mask-image: url(../../img/ab-adv-2.svg);
}

.ab-adv-card:nth-child(3) .ab-adv-icon-wrap .ab-adv-icon {
  -webkit-mask-image: url(../../img/ab-adv-3.svg);
  mask-image: url(../../img/ab-adv-3.svg);
}

.ab-adv-card:nth-child(4) .ab-adv-icon-wrap .ab-adv-icon {
  -webkit-mask-image: url(../../img/ab-adv-4.svg);
  mask-image: url(../../img/ab-adv-4.svg);
}

.ab-adv-card:nth-child(5) .ab-adv-icon-wrap .ab-adv-icon {
  -webkit-mask-image: url(../../img/ab-adv-5.svg);
  mask-image: url(../../img/ab-adv-5.svg);
}

.ab-adv-card:nth-child(6) .ab-adv-icon-wrap .ab-adv-icon {
  -webkit-mask-image: url(../../img/ab-adv-6.svg);
  mask-image: url(../../img/ab-adv-6.svg);
}

.ab-adv-body {
  flex: 1;
  min-width: 0;
}

.ab-adv-card-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-bg-black);
  margin: 0 0 14px;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.ab-adv-num {
  display: inline-block;
  color: var(--c-text);
  font-size: var(--fs-md);
  font-weight: 600;
  margin-right: 10px;
  vertical-align: -1px;
  transition: color 0.25s ease;
}

/* hover：圖示 + 編號 + 標題轉橘色（每張卡皆套用；第一張卡不再預設橘色，改為一般深色） */
.ab-adv-card:hover .ab-adv-icon {
  background-color: var(--c-brand);
}

.ab-adv-card:hover .ab-adv-num,
.ab-adv-card:hover .ab-adv-card-title {
  color: var(--c-brand);
}

.ab-adv-desc {
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: var(--c-text-2);
  margin: 0;
}

/* ---- 案例與方案（左 LOGO 牆 + 右 2 張玻璃方案卡） ---- */
.ab-plans {
  padding: 96px 0;
  background: var(--c-bg-white);
}

.ab-plans .sw-cases {
  padding: 32px;
}
@media (max-width: 991px) {
  .ab-plans .sw-cases {
    padding: 15px;
  }
}
@media (max-width: 575px) {
  .ab-plans {
    padding: 64px 0;
  }
}

.ab-plans-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}

.ab-plans-title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--c-text-2);
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.ab-plans-sub {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  margin: 0;
}

/* 案例切換 tabs（膠囊列） */
.ab-plans-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 0 auto 56px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 71px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.ab-plans-tab {
  flex: 1;
  max-width: 365px;
  height: 54px;
  border: 0.5px solid var(--c-grey-mid);
  border-radius: 40px;
  background: var(--c-bg-white);
  color: var(--c-grey-dark);
  font-size: var(--fs-md);
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ab-plans-tab.is-active {
  background: linear-gradient(to right, var(--c-teal), var(--c-text-2));
  border-color: transparent;
  color: var(--c-on-dark);
  font-weight: 500;
}

.ab-plans-tab:hover:not(.is-active) {
  border-color: var(--c-teal);
  color: var(--c-teal);
}

.ab-plans-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* 分頁面板：預設隱藏，僅顯示帶 is-active 的面板（依 tab 切換） */
.ab-plans-panel {
  display: none;
}

.ab-plans-panel.is-active {
  display: grid;
}

/* 左：LOGO 牆 */
.ab-plans-logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-plans-logos img {
  width: 100%;
  height: 650px;
  object-fit: contain;
  display: block;
  mix-blend-mode: darken;
}

@media (max-width: 575px) {
  .ab-plans-logos img {
    height: 370px;
  }
}

/* 右：方案卡 */
.ab-plans-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-plan-card {
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--c-on-dark);
  border-radius: 20px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.16);
}

.ab-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ab-plan-en {
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--c-text-2);
  margin: 0 0 4px;
  letter-spacing: -0.6px;
}

.ab-plan-name {
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--c-bg-black);
  margin: 0;
  letter-spacing: -0.5px;
}

.ab-plan-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 6px;
}

.ab-plan-tags span {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 14px;
  background: var(--c-teal);
  color: var(--c-on-dark);
  border-radius: 32px;
  font-size: var(--fs-xs);
  white-space: nowrap;
}

.ab-plan-desc {
  font-size: var(--fs-sm);
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-bg-black);
  margin: 0 0 18px;
  letter-spacing: -0.3px;
}

.ab-plan-divider {
  border: 0;
  border-top: 1px dashed var(--c-grey-mid);
  margin: 0 0 16px;
}

.ab-plan-price {
  margin: 0;
  text-align: right;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
}

.ab-plan-price-cur {
  font-size: var(--fs-xl);
  color: var(--c-text-2);
  letter-spacing: -0.6px;
}

.ab-plan-price-num {
  font-size: var(--fs-3xl);
  font-weight: 400;
  color: var(--c-brand);
  line-height: 1;
  letter-spacing: -0.6px;
}

.ab-plan-price-tail {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--c-bg-black);
}

/* ---- 為什麼選擇我們（放射 5 瓣 + 中心圓） ---- */
/* 背景由兩層組成（依 Figma 1413:43587）：
   下層＝橘色漸層底圖；上層＝底部白色漸層（淡出至下一區淺灰 #f0f0f0） */
.ab-why {
  position: relative;
  padding: 15.5vw 0 90px 0;
  background-color: #f0f0f0;
  background-image:
    url(../../img/ab-why-white.svg), url(../../img/ab-why-bg-orange.png);
  background-repeat: no-repeat, no-repeat;
  background-position:
    bottom center,
    center;
  background-size:
    100% 60%,
    cover;
}

@media (max-width: 575px) {
  .ab-why {
    padding: 15.5vw 0 0px 0;
  }
}

.ab-why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30.9375vw;
  transform: translateY(-50%);
  background-image: url(../../img/ab-why-white-top.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

.ab-why-stage {
  position: relative;
  height: 985px;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .ab-why-stage {
    height: 740px;
  }
}

/* 中心圓（依 Figma Ellipse 127）：透明圓 + 白色細框 + 柔和投影，露出橘色底；文字白色 */
.ab-why-center {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: url(../../img/ab-why-center-bg.svg) center / cover no-repeat;
  border: 1px solid #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
}

@media (max-width: 1440px) {
  .ab-why-center {
    width: 300px;
    height: 300px;
  }
}

/* Why Choose Us：Montserrat Medium 32px 白 */
.ab-why-center-en {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 500;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}

/* 為什麼選擇我們：24px 白、字距 2.4px */
.ab-why-center-zh {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: #fff;
  margin: 0;
  letter-spacing: 2.4px;
}

@media (max-width: 1199px) {
  .ab-why-center {
    width: 300px;
    height: 300px;
  }

  .ab-why-center {
    width: 260px;
    height: 260px;
  }

  .ab-why-center-en {
    font-size: var(--fs-md);
    margin-bottom: 4px;
  }

  .ab-why-center-zh {
    font-size: var(--fs-base);
    letter-spacing: 1px;
  }
}

/* 背景浮水印：GEYES DESIGN（文字區塊 div 以 mask 取 SVG 形狀，白色半透明） */
.ab-why-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  pointer-events: none;
  overflow: hidden;
}

.ab-why-wm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ab-why-wm-geyes,
.ab-why-wm-design {
  background-color: #fff;
  opacity: 0.46;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ab-why-wm-geyes {
  width: 46%;
  aspect-ratio: 635.656 / 122.191;
  -webkit-mask-image: url(../../img/ab-why-geyes.svg);
  mask-image: url(../../img/ab-why-geyes.svg);
}

.ab-why-wm-design {
  width: 46%;
  aspect-ratio: 645.242 / 116.39;
  -webkit-mask-image: url(../../img/ab-why-design.svg);
  mask-image: url(../../img/ab-why-design.svg);
}

.ab-why-petal {
  position: absolute;
  padding: 24px 26px;
  z-index: 1;
}

.ab-why-content {
  position: absolute;
}

@media (max-width: 991px) {
  .ab-why-content {
    position: relative;
  }
}

.ab-why-num {
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  font-size: var(--fs-6xl);
  font-weight: 300;
  color: rgba(243, 152, 0, 0.5);
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 1440px) {
  .ab-why-num {
    font-size: var(--fs-5xl);
  }
}

.ab-why-title {
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--c-text-2);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1440px) {
  .ab-why-title {
    font-size: var(--fs-md);
  }
}

.ab-why-desc {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--c-divider);
  margin: 0;
}

@media (max-width: 1199px) {
  .ab-why-desc {
    font-size: var(--fs-xs);
  }
}

/* 5 瓣放射定位 */
.ab-why-petal--1 {
  background: url(../../img/ab-why-petal-1.svg) center / contain no-repeat;
  width: 410px;
  height: 437px;
  top: 160px;
  left: 110px;
}

@media (max-width: 1440px) {
  .ab-why-petal--1 {
    width: 370px;
    height: 395px;
    top: 150px;
    left: 160px;
  }
}

@media (max-width: 1400px) {
  .ab-why-petal--1 {
    top: 155px;
    left: 30px;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--1 {
    width: 340px;
    height: 362px;
    top: 94px;
    left: -22px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--1 {
    background: #fff;
    height: auto;
    top: auto;
    left: auto;
  }
}

.ab-why-petal--1 .ab-why-num {
  top: 38%;
  right: 7%;
}

@media (max-width: 1199px) {
  .ab-why-petal--1 .ab-why-num {
    top: 40%;
    right: 10%;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--1 .ab-why-num {
    top: auto;
    right: auto;
  }
}

.ab-why-petal--1 .ab-why-content {
  left: 9%;
  top: 31%;
  width: 238px;
}

@media (max-width: 1440px) {
  .ab-why-petal--1 .ab-why-content {
    top: 24%;
    width: 238px;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--1 .ab-why-content {
    top: 23%;
    width: 195px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--1 .ab-why-content {
    left: auto;
    top: auto;
    width: 100%;
  }
}

.ab-why-petal--5 {
  background: url(../../img/ab-why-petal-5.svg) center / contain no-repeat;
  width: 410px;
  height: 437px;
  top: 155px;
  right: 105px;
}

@media (max-width: 1440px) {
  .ab-why-petal--5 {
    width: 370px;
    height: 395px;
    top: 140px;
    right: 160px;
  }
}

@media (max-width: 1400px) {
  .ab-why-petal--5 {
    width: 370px;
    height: 395px;
    top: 147px;
    right: 26px;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--5 {
    width: 340px;
    height: 365px;
    top: 87px;
    right: -22px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--5 {
    background: #fff;
    height: auto;
    top: auto;
    right: auto;
  }
}

.ab-why-petal--5 .ab-why-num {
  top: 39%;
  left: 8%;
}

@media (max-width: 1199px) {
  .ab-why-petal--5 .ab-why-num {
    top: 42%;
    left: 8%;
  }
}

.ab-why-petal--5 .ab-why-content {
  left: 45%;
  top: 30%;
  width: 200px;
}

@media (max-width: 1440px) {
  .ab-why-petal--5 .ab-why-content {
    left: 39%;
    top: 29%;
    width: 200px;
  }
}

@media (max-width: 1400px) {
  .ab-why-petal--5 .ab-why-content {
    left: 39%;
    top: 29%;
    width: 200px;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--5 .ab-why-content {
    left: 42%;
    width: 165px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--5 .ab-why-content {
    left: auto;
    top: auto;
    width: 100%;
  }
}

.ab-why-petal--2 {
  background: url(../../img/ab-why-petal-2.svg) center / contain no-repeat;
  width: 457px;
  height: 463px;
  top: 475px;
  left: 170px;
}

@media (max-width: 1440px) {
  .ab-why-petal--2 {
    width: 417px;
    height: 423px;
    top: 411px;
    left: 204px;
  }
}

@media (max-width: 1400px) {
  .ab-why-petal--2 {
    top: 416px;
    left: 73px;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--2 {
    width: 387px;
    height: 393px;
    top: 336px;
    left: 13px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--2 {
    background: #fff;
    height: auto;
    top: auto;
    left: auto;
  }
}

.ab-why-petal--2 .ab-why-num {
  top: 12%;
  right: 12%;
}

@media (max-width: 991px) {
  .ab-why-petal--2 .ab-why-num {
    top: auto;
    right: auto;
  }
}

.ab-why-petal--2 .ab-why-content {
  left: 28%;
  top: 30%;
  width: 240px;
}

@media (max-width: 991px) {
  .ab-why-petal--2 .ab-why-content {
    left: auto;
    top: auto;
    width: 100%;
  }
}

@media (max-width: 1440px) {
  .ab-why-petal--2 .ab-why-content {
    left: 29%;
    top: 24%;
    width: 210px;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--2 .ab-why-content {
    left: 30%;
    top: 24%;
    width: 195px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--2 .ab-why-content {
    left: auto;
    top: auto;
    width: 100%;
  }
}

.ab-why-petal--4 {
  background: url(../../img/ab-why-petal-4.svg) center / contain no-repeat;
  width: 463px;
  height: 457px;
  top: 475px;
  right: 155px;
}

@media (max-width: 1440px) {
  .ab-why-petal--4 {
    width: 423px;
    height: 417px;
    top: 412px;
    right: 196px;
  }
}

@media (max-width: 1400px) {
  .ab-why-petal--4 {
    top: 420px;
    right: 60px;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--4 {
    width: 393px;
    height: 387px;
    top: 342px;
    right: 10px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--4 {
    background: #fff;
    height: auto;
    top: auto;
    right: auto;
  }
}

.ab-why-petal--4 .ab-why-num {
  top: 10%;
  left: 13%;
}

.ab-why-petal--4 .ab-why-content {
  left: 27%;
  top: 31%;
  width: 235px;
}

@media (max-width: 1199px) {
  .ab-why-petal--4 .ab-why-content {
    left: 30%;
    top: 31%;
    width: 168px;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--4 .ab-why-content {
    left: auto;
    top: auto;
    width: 100%;
  }
}

.ab-why-petal--3 {
  background: url(../../img/ab-why-petal-3.svg) center / contain no-repeat;
  width: 437px;
  height: 410px;
  bottom: -5px;
  left: 35.5%;
}

@media (max-width: 1440px) {
  .ab-why-petal--3 {
    width: 397px;
    height: 372px;
    bottom: 110px;
    left: 36%;
  }
}

@media (max-width: 1400px) {
  .ab-why-petal--3 {
    bottom: 106px;
    left: 32.9%;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--3 {
    width: 367px;
    height: 342px;
    bottom: -28px;
    left: 30.7%;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--3 {
    background: #fff;
    height: auto;
    top: auto;
    left: auto;
    bottom: auto;
  }
}

.ab-why-petal--3 .ab-why-num {
  top: 40px;
  left: 36%;
}

@media (max-width: 1199px) {
  .ab-why-petal--3 .ab-why-num {
    top: 40px;
    left: 40%;
  }
}

.ab-why-petal--3 .ab-why-content {
  text-align: center;
  left: 25%;
  top: 40%;
  width: 220px;
}

@media (max-width: 1400px) {
  .ab-why-petal--3 .ab-why-content {
    left: 27%;
  }
}

@media (max-width: 1199px) {
  .ab-why-petal--3 .ab-why-content {
    left: 25%;
  }
}

@media (max-width: 991px) {
  .ab-why-petal--3 .ab-why-content {
    left: auto;
    top: auto;
    width: 100%;
  }
}

/* 輪播容器：桌機透明化（display:contents 不影響放射絕對定位），左右切換鈕隱藏 */
.ab-why-viewport,
.ab-why-track {
  display: contents;
}

.ab-why-nav {
  display: none;
}

/* 桌機：5 瓣於捲動進場時依序（1~5）淡入上浮
   初始隱藏狀態僅在 JS 加上 .js-anim 後才套用，避免 JS 失效時看不到內容 */
@media (min-width: 992px) {
  .ab-why-stage.js-anim .ab-why-petal {
    opacity: 0;
    transition:
      opacity 0.9s ease,
      transform 0.9s ease;
  }

  /* 各瓣進場方向（隱藏時的起始位移，進場後歸零） */
  .ab-why-stage.js-anim .ab-why-petal--1 {
    transform: translateX(-48px);
  } /* 1：左 → 右 */
  .ab-why-stage.js-anim .ab-why-petal--2 {
    transform: translate(-48px, 48px);
  } /* 2：左下 → 右上 */
  .ab-why-stage.js-anim .ab-why-petal--3 {
    transform: translateY(48px);
  } /* 3：下 → 上 */
  .ab-why-stage.js-anim .ab-why-petal--4 {
    transform: translate(48px, 48px);
  } /* 4：右下 → 左上 */
  .ab-why-stage.js-anim .ab-why-petal--5 {
    transform: translateX(48px);
  } /* 5：右 → 左 */

  .ab-why-stage.js-anim.is-inview .ab-why-petal {
    opacity: 1;
    transform: translate(0, 0);
  }

  /* 依序延遲：01 最先、05 最後 */
  .ab-why-stage.js-anim.is-inview .ab-why-petal--1 {
    transition-delay: 0s;
  }
  .ab-why-stage.js-anim.is-inview .ab-why-petal--2 {
    transition-delay: 0.35s;
  }
  .ab-why-stage.js-anim.is-inview .ab-why-petal--3 {
    transition-delay: 0.7s;
  }
  .ab-why-stage.js-anim.is-inview .ab-why-petal--4 {
    transition-delay: 1.05s;
  }
  .ab-why-stage.js-anim.is-inview .ab-why-petal--5 {
    transition-delay: 1.4s;
  }

  /* 尊重使用者「減少動態」偏好：直接顯示不做位移動畫 */
  @media (prefers-reduced-motion: reduce) {
    .ab-why-stage.js-anim .ab-why-petal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
}

/* ---- FAQ（沿用首頁手風琴，置中標題） ---- */
.ab-faq {
  padding: 96px 0;
  background: var(--c-bg-page);
}

.ab-faq-head {
  text-align: center;
  margin-bottom: 48px;
}

.ab-faq-sub {
  font-size: var(--fs-caption);
  color: var(--c-placeholder);
  margin: 12px 0 0;
}

.ab-faq-list {
  margin: 0 auto;
}

/* ============ RWD ============ */
@media (max-width: 991px) {
  .ab-hero {
    padding: 90px 0 60px;
  }

  .ab-hero-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 鑽石磚改為直立卡片網格 */
  .ab-diamonds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
  }

  .ab-diamond {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    transform: none !important;
    border-radius: 20px;
    margin: 0 !important;
  }

  .ab-diamond-inner {
    transform: none;
    width: 80%;
  }

  .ab-adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .ab-plans-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ab-plans-tabs {
    flex-direction: column;
    border-radius: 28px;
  }

  .ab-plans-tab {
    max-width: none;
    width: 100%;
    font-size: var(--fs-sm);
  }

  .ab-plan-head {
    flex-direction: column;
  }

  .ab-plan-tags {
    justify-content: flex-start;
  }

  /* 方案區塊：手機改為方案卡在上、LOGO 牆在下（桌機為左右兩欄） */
  .ab-plans-cards {
    order: 1;
  }

  .ab-plans-logos {
    order: 2;
  }

  /* why-choose 改為手機輪播：中心圓在上、一次顯示一瓣、下方左右切換鈕 */

  .ab-why-watermark {
    display: none;
  }

  .ab-why-center {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    width: 260px;
    height: 260px;
    margin: 0 auto -36px;
    padding: 0;
    z-index: 3;
  }

  .ab-why-center-en {
    font-size: var(--fs-md);
    margin-bottom: 4px;
  }

  .ab-why-center-zh {
    font-size: var(--fs-base);
    letter-spacing: 1px;
  }

  .ab-why-viewport {
    display: block;
    overflow: hidden;
    border-radius: 18px;
  }

  .ab-why-track {
    display: flex;
    transition: transform 0.4s ease;
  }

  .ab-why-petal {
    position: relative !important;
    flex: 0 0 100%;
    width: 100%;
    transform: none !important;
    margin: 0;
    min-height: 380px;
    padding: 84px 28px 40px;
    text-align: center;
  }

  /* 手機版編號改為置中大字，標題說明置中 */
  .ab-why-num {
    position: static;
    display: block;
    font-size: 72px;
    color: rgba(243, 152, 0, 0.55);
    margin-bottom: 8px;
  }

  .ab-why-title {
    font-size: var(--fs-lg);
    margin-bottom: 16px;
  }

  .ab-why-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
  }

  .ab-why-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--c-brand);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease;
  }

  .ab-why-arrow:active {
    transform: scale(0.95);
  }
}

@media (max-width: 768px) {
  .ab-hero {
    padding: 90px 0 0;
  }
}

@media (max-width: 575.98px) {
  .ab-services-title,
  .ab-adv-title {
    font-size: var(--fs-lg);
  }

  .ab-diamonds {
    grid-template-columns: 1fr;
  }

  /* 數據維持三欄並排（依設計），縮小卡片與字級 */
  .ab-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .ab-stat {
    min-height: 0;
    padding: 18px 8px;
    border-radius: 18px;
  }

  .ab-stat-label {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .ab-stat-num {
    font-size: clamp(26px, 8.5vw, 40px);
  }

  .ab-stat-unit {
    font-size: 13px;
    margin-left: 3px;
  }

  .ab-stat-awards {
    font-size: 13px;
    line-height: 1.4;
  }

  .ab-adv-grid {
    grid-template-columns: 1fr;
  }

  .ab-stats-eyebrow {
    flex-wrap: wrap;
    gap: 12px 32px;
    font-size: var(--fs-lg);
    letter-spacing: 4px;
  }
}

/* ============================================================
   MARK: 服務磚（8 拼圖磚，整列匯出圖，取代原 6 鑽石）
   ============================================================ */
.ab-service-tiles {
  margin-top: 56px;
  text-align: center;
}

/* 小螢幕：保持單列、可橫向捲動，避免磚塊被壓到看不清 */
@media (max-width: 767.98px) {
  .ab-service-tiles {
    overflow-x: auto;
  }
}

.onestop-puzzle-block {
  width: 100%;
  overflow-x: visible;
  margin: 0 auto;
}

@media (max-width: 1600px) {
  .onestop-puzzle-block {
    overflow-x: auto;
    /* 左右漸淡：iOS 不顯示滑桿，僅在此斷點以下會橫向捲動才套用遮罩漸層。
       JS 依捲動位置切換 is-at-start / is-at-end 關閉該側（不加動畫） */
    --onestop-fade-left: 28px;
    --onestop-fade-right: 28px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--onestop-fade-left),
      #000 calc(100% - var(--onestop-fade-right)),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--onestop-fade-left),
      #000 calc(100% - var(--onestop-fade-right)),
      transparent 100%
    );
  }
  /* 已捲到最左：取消左側漸淡 */
  .onestop-puzzle-block.is-at-start {
    --onestop-fade-left: 0px;
  }
  /* 已捲到最右：取消右側漸淡 */
  .onestop-puzzle-block.is-at-end {
    --onestop-fade-right: 0px;
  }
}

.onestop-puzzle-block::-webkit-scrollbar {
  height: 10px;
}
 
.onestop-puzzle-block::-webkit-scrollbar-track {
  background: #ddd;
}
 
.onestop-puzzle-block::-webkit-scrollbar-thumb {
  background: #666; 
}

img#onestop-puzzle-img {
  width: 100%;
}

@media (max-width: 1199px) {
  img#onestop-puzzle-img {
    max-width: 1084px;
    width: 1084px;
  }
}

/* 拼圖容器 - 8 個橘白相間貼齊排列，element 252px (含兩側 32px 凸塊空間) */
.onestop-puzzle {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  align-items: stretch;
  gap: 0;
  width: 1505px;
}

/* 卡片基底（element 252×185，body 在 x=32~220 區，clip-path 處理拼圖造型） */
.puzzle-card {
  width: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 18px;
  /* 左右多 32px 留給凸塊區，避免內容跑進凸塊 */
  box-sizing: border-box;
  transition: transform .3s ease, filter .3s ease;
  /* drop-shadow 會跟著 clip-path 形狀走 */
  filter: drop-shadow(4px 6px 14px rgba(0, 0, 0, 0.18));
  border-radius: 15px;
}

.puzzle-card:nth-child(1) {
  z-index: 9;
}

.puzzle-card:nth-child(2) {
  z-index: 8;
}

.puzzle-card:nth-child(3) {
  z-index: 7;
}

.puzzle-card:nth-child(4) {
  z-index: 6;
}

.puzzle-card:nth-child(5) {
  z-index: 5;
}

.puzzle-card:nth-child(6) {
  z-index: 4;
}

.puzzle-card:nth-child(7) {
  z-index: 3;
}

.puzzle-card:nth-child(8) {
  z-index: 2;
}

.puzzle-card::before {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 100%;
  transform: translateY(-50%);
  clip-path: circle(18.3% at 0 50%);
  /* background-color: var(--c-brand); */
  content: '';
}

.puzzle-card:hover {
  transform: translateY(-4px);
  filter: drop-shadow(6px 10px 20px rgba(0, 0, 0, 0.22));
}

/* 橘色卡片：漸層 (模擬 Figma glass 效果) */
.puzzle-card--orange {
  background: linear-gradient(to left, var(--c-accent) 0%, var(--c-brand) 35%, var(--c-brand) 100%);
  color: var(--c-on-dark);
}

.puzzle-card--orange::before {
  background: var(--c-accent);
}

/* 白色卡片：微淡漸層 */
.puzzle-card--white {
  background: #fff;
  color: var(--c-text-2);
  z-index: 1;
}

.puzzle-card--white::before {
  background: #fff;
}

/* Icon 區（圖片用戶後補） */
.puzzle-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 14px;
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: cover;
}

.puzzle-card--orange .puzzle-icon {
  background: #fff;
}

.puzzle-card--white .puzzle-icon {
  background: var(--c-text-2);
}

.puzzle-label {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: var(--fs-md);
  letter-spacing: -0.38px;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   MARK: 多項優勢，專業認證（Certified Expertise）
   ============================================================ */
.ab-cert {
  padding: 490px 0 90px 0;
  background: var(--c-bg-white);
  position: relative;
}

.ab-cert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background-image: url(../../img/services-bg.png);
  background-position: bottom left;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 1600px) {
  .ab-cert {
    padding: 390px 0 90px;
  }

  .ab-cert::before {
    height: 300px;
  }
}

@media (max-width: 1199px) {
  .ab-cert {
    padding: 350px 0 90px;
  }

  .ab-cert::before {
    height: 260px;
  }
}

@media (max-width: 991px) {
  .ab-cert {
    padding: 290px 0 90px;
  }

  .ab-cert::before {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .ab-cert::before {
    background-image: url(../../img/services-bg-mobile.png);
  }
}

@media (max-width: 576px) {
  .ab-cert {
    padding: 250px 0 90px;
  }

  .ab-cert::before {
    height: 160px;
    background-image: url(../../img/services-bg-mobile-xs.png);
  }
}

.ab-cert-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: 48px;
  align-items: center;
}

/* 左：標題 + 清單 + CTA */
.ab-cert-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ab-cert-eyebrow {
  font-size: 48px;
  font-weight: 500;
  color: #191919;
  margin: 0;
  letter-spacing: 0.5px;
}

.ab-cert-eyebrow-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--c-grey-light);
  margin: 16px 0;
}

.ab-cert-title {
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--c-text-2);
  margin: 0 0 32px;
}

.ab-cert-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ab-cert-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-md);
  color: var(--c-text-2);
  line-height: 1.5;
}

.ab-cert-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-brand);
  flex-shrink: 0;
}

.ab-cert-cta {
  width: 80%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 16px 44px;
  background: linear-gradient(to right, #005355 0%, #191919 100%);
  border-radius: 40px;
  color: var(--c-on-dark);
  text-decoration: none;
  font-size: var(--fs-md);
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.ab-cert-cta:hover {
  opacity: 0.9;
  color: var(--c-on-dark);
}

.ab-cert-cta-icon {
  width: 22px;
  height: auto;
}

/* 右：兩張霧面白卡（資安認證 + 獎項認證），依 Figma 1705:19793 */
.ab-cert-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-cert-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 39px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.25);
}

/* 卡片版型：左側文字內容（彈性）+ 右側認證圖（依 Figma 1705:19794 / 1705:19820） */
.ab-cert-card--iso,
.ab-cert-card--award {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 32px 30px;
}

/* 左側內容：標題列置上、說明文字滿版置下 */
.ab-cert-award-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* 標題列：徽章圖示 + 中英文標題，水平排列並垂直置中 */
.ab-cert-award-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ab-cert-award-icon {
  width: 48px;
  height: auto;
  flex-shrink: 0;
  margin: 0;
}

/* 中英文標題同欄左對齊 */
.ab-cert-award-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ab-cert-award-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-brand);
  margin: 0;
}

.ab-cert-award-en {
  font-size: var(--fs-md);
  line-height: 1.4;
  color: #191919;
  margin: 6px 0 0;
}

/* 說明文字：滿版、行高放大 */
.ab-cert-award-desc {
  font-size: var(--fs-base);
  color: #222;
  line-height: 2;
  margin: 0;
}

.ab-cert-award-desc p {
  margin: 0;
}

/* 獎項清單：粗體深色，置於說明段落上方 */
.ab-cert-award-awards {
  font-weight: 500;
  color: #191919;
}

.ab-cert-award-awards span {
  color: var(--c-brand);
}

.ab-cert-award-img {
  max-width: 100%;
  height: auto;
  display: block;
  justify-self: end;
}

#ab-cert-iso {
  max-width: 120%;
}

/* ============ RWD ============ */
/* 平板以下：改單欄堆疊，並依手機設計（Figma 1732:19751）重新排序為「標題 → 清單 → 認證卡 → CTA」 */
@media (max-width: 991.98px) {
  .ab-cert-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* 以 display:contents 讓資訊區（標題/清單/CTA）子項與認證卡同層，方便用 order 重新排序 */
  .ab-cert-info {
    display: contents;
  }

  /* 區塊間距：標題→清單、清單→認證卡 各 41px */
  .ab-cert-title {
    margin-bottom: 41px;
  }

  .ab-cert-list {
    margin-bottom: 41px;
  }

  /* 認證卡置於清單之後 */
  .ab-cert-cards {
    order: 2;
  }

  /* CTA 移至最末、置中並縮小 */
  .ab-cert-cta {
    order: 3;
    width: auto;
    align-self: center;
    justify-content: center;
    margin-top: 41px;
    padding: 11px 40px;
  }
}

/* 手機：縮小字級、認證卡改上下堆疊、認證圖滿版並維持原圖比例 */
@media (max-width: 575.98px) {
  .ab-cert-eyebrow {
    font-size: 32px;
  }

  .ab-cert-title {
    font-size: var(--fs-base);
  }

  .ab-cert-list {
    gap: 16px;
  }

  .ab-cert-list li {
    font-size: var(--fs-base);
    line-height: 1.6;
  }

  .ab-cert-card--iso,
  .ab-cert-card--award {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .ab-cert-award-icon {
    width: 44px;
  }

  .ab-cert-award-desc {
    font-size: var(--fs-sm);
  }

  /* 認證圖移至卡片下方、滿版並維持原圖比例（height 維持 auto） */
  .ab-cert-award-img {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
}

/* ============================================================
   MARK: 關於我們 FAQ（白色大圓角面板 + 玻璃問題卡，異於首頁）
   ============================================================ */
.ab-faq {
  position: relative;
  padding-bottom: 280px;
}

@media(max-width: 1199px) {
  .ab-faq {
    padding-bottom: 200px;
  }
}

@media(max-width: 991px) {
  .ab-faq {
    padding-bottom: 120px;
  }
}

.ab-faq-card {
  background: var(--c-bg-white);
  border-radius: 60px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 48px 56px 56px;
}

/* 問題卡改玻璃霧面 + 白邊 + 較大圓角與陰影 */
.ab-faq .faq-list {
  gap: 20px;
}

.ab-faq .faq-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.ab-faq .faq-item[open] {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  .ab-faq-card {
    border-radius: 32px;
    padding: 28px 20px 32px;
  }
}


/* 描述移入 copy 區塊後與標語的間距 */
#ab-hero .news-hero-desc {
  margin-top: 20px;
}

/* ---- Hero 右側 UI/UX 玻璃擬物插圖（sv-web-hero）----
   覆寫共用 .news-hero-img：正方形插圖需限制尺寸並靠右置中，
   對齊 Figma（插圖約佔 40% 寬、貼齊右側並落在橘色光暈上） */
/* 合併圖（插圖＋光暈）垂直置中於 hero，避免貼齊上方與主選單重疊 */
#ab-hero .news-hero-img {
  top: 60%;
  bottom: auto;
  right: clamp(0px, 3vw, 20px);
  transform: translateY(-50%);
  width: clamp(380px, 42vw, 868px);
  height: auto;
  z-index: 2;
}

@media (max-width: 1199px) {
  #ab-hero .news-hero-img {
    top: 45%;
  }
}

/* 平板以下：插圖回到右下當淡色襯底，讓上方大標與麵包屑維持清晰 */
@media (max-width: 991.98px) {
  .sw-title-sep {
    margin: 0 8px;
  }
  #ab-hero .news-hero-img {
    top: 12%;
    right: -10%;
    transform: none;
    width: clamp(300px, 70vw, 520px);
  }
  .sw-hero-headline {
    margin: 24px 0 0;
  }
}

@media (max-width: 575px) {
  #ab-hero .news-hero-img {
    top: 17%;
  }
}

/* ---- Hero 淺底版面（斜紋底紋 + 右側橘色光暈 + 大標題/橘色副標）----
   背景改為淺色斜紋底圖 sw-hero-bg.png，橘色光暈以 CSS 製作並置於插圖後方，
   文案順序：大標題 → UI/UX 副標 → 麵包屑 → 主打標語 → 描述（對齊 Figma） */
#ab-hero {
  background: url(../../img/sw-hero-bg.png) top center no-repeat;
  background-size: contain;
  overflow: hidden;
  padding: 220px 0 0;
}

@media (max-width: 1199px) {
  #ab-hero {
    padding: 120px 0 0;
  }
}

@media (max-width: 575px) {
  #ab-hero {
    padding: 80px 0 0;
  }
}

/* 文案區置於最上層，避免被光暈/插圖覆蓋 */
#ab-hero .container {
  position: relative;
  z-index: 5;
}

/* 主標題：頁面大標（深色，64px 級距） */
#ab-hero .news-hero-eyebrow.sw-hero-h1 {
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.1;
  color: #231815;
  letter-spacing: 1px;
}

/* 副標：橘色 UI/UX Design ＋ 品牌徽章圖示 */
#ab-hero .news-hero-title.sw-hero-uiux {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: 0.5px;
  color: var(--c-brand);
}

#ab-hero .news-breadcrumb {
  margin-top: 20px;
}

@media (max-width: 991.98px) {
  #ab-hero .news-breadcrumb {
    margin-top: 170px;
  }

  #ab-hero .news-hero-title.sw-hero-uiux {
    margin: 6px 0 0;
    gap: 7px;
  }
}

/* 主打標語：關鍵字改橘色、其餘深灰（對齊 Figma） */
#ab-hero .sw-hero-headline {
  color: #222;
  font-size: clamp(16px, 1.8vw, 24px);
}

#ab-hero .sw-hero-headline-key {
  color: var(--c-brand);
}

/* 描述文：18px / 1.6（對齊 Figma） */
#ab-hero .news-hero-desc {
  font-size: 18px;
  line-height: 1.6;
}

/* 平板以下：光暈移至右下，與插圖一致 */
@media (max-width: 991.98px) {
  #ab-hero .sw-hero-headline-val {
    display: block;
  }
}
@media (max-width: 575px) {
  #ab-hero {
    background: url(../../img/sw-hero-bg-mobile.png) top center no-repeat;
    background-size: contain;
  }
  #ab-hero .news-hero-desc {
    font-size: 14px;
  }
}
