/* ============================================================
   首頁 welcome.php 專屬樣式
   來源 style.css 行 701-1573,1650-1806,1843-2426,2590-2610,2766-2971（多段）（純搬移，內容未改）
   ============================================================ */

/* ============================================================
   02 HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 calc(15.625vw + 30px);
  color: var(--c-bg-black);
  background-color: var(--c-bg-input);
  background-image: url(../../img/home_first_background.png);
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  mix-blend-mode: darken;
}

.hero::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 380px;
  transform: translateY(50%);
  background-image: url(../../img/index_about_top_bg_icon.png);
  background-size: cover;
  background-position: bottom left;
  background-repeat: no-repeat;
  content: '';
  z-index: 2;
}

.hero::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: '';
}

.hero .container-fluid {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 20px 0 40px 0;
}

#index_main_top_block{
  align-items: center;
}

@media(max-width: 575px) {
  #index_main_top_block{
    align-items: flex-start;
  }
}

.hero-copy {
  padding: 2rem 0;
  padding-left: 145px;
}

@media (max-width: 1664px) {
  .hero-copy{
    padding-left: 7.8078vw;
  }
}

@media (max-width: 1635px) {
  .hero-copy{
    padding-left: 7.0987vw;
  }
}

@media (max-width: 1610px) {
  .hero-copy{
    padding-left: 110px;
  }
}

@media (max-width: 1604px) {
  .hero-copy{
    padding-left: 109px;
  }
}

@media (max-width: 1601px) {
  .hero-copy{
    padding-left: 107px;
  }
}

@media (max-width: 1598px) {
  .hero-copy{
    padding-left: 105px;
  }
}

@media (max-width: 1594px) {
  .hero-copy{
    padding-left: 103px;
  }
}

@media (max-width: 1591px) {
  .hero-copy{
    padding-left: 101px;
  }
}

@media (max-width: 1591px) {
  .hero-copy{
    padding-left: 101px;
  }
}

@media (max-width: 1588px) {
  .hero-copy{
    padding-left: 99px;
  }
}

@media (max-width: 1585px) {
  .hero-copy{
    padding-left: 97px;
  }
}

@media (max-width: 1582px) {
  .hero-copy{
    padding-left: 95px;
  }
}

@media (max-width: 1579px) {
  .hero-copy{
    padding-left: 92px;
  }
}
@media (max-width: 1576px) {
  .hero-copy{
    padding-left: 89px;
  }
}
@media (max-width: 1573px) {
  .hero-copy{
    padding-left: 87px;
  }
}
@media (max-width: 1570px) {
  .hero-copy{
    padding-left: 85px;
  }
}
@media (max-width: 1567px) {
  .hero-copy{
    padding-left: 83px;
  }
}
@media (max-width: 1564px) {
  .hero-copy{
    padding-left: 81px;
  }
}
@media (max-width: 1561px) {
  .hero-copy{
    padding-left: 79px;
  }
}
@media (max-width: 1558px) {
  .hero-copy{
    padding-left: 77px;
  }
}
@media (max-width: 1555px) {
  .hero-copy{
    padding-left: 75px;
  }
}
@media (max-width: 1552px) {
  .hero-copy{
    padding-left: 73px;
  }
}
@media (max-width: 1549px) {
  .hero-copy{
    padding-left: 71px;
  }
}
@media (max-width: 1546px) {
  .hero-copy{
    padding-left: 69px;
  }
}
@media (max-width: 1543px) {
  .hero-copy{
    padding-left: 67px;
  }
}
@media (max-width: 1540px) {
  .hero-copy{
    padding-left: 65px;
  }
}
@media (max-width: 1537px) {
  .hero-copy{
    padding-left: 63px;
  }
}
@media (max-width: 1534px) {
  .hero-copy{
    padding-left: 61px;
  }
}
@media (max-width: 1531px) {
  .hero-copy{
    padding-left: 59px;
  }
}

@media (max-width: 1470px) {
  .hero-copy{
    padding: 1rem;
    justify-content: flex-end;
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-copy{
    padding-left: 45px;
  }
}

@media (max-width: 400px) {
  .hero-copy{
    padding-left: 15px;
  }
}

.hero-copy_position_block {
  display: inline-block;
}

.hero-copy_content_block {
  display: inline-block;
}

#index_main_vedio {
  width: 100%;
}

#index_main_gif {
  width: 100%;
  transform: scale(1.1) translateX(-5%);
}

@media (max-width: 767px) {
  #index_main_gif {
    transform: scale(2) translateX(-15%);
  }
}

@media (max-width: 575px) {
  #index_main_gif {
    padding-top: 30px;
  }
}

/* ============ Hero 底部 CTA 區（Figma 1276:38105）============*/

.hero_bottom_content_block {
  max-width: 500px;
  margin: 60px 0 45px 0;
}

@media (max-width:575px){
  .hero_bottom_content_block{
    font-size: 16px;
    margin: 30px 0 25px 0;
  }
}

/* 黑膠囊 CTA：「我要詢案」+ 右下角橘暈 */
.hero-cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 64px;
  border-radius: 999px;
  background: linear-gradient(-45deg, #F39800 0%, #8D5800 4%, #191919 22%, #191919 70%);
  color: var(--c-on-dark);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: var(--fs-base);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s, box-shadow .25s;
}

@media (max-width:575px){
  .hero-cta-pill {
    padding: 8px 44px;
  }
}

.hero-cta-pill:hover {
  color: var(--c-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 152, 0, 0.35);
}

#hero-eyebrow-block {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 575px) {
  #hero-eyebrow-block {
    margin-bottom: 12px;
  }
}

.hero-eyebrow {
  font-weight: 700;
  font-size: var(--fs-lg);
  letter-spacing: 2.88px;
}

@media(max-width: 645px) {
  .hero-eyebrow {
    font-size: var(--fs-base);
  }
}

.hero-eyebrow.sub_mobile{
  /* display: none; */
  text-align: right;
}

@media (max-width: 575px) {
  .hero-eyebrow.sub{
    display: none;
  }
  .hero-eyebrow.sub_mobile{
    display: block;
    text-align: left;
  }
}

.hero-headline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(60px, 9vw, var(--fs-display));
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}

@media(max-width: 1470px) {
  .hero-headline {
    font-size: 80px;
  }
}

@media(max-width: 1199px) {
  .hero-headline {
    font-size: 64px;
  }
}

@media(max-width: 1110px) {
  .hero-headline {
    font-size: 52px;
  }
}

@media(max-width: 768px) {
  .hero-headline {
    font-size: 46px;
  }
}

@media(max-width: 645px) {
  .hero-headline {
    margin-bottom: 8px;
    font-size: 36px;
  }
}

@media(max-width: 575px) {
  .hero-headline {
    font-size: 25px;
  }
}

.hero-headline .line {
  display: block;
}

.hero-headline .accent {
  color: var(--c-brand);
}

/* ============================================================
   03 ABOUT / GEYES WEB DESIGN
   ============================================================ */
.about-section {
  padding: 110px 0 30px;
  /* 暗灰底，中央微亮（依 Figma 1488-54127） */
  background: #191919;
  color: var(--c-on-dark);
  position: relative;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .about-section {
    padding: 72px 0 30px;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 30px 0 0px;
  }
}

.about-section .container {
  position: relative;
  z-index: 1;
  margin-left: calc((100% - 1470px) / 2);
  width: calc(100% - (100% - 1470px) / 2);
  max-width: 100%;
  padding: 0 0 0 10px;
}

@media (max-width: 1480px) {
  .about-section .container {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 991px) {
  .about-section .container {
    padding: 0 10px;
  }
}

.wd-title {
  margin: 0 0 20px;
  line-height: 1.1;
  font-family: var(--f-display);
  color: var(--c-on-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  letter-spacing: -.01em;
}

@media (max-width: 991px) {
  .wd-title {
    justify-content: center;
  }
}

.wd-title-sm {
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
}

@media (max-width: 575px) {
  .wd-title-sm {
    font-size: 28px;
  }
}

.wd-title-lg {
  font-weight: 600;
  font-size: clamp(40px, 5vw, 72px);
}

@media (max-width: 575px) {
  .wd-title-lg {
    font-size: 28px;
  }
}

.wd-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .8);
  line-height: 1.9;
  margin: 0 0 32px;
  letter-spacing: .5px;
}

/* ---- 標題 + 簡介 ---- */
.about-head {
  position: relative;
  margin-bottom: 8px;
}

.about-head > .wd-desc {
  position: relative;
  width: 70%;
  z-index: 1;
}

@media (max-width: 575px) {
  .about-head > .wd-desc {
    width: 100%;
  }
}

.about-head-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px;
}

@media (max-width: 575px) {
  .about-head-icon {
    display: none;
  }
}

/* ============================================================
   內容主體：左區（頁籤 + 白卡）／右區（情境圖片）兩欄
   ============================================================ */
.about-body {
  display: flex;
  align-items: flex-end;
  gap: 0px;
}

.about-main {
  flex: 1 1 70%;
  min-width: 0;
}

.about-media {
  position: relative;
  flex: 1 1 30%;
  min-width: 0;
}

/* ============================================================
   分類膠囊頁籤（依 Figma 1488-54127）
   未選：透明底 + 白外框白字；選中：橘色漸層底白字
   ============================================================ */
.about-tabs-block {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 28px;
  /* 左右漸淡：iOS 不顯示滑桿，改用遮罩漸層提示尚有可捲動內容。
     JS 依捲動位置切換 is-at-start / is-at-end 關閉該側（不加動畫） */
  --about-fade-left: 28px;
  --about-fade-right: 28px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--about-fade-left),
    #000 calc(100% - var(--about-fade-right)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--about-fade-left),
    #000 calc(100% - var(--about-fade-right)),
    transparent 100%
  );
}

/* 已捲到最左：取消左側漸淡 */
.about-tabs-block.is-at-start {
  --about-fade-left: 0px;
}

/* 已捲到最右：取消右側漸淡 */
.about-tabs-block.is-at-end {
  --about-fade-right: 0px;
}

.about-tabs-block::-webkit-scrollbar {
  height: 5px;
}
 
.about-tabs-block::-webkit-scrollbar-track {
  background: #ddd;
}
 
.about-tabs-block::-webkit-scrollbar-thumb {
  background: #666; 
}

.about-tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.about-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 12px;
  background: transparent;
  color: var(--c-on-dark);
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .5px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s;
}

.about-tab-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  flex: none;
}

.about-tab:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.about-tab.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--c-brand-hover) 0%, var(--c-brand) 60%);
  box-shadow: 0 10px 24px rgba(237, 109, 31, .35);
}

/* ============================================================
   左區白卡（依 active 頁籤切換顯示）
   ============================================================ */
.about-cards {
  position: relative;
}

.about-pane {
  display: none;
}

.about-pane.is-active {
  display: block;
}

/* 白卡 */
.about-card {
  position: relative;
  background: #fff;
  border-radius: 26px;
  padding: 48px 52px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
  height: 370px;
}

.about-card-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 34px;
  color: #222;
  margin: 0 0 18px;
  letter-spacing: 1px;
}

.about-card-desc {
  font-size: 16px;
  line-height: 2;
  color: #525252;
  margin: 0 0 28px;
}

/* 卡片右上線條圖示：以對應頁籤圖示作 mask，染成淺灰 */
.about-card-icon {
  position: absolute;
  top: 36px;
  right: 42px;
  width: 46px;
  object-fit: contain;
}

/* 了解更多 按鈕 */
.about-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 34px;
  border-radius: 40px;
  background: linear-gradient(90deg, var(--c-brand-hover) 0%, var(--c-brand) 60%);
  color: var(--c-on-dark);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 1px;
  transition: filter .25s, transform .25s;
}

.about-more:hover {
  color: var(--c-on-dark);
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.about-more-arrow {
  width: 22px;
  height: 14px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 22 14'%3E%3Cpath d='M15 1l6 6-6 6M0 7h21' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 22 14'%3E%3Cpath d='M15 1l6 6-6 6M0 7h21' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* 右區情境視覺（依 active 頁籤切換顯示） */
.about-visual {
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.about-visual.is-active {
  display: flex;
}

.about-visual > img {
  height: 36.9791vw;
  min-height: 250px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
}

/* 全客製網站設計頁籤：案例圖片輪播（依 Figma 1488-57510 對角傾斜卡片堆疊） */
.about-web-swiper {
  width: clamp(300px, 28vw, 380px);
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: visible;
}

/* 電腦版：整副牌對角傾斜（卡片同向斜放），垂直方向播放呈現由下到上堆疊 */
@media (min-width: 992px) {
  .about-web-swiper {
    transform: rotate(0deg);
  }
}

.about-web-swiper .swiper-slide {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 40px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .35);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 中間主視覺（置中、不傾斜） */
.about-web-swiper .swiper-slide-active {
    opacity: 1;
    z-index: 5;
    transform:
        translateX(-20px)
        translateY(0)
        scale(1)
        rotate(0deg);
}

/* 上方卡片：上移 + 外推 + 逆時針，弧度加大 */
.about-web-swiper .swiper-slide-next {
    opacity: .9;
    z-index: 4;
    transform:
        translateX(28px)
        translateY(-70px)
        scale(.9)
        rotate(-22deg);
}

/* 下方卡片：下移 + 外推 + 順時針，弧度加大 */
.about-web-swiper .swiper-slide-prev {
    opacity: .65;
    z-index: 3;
    transform:
        translateX(28px)
        translateY(70px)
        scale(.9)
        rotate(22deg);
    filter: blur(.5px);
}

/* 更遠的卡片：再外推、再縮小、再傾斜 */
.about-web-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) {
    opacity: .3;
    z-index: 2;
    transform:
        translateX(96px)
        translateY(0)
        scale(.76)
        rotate(34deg);
}

/* 手機版：取消扇形堆疊，一次只呈現一張（隱藏左右相鄰卡） */
@media (max-width: 992px) {
  .about-web-swiper {
    overflow: hidden;
  }

  .about-web-swiper .swiper-slide {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.about-web-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- 關於我們 RWD ---- */
@media (max-width: 991.98px) {
  .about-body {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  /* 圖片區移到頁籤+內容上方 */
  .about-media {
    /* order: -1; */
  }

  .about-card {
    padding: 32px 26px;
    height: auto;
  }

  .about-card-title {
    font-size: 26px;
  }

  .about-card-icon {
    top: 26px;
    right: 26px;
    width: 38px;
    height: 34px;
  }

  .about-visual {
    margin: 0 -15px;
  }

  .about-visual > img {
    width: 100%;
    max-width: 480px;
    max-height: auto;
    height: auto;
  }
}

@media (max-width: 576px) {
  .about-tabs {
    gap: 10px;
  }

  .about-tab {
    width:148px;
    justify-content: center;
    height: 52px;
    padding: 0 12px;
    font-size: 15px;
    gap: 8px;
  }

  .about-tab-icon {
    width: 20px;
    height: 20px;
  }

  .about-card-desc {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* ============================================================
   04 ONE-STOP SOLUTION (拼圖版型)
   ============================================================ */
.onestop-top-section {
  height: calc(15.625vw + 30px);
  position: relative;
}

.onestop-top-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15.625vw;
  background-image: url(../../img/services-bg.png);
  background-position: bottom left;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 底部點陣波紋（5% 疊加） */
.onestop-top-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0%;
  height: 62%;
  transform: translateY(-50%);
  background: url(../../img/about_bg_mesh.png) center bottom / cover no-repeat;
  opacity: .05;
  pointer-events: none;
}

.onestop-section {
  padding: 0 0 90px 0;
  position: relative;
  overflow: hidden;
}

/* 內嵌 SVG 不佔版面 */
.puzzle-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* 標題區 */
.onestop-head {
  margin-bottom: clamp(40px, 5vw, 80px);
  position: relative;
  z-index: 1;
}

.onestop-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: var(--c-text-2);
  margin: 0;
  letter-spacing: 0.01em;
}

.onestop-title .accent {
  color: var(--c-brand);
}

.onestop-sub {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 24px);
  color: var(--c-text-2);
  margin: 18px 0 0;
  line-height: 1.5;
}

.onestop-puzzle-wrap {
  position: relative;
}

#onestop-puzzle-bg {
  position: absolute;
  width: 330px;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}

@media (max-width: 991px) {
  #onestop-puzzle-bg {
    width: 280px;
  }
}

@media (max-width: 575px) {
  #onestop-puzzle-bg {
    display: none;
  }
}

#onestop-puzzle-bg-mobile {
  position: absolute;
  top: 100%;
  left: 200px;
  display: none;
  width: 150px;
  transform: translate(0%, -40%);
}

@media (max-width: 575px) {
  #onestop-puzzle-bg-mobile {
    display: block;
  }
}

.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; */
  align-items: stretch;
  gap: 0;
  width: 1475px;
}

/* 卡片基底（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;
}

/* ============================================================
   05 CERTIFIED EXPERTISE
   ============================================================ */
.certified-section {
  padding: 30px 0 calc(15.625vw + 30px);
  position: relative;
  overflow-x: hidden;
}

.certified-section::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: '';
}

/* 自訂容器：放寬到 1480px 以容納完整 1 行布局 (左欄 + 右雙卡) */
.ce-wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 左欄 + 右欄並列 */
.ce-row {
  display: grid;
  grid-template-columns: minmax(0, 452px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 76px);
  align-items: stretch;
}

/* 左欄：標題 → 條列（撐開）→ CTA 置底 */
.ce-left {
  display: flex;
  flex-direction: column;
}

/* 左側標題區（標題下虛線分隔） */
.ce-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--c-text-2);
  margin: 0;
  line-height: 1.1;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--c-grey-light);
}

.ce-title .accent {
  color: var(--c-brand);
}

.ce-sub {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--c-text-2);
  margin: 16px 0 0;
  line-height: 1.5;
}

/* 優勢條列：橘點 + 橘色關鍵字 */
.ce-feature-list {
  list-style: none;
  margin: clamp(28px, 3vw, 44px) 0;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
}

.ce-feature-list li {
  position: relative;
  padding-left: 26px;
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: var(--fs-md);
  color: var(--c-text-2);
  line-height: 1.4;
}

.ce-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 11px;
  height: 11px;
  border-radius: var(--r-full);
  background: var(--c-brand);
}

.ce-feature-list .hl {
  color: var(--c-brand);
}

/* CTA 按鈕：墨綠 → 近黑漸層膠囊 + 橘子 icon */
.ce-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 348px;
  height: 65px;
  padding: 0 32px;
  border-radius: var(--r-full);
  background: linear-gradient(95deg, #0a5a50 0%, #0d1815 62%, #0a1210 100%);
  color: var(--c-on-dark);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: var(--fs-md);
  letter-spacing: 1px;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  box-shadow: 0 6px 18px rgba(0, 83, 85, 0.25);
}

.ce-cta:hover {
  color: var(--c-on-dark);
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(0, 83, 85, 0.35);
}

.ce-cta-icon {
  width: auto;
  height: 26px;
  object-fit: contain;
}

/* 隱藏未補的 icon 圖（避免顯示破圖框） */
.ce-cta-icon[src=""],
.ce-cta-icon:not([src]) {
  display: none;
}

/* 右欄：上下兩張白卡（ISO 證書 + 獎項認證） */
.ce-right {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}

.ce-cert-card,
.ce-award-card {
  background: var(--c-bg-white);
  border-radius: 30px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

/* 認證卡（資安／獎項同款：左文字 + 右圖片） */
.ce-cert-card,
.ce-award-card {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 2.6vw, 36px) clamp(28px, 3.2vw, 48px);
}

/* 左側文字欄（head + 條列） */
.ce-award-main {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 22px);
  min-width: 0;
}

/* 說明文字：滿版、行高放大 */
.ce-award-list {
  font-size: var(--fs-base);
  color: #222;
  line-height: 2;
  margin: 0;
}

.ce-award-list p {
  margin: 0;
}

/* 獎項清單：粗體深色，置於說明段落上方 */
.ce-award-awards {
  font-weight: 500;
  color: #191919;
}

.ce-award-awards span {
  color: var(--c-brand);
}

.ce-award-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ce-award-badge {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

.ce-award-zh {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--c-brand);
  margin: 0;
  line-height: 1.2;
}

.ce-award-en {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  color: var(--c-text-muted);
  margin: 4px 0 0;
}

/* 獎項清單 */
.ce-award-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.ce-award-list li {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--c-text-2);
  line-height: 1.4;
  white-space: nowrap;
}

.ce-award-img {
  width: clamp(200px, 26vw, 400px);
  height: auto;
  object-fit: contain;
}

/* ---- 響應式 ---- */
/* 中型以下：左欄 / 右欄上下堆疊 */
@media (max-width: 1199.98px) {
  .ce-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ce-feature-list {
    justify-content: flex-start;
  }

  .ce-cta {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .ce-cert-card,
  .ce-award-card {
    grid-template-columns: 1fr;
  }

  .ce-award-list li {
    white-space: normal;
  }

  .ce-award-img {
    width: 100%;
    justify-self: center;
  }
}

/* ============================================================
   MARK: Our Services
   ============================================================ */
.services-section {
  background: #191919;
  color: var(--c-text);
  padding: 60px 0 0;
  position: relative;
  /* overflow 改為 visible：讓內部 .services-top-wave 可用負 top 上探 brandmark 區 */
  overflow: visible;
}

@media (max-width: 575px) {
  .services-section {
    padding: 30px 0;
  }
}

/* 頂部跨界波浪：在 services-bg 之後、container 之前的 DOM 位置 → 自然分層 bg < wave < container（皆無/低於 container 的 z-index:1） */
.services-top-wave {
  position: absolute;
  top: -15.7645vw;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.4;
}

/* 頂部標題：升級到 .services-bg 之上；.services-body 本身 position: relative 已自然疊在 bg 上，不動 */
.services-head {
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

@media (max-width: 767px) {
  .services-head {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.sv-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300;
  line-height: .95;
  color: var(--c-on-dark);
  text-shadow: 0 0 1px rgba(0, 0, 0, .15);
  -webkit-text-stroke: .5px rgba(0, 0, 0, .2);
  padding-right: 20px;
  border-right: 1px solid #ffffff;
}

@media (max-width: 767px) {
  .sv-title {
    width: 100%;
    border: none;
    padding-right: 0;
  }
}

.sv-title-line {
  display: flex;
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -.02em;
  position: relative;
}

.sv-title-line:nth-child(2) {
  font-weight: 400;
}

.sv-subtitle-block {
  display: inline-block;
}

.sv-subtitle {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: clamp(20px, 2vw, var(--fs-xl));
  color: var(--c-on-dark-muted);
  margin: 20px 0 12px;
  letter-spacing: 2px;
}

.services-section .sv-subtitle {
  color: var(--c-on-dark);
}

.sv-desc {
  font-size: var(--fs-md);
  color: var(--c-on-dark);
  margin: 0;
  line-height: 1.7;
}

/* 下半內容容器：依 Figma 改為均勻深色（左上微亮 → 右下漸深），移除原 service_frame 強烈斜向亮帶 */
.services-body {
  border-radius: 20px;
  overflow: hidden;
  min-height: 502px;
  align-items: stretch;
  position: relative;
}

.services-body::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px; /* 線條粗細 */
    border-radius: inherit;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.15) 15%,
        rgba(255,255,255,.5) 20%,
        rgba(255,255,255,1) 100%
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

@media (max-width: 767px) {
  .services-body::before {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.15) 15%,
        rgba(255,255,255,.5) 20%,
        rgba(255,255,255,1) 100%
    );
  }
}

/* 左：tabs */
.sv-tabs {
  list-style: none;
  padding: 0 36px;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sv-tabs li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-md);
  color: var(--c-grey-mid);
  border-bottom: 1px solid var(--c-divider);
  cursor: pointer;
  position: relative;
  transition: color .25s, background .25s;
}

.sv-tabs li:last-child {
  border-bottom: 0;
}

.sv-tabs li.is-active,
.sv-tabs li:hover {
  color: var(--c-on-dark);
}

/* 空心三角形：背景為品牌橘，套用只有 stroke 的 SVG 三角形作遮罩，stroke 區域著色、內部透明 */
.sv-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  background: var(--c-brand);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'><polygon points='1,1 8,6 1,11' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'><polygon points='1,1 8,6 1,11' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 0;
  transition: all .3s;
}

.sv-tabs li.is-active .sv-arrow,
.sv-tabs li:hover .sv-arrow {
  opacity: 1;
  right: 16px;
}

.sv-tabs li.is-active .sv-ico,
.sv-tabs li:hover .sv-ico {
  background: var(--c-brand);
}

/* 中：文案 panel */
.sv-panel {
  padding: 50px 60px 80px 10px;
  color: var(--c-on-dark);
  height: 555px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* sv-panel-content 子元素：position: relative; left: 0 提供 jQuery 滑入動畫的起點 */
.sv-panel-content>* {
  position: relative;
  left: 0;
}

.sv-panel-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 10px;
  letter-spacing: 1px;
}

.sv-panel-sub {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .75);
  margin: 0 0 20px;
  letter-spacing: 2px;
}

.sv-panel-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .8);
  line-height: 1.9;
}

.sv-panel-desc h5 {
  color: #FFCB73;
  font-size: 1em;
  display: inline-block;
}

/* 服務區 Read More 按鈕：膠囊膠囊形，上透明 → 下品牌橘的垂直漸層底，白色細邊框與文字 */
.sv-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  min-width: 150px;
  border-radius: 50px;
  border: 0.5px solid var(--c-on-dark);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, var(--c-yellow) 100%);
  color: var(--c-on-dark);
  font-family: var(--f-display);
  font-size: var(--fs-base);
  line-height: 18px;
  width: fit-content;
  text-decoration: none;
  transition: background .3s, border-color .3s, transform .3s;
}

/* hover：漸層上半變成淡色雲霧加強層次，整體往上微浮起 */
.sv-readmore:hover {
  color: var(--c-on-dark);
  transform: translateY(-2px);
}

.sv-ico.sv-ico-arrow {
  width: 13px;
  height: 13px;
}

.sv-readmore i {
  mask-image: url("../../img/sv-ico-arrow.svg");
}

/* 箭頭 hover 向右輕推 */
.sv-readmore:hover i {
  transform: translateX(4px);
}

.services-body>[class^="col-"] {
  position: relative;
  z-index: 1;
}

.services-body>.col-lg-3 {
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}

/* 右：單張展示圖 */
.sv-showcase {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sv-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RWD */
@media (max-width: 991.98px) {
  .services-body {
    border-radius: 16px;
  }

  .sv-tabs {
    padding: 12px 0;
  }

  .sv-tabs li {
    padding: 14px 20px;
  }

  .sv-panel {
    padding: 32px 24px;
    height: auto;
  }

  .sv-showcase {
    min-height: 320px;
    padding: 0;
  }

  .sv-showcase img {
    max-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .services-head {
    margin-bottom: 28px;
  }
}

/* ============================================================
   客製化系統開發 展開選單（依 Figma 1464-28373）
   左：標題；右：案例分類連結網格（橘色 ▷ + 文字），直連客製化系統案例
   ============================================================ */
.sv-expand {
  margin-top: 40px;
  padding: 36px 40px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.sv-expand-inner {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.sv-expand-head {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--c-on-dark);
  line-height: 1.4;
  white-space: nowrap;
}

.sv-expand-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 28px;
}

.sv-expand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  font-size: var(--fs-sm);
  letter-spacing: .5px;
  transition: color .2s;
}

.sv-expand-link:hover {
  color: var(--c-brand);
}

/* 橘色空心三角 ▷ */
.sv-expand-arrow {
  flex: none;
  width: 11px;
  height: 13px;
  background: var(--c-brand);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'><polygon points='1,1 8,6 1,11' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'><polygon points='1,1 8,6 1,11' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* 看全部：文字加底線、無箭頭縮排對齊 */
.sv-expand-all span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
  .sv-expand {
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
  }

  .sv-expand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 20px;
  }
}

@media (max-width: 575.98px) {
  .sv-expand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   07-CTA 服務區底部雙按鈕（Figma node 1276-37101）
   ============================================================ */
.sv-cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 80px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* 共用：膠囊形、固定高度、文字 + 右側圖示橫向排列 */
.sv-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 365px;
  height: 65px;
  padding: 0 32px;
  border-radius: 40px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: var(--fs-md);
  letter-spacing: 1px;
  text-decoration: none;
  border: 0.5px solid transparent;
  transition: transform .3s, box-shadow .3s, filter .3s;
}

/* 了解更多：白底 + 左側淺灰漸層、灰邊框、品牌橘文字 */
.sv-cta-btn--ghost {
  background: linear-gradient(74.79deg, rgb(159, 160, 160) 6.66%, var(--c-bg-white) 22.65%);
  border-color: var(--c-grey-mid);
  color: var(--c-brand);
}

/* 立即諮詢：左 var(--c-brand-hover) → 右 var(--c-brand) 漸層、白色文字 */
.sv-cta-btn--brand {
  background: none;
  border: 1px solid #ffffff;
  color: var(--c-on-dark);
}

.sv-cta-btn:hover.sv-cta-btn--brand {
  background: linear-gradient(90deg, var(--c-brand) 22%, #EA9604 100%);
  color: var(--c-on-dark);
}

.sv-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 152, 0, .25);
}

.sv-ico-gs {
  width: 28px;
  height: 28px;
  mask-image: url("../../img/contact_icon.svg");
}

@media (max-width: 575.98px) {
  .sv-cta-btn {
    min-width: 0;
    width: 100%;
    font-size: var(--fs-base);
  }
}

/* ============================================================
   08 SOLUTIONS
   ============================================================ */
.solutions-section {
  padding: calc(15.625vw + 30px) 0 90px 0;
  background-color: var(--c-bg-section);
  position: relative;
}

.solutions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15.625vw;
  background-image: url(../../img/services-bg.png);
  background-position: bottom left;
  background-size: cover;
  background-repeat: no-repeat;
}

.solutions-section .container{
  overflow: hidden;
  padding-bottom: 30px;
}

/* 頂部 標題 + 說明 + 插圖 */
.solutions-head {
  margin-bottom: 56px;
}

.col-sol-left {
  flex: 0 0 auto;
  width: 45%;
}

.col-sol-right {
  flex: 0 0 auto;
  width: 52%;
}

@media(max-width: 1450px) {
  .solutions-head {
    margin-bottom: 28px;
    align-items: center;
  }
  .col-sol-left {
    width: 55%;
  }
  .col-sol-right {
    width: 45%;
  }
}

@media(max-width: 575px) {
  .solutions-head {
    margin-bottom: 15px;
    align-items: center;
  }
  .col-sol-left {
    width: 50%;
  }
  .col-sol-right {
    width: 50%;
  }
}

.sol-title {
  margin: 0;
  line-height: .95;
  border-right: 1px solid var(--c-text);
}

.sol-title-sm {
  display: block;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(60px, 7vw, 96px);
  color: var(--c-text);
  letter-spacing: -.02em;
}

.sol-title-lg {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 96px);
  color: var(--c-text);
  letter-spacing: -.02em;
  margin-top: -8px;
}

@media(max-width: 575px) {
  .sol-title-sm {
    font-size: 40px;
  }
  .sol-title-lg {
    font-size: 35px;
    margin-top: 0px;
  }
}

.sol-subtitle {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--c-text);
  margin: 0 0 14px;
  letter-spacing: 2px;
}

@media(max-width: 767px) {
  .sol-subtitle {
    font-size: 24px;
  }
}

@media(max-width: 575px) {
  .sol-subtitle {
    font-size: 18px;
  }
}

.sol-steps {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--c-brand);
  margin: 0 0 16px;
  letter-spacing: 3px;
}

@media(max-width: 767px) {
  .sol-steps {
    font-size: 20px;
    margin: 0;
  }
}

@media(max-width: 575px) {
  .sol-steps {
    font-size: 18px;
    letter-spacing: 0px;
  }
}

.sol-steps span {
  color: var(--c-brand);
}

.sol-steps .sol-arrow {
  color: var(--c-text);
}

.sol-desc {
  font-size: var(--fs-md);
  color: var(--c-text-2);
  line-height: 1.8;
  margin: 0;
}

@media(max-width: 1450px) {
  .sol-desc {
    display: none;
  }
}

.sol-desc-mobile {
  font-size: var(--fs-md);
  color: var(--c-text-2);
  line-height: 1.8;
  margin-top: 20px;
  display: none;
}

@media(max-width: 1450px) {
  .sol-desc-mobile {
    display: block;
  }
}

@media (max-width: 1400px) {
  .solutions-left-block {
    width: 100%;
  }
  .sol-illustration-block {
    display: none!important;
  }
}

.sol-illustration {
  width: 100%;
  max-width: unset;
  object-fit: contain;
}

/* 下半 五列表格式卡 */
.solutions-list {
  background-image: url(../../img/sol-bg.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  border: .5px solid var(--c-divider);
  padding: 12px 32px;
}

.sol-row {
  display: grid;
  grid-template-columns: 56px 370px 1fr;
  align-items: center;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 2px solid var(--c-grey-mid);
  transition: transform .25s ease;
}

.sol-row:last-child {
  border-bottom: 0;
}

.sol-row:hover {
  transform: translateX(4px);
}

.sol-row-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-base);
  color: var(--c-text);
  letter-spacing: 1px;
}

.sol-row-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 36px);
  color: var(--c-text);
  letter-spacing: .5px;
}

.sol-row-desc {
  font-size: var(--fs-md);
  color: var(--c-text-2);
  line-height: 1.7;
}

/* 第 2 列橘色 highlight */
.sol-row:hover .sol-row-num,
.sol-row:hover .sol-row-title,
.sol-row:hover .sol-row-desc {
  color: var(--c-brand);
}

/* RWD */
@media (max-width: 767.98px) {
  .sol-row {
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .sol-row-desc {
    grid-column: 2;
    font-size: var(--fs-xs);
  }

  .solutions-list {
    padding: 8px 20px;
  }
}

/* ============================================================
   10 FAQ + NEWS
   ============================================================ */

.faq-news-section {
  padding: calc(21.09375vw + 80px) 0 280px;
  background-color: var(--c-bg-section);
  background-image: url(../../img/index_solutions_bg.png);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.faq-news-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 21.09375vw;
  background-image: url(../../img/brands-served-bottom-bg.png);
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  content: '';
  z-index: 2;
}

.faq-news-section .container {
  overflow: hidden;
}

/* News */
.news-card {
  background: var(--c-bg-white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform .3s;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-card img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
}

.news-body {
  padding: 1.25rem;
}

.news-body time {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-placeholder);
  margin-bottom: .5rem;
  font-weight: 500;
}

.news-body h4 {
  font-weight: 700;
  font-size: var(--fs-base);
  line-height: 1.4;
  margin: 0 0 1rem;
  color: var(--c-text);
}

/* News Swiper — Coverflow 風 */
.news-swiper {
  overflow: hidden;
  padding: 20px 12px 45px;
  margin: -20px -12px;
  position: relative;
  isolation: isolate;
}

.news-swiper .swiper-wrapper {
  align-items: stretch;
}

.news-swiper .swiper-slide {
  height: auto;
  display: flex;
  opacity: .38;
  transform: scale(.82);
  transition: opacity .5s ease, transform .5s ease, filter .5s ease;
  filter: saturate(.6);
  z-index: 1;
  pointer-events: none;
}

.news-swiper .swiper-slide-active,
.news-swiper .swiper-slide-prev,
.news-swiper .swiper-slide-next {
  pointer-events: auto;
}

.news-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  z-index: 3;
}

/* 靠近中央的前後張，比遠端略清楚一點 */
.news-swiper .swiper-slide-prev,
.news-swiper .swiper-slide-next {
  opacity: .55;
  transform: scale(.9);
  z-index: 2;
}

.news-swiper .news-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-swiper .swiper-slide-active .news-card {
  box-shadow: var(--sh-card-strong);
}

.news-swiper .news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-swiper .news-body h4 {
  flex: 1;
}

.news-nav {
  gap: .5rem;
}

.news-arrow {
  width: 52px;
  height: 52px;
  border-radius: var(--r-full);
  border: 0;
  background: var(--c-yellow);
  color: var(--c-on-dark);
  font-size: var(--fs-lg);
  line-height: 1;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-card);
  transition: background .25s, transform .25s;
}

.news-arrow:hover {
  background: var(--c-brand-hover);
  transform: translateY(-2px);
}

.news-arrow:focus {
  outline: none;
}

/* News card — 新版（設計稿） */
.news-card-v2 {
  background: var(--c-bg-white);
  border-radius: 28px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  height: 100%;
  overflow: hidden;
}

.news-card-v2 .news-date {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--c-text);
  text-align: center;
  letter-spacing: 1px;
  padding: .25rem 0 .5rem;
}

.news-card-v2 .news-img {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 357 / 275;
  background: var(--c-yellow);
}

.news-card-v2 .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-v2 .news-body {
  padding: .5rem .25rem 0;
}

.news-card-v2 .news-body h4 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--c-text);
  margin: 0 0 .5rem;
  line-height: 1.4;
}

.news-card-v2 .news-body p {
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--c-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 客製化系統開發 展開選單：行動版改直向堆疊（補強，避免 inner 仍為橫向） */
@media (max-width: 991.98px) {
  .sv-expand-inner {
    flex-direction: column;
    gap: 24px;
  }
}
