.spacer { padding:0px 0px 40px 0px;}

.top-features{ width: 100%; margin:0px auto; padding: 40px 80px; display: flex; flex-wrap: wrap; align-items: flex-start;background-image: linear-gradient(to top, rgb(236 236 236) 0%, rgba(255, 255, 255, 1) 30%); }
.top-features-title{ width: 30%;}
.top-features-inner{width: 70%;  padding: 0px 20px; }
 
.top-title-box {margin: 20px 0px 30px 0px;}
.top-label { margin:  1rem 0px; font-size: 1rem; font-weight: 400; letter-spacing: .1em;  color: #4c4c4c;}
.top-title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 500;line-height: 1.5; letter-spacing: .06em;  color: #000; position: relative}
.top-title:after { content: ""; position: relative; width: auto; max-width: 74px; width: 100%; margin: 10px;  height: 4px; background: -webkit-gradient(linear, left top, right top, color-stop(60%, #000), color-stop(40%, #ffaf00)); background: linear-gradient(to right, #000 60%, #ffaf00 40%); display: inline-block; pointer-events: none; }

 
.features{  width: 100%; display: flex; flex-wrap: wrap }
.features li{ width: calc(100%/3 - 20px); margin: 10px; padding:0px; list-style: none;border-radius:20px; background-image: linear-gradient(to top, #ffe5ab 0%, #fff7e5 100%); backdrop-filter: blur(10px);position: relative}

@media (max-width:1024px) {
.spacer { padding:0px 20px 40px 20px;}
.top-features-title{ width: 100%;}
.top-features-inner{width: 100%;  padding:0px; }
.top-features{ padding:0px; background:none;}
.features{  margin: auto; padding: 0px;}
.features li{ width: calc(100%/2 - 20px); }  
}
@media (max-width:384px) {
 .features li{ width: 100%; margin: 10px auto;}  
 }

.features li .item{padding: 20px; border-radius:20px;}
.features .number{ position: absolute; left: 0px; bottom:0px;  width:44px;height: 44px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; border-radius:50%; background: #fff; }
.features .number span{  font-size: 1.375rem; font-weight: 500; color: #ffaf00}
.features .inner {  margin-bottom:20px; }
.features .inner-title{ margin-bottom: 10px; font-size: 1.125rem ; line-height: 1.5rem ; font-weight: 700; color: #000}
.features .inner-txt{font-size: 1rem ; line-height: 1.5rem;font-weight: 400; color: #4c4c4c }
.features .txtQuote{width:40px;height:30px;  margin-bottom: clamp(1.25em, 3.125vw, 1.5em); background: url("../images/index/quote.png") no-repeat left top; background-size: 40px 30px;  }


.gradient-animation {
  position: absolute;opacity: .8;  
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
  -webkit-mask-clip: padding-box, border-box !important;
  mask-clip: padding-box, border-box !important;
  -webkit-mask-composite: source-in, xor !important;
  mask-composite: intersect !important;
  border: 2px solid transparent;
  -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(#fff, #fff);
  mask: linear-gradient(transparent, transparent), linear-gradient(#fff, #fff);
}
.gradient-animation:after {
  content: "";
  position: absolute;
  aspect-ratio: 1/1;
  width: 250px;
  background: linear-gradient(to left, #fff, #ffaf01, transparent);
  offset-anchor: 90% 50%;
  offset-path: rect(0 auto auto 0 round 250px);
  animation: borderAnimation 12s infinite linear;
  animation-delay: -9s;
}

@keyframes borderAnimation {
  100% {
    content: "";
    offset-distance: 100%;
  }
}
 
.features li { background: linear-gradient(to top, #ffe5ab 0%, #fff7e5 100%); border: 3px solid transparent; animation: 4s border-glint linear backwards infinite;  animation-delay: 1s;  box-shadow: rgba(0,0,0,0.2) 8px 8px 3px; transition: box-shadow 0.25s, text-shaddw 0.25s; overflow: hidden;}

 

.features li::after {
  content: ' ';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(125deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 52%);
  animation: 4s glint linear backwards infinite;
  animation-delay: -3s;
} 

.features li:nth-child(2)::after,.features li:nth-child(5) {  animation-delay: -4s;}
.features li:nth-child(3)::after {  animation-delay: -5s;}


@keyframes glint {
  0% { left: -120%; }
  8% { left: 50%; }
  100% { left: 50%; }
}


@keyframes border-glint {
  0% { background-position: 0px, -250px; }
  25% { background-position: 0px, -200px; }
  75% { background-position: 0px, 50px; }
  100% { background-position: 0px, 50px; }
}



 
 .valueList { max-width:80%; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin:20px 0px;  position: relative}
 @media (max-width:600px) {
  .valueList {  max-width:100%;margin: 0 }
}
@media (min-width:601px) {
 .valueList.odd:after { position: absolute; left: 0; right: 0; bottom: 0; content: ""; width: calc(100% - 50px); height: 1px;  margin: 0 auto;  background-color: #dcdcdc }
 .valueList.odd .valueItem:last-child { padding-bottom: 0 }
 .valueList.odd .valueItem:last-child .item { border-bottom: 0 }
}
 .valueItem { width: 100%; padding:10px 0px; }
@media (max-width:768px) {
  .valueItem {padding: 0 15px 20px }
}
@media (max-width:600px) {
  .valueItem {width: 100%;padding: 0 0 20px}
  .valueItem:last-child {padding-bottom: 0}
}
.valueList .item {height: 100%;padding-bottom: 10px;border-bottom: 1px solid #dcdcdc}
@media (max-width:768px) {
.valueList .item {padding-bottom: 20px}
}
.valueList .Txt .titleBar { display: -webkit-box; display: -ms-flexbox;  display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-wrap: wrap; flex-wrap: wrap}
.valueList .Txt .number { color:#ffaf01; font-size: 20px; font-family: "Montserrat", Arial, Noto Sans TC, Microsoft JhengHei, sans-serif; font-weight: 700; line-height: normal; -ms-flex-negative: 0; flex-shrink: 0; margin-right: 10px}
@media (max-width:768px) {
.valueList .Txt .number {  font-size: 18px }
}
.valueList .Txt .title { margin-bottom: 0px;  color: #111; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: 0.8px}
@media (max-width:768px) {
.valueList .Txt .title { font-size: 18px  }
}
.valueList .Txt .text { color:#4c4c4c; font-size: 16px; font-weight: 400; line-height: 1.875; letter-spacing: 0.8px; margin-top: 5px}
 
@media (max-width:768px) {
.valueList .Txt .text { font-size: 15px  }
}
 .valueList .Txt .text ul li { color:#4c4c4c; font-size: 0.9rem; font-weight: 400; line-height: 1.875;  }
 

/* =========================================================
   RevealStack v1.0
   外觀變數都在 .rs 上，可在佈景主題中覆寫
   ========================================================= */
.rs {
  --rs-bg: transparent;
  --rs-card-bg: #f6f3ee;
  --rs-ink: #2a2a27;
  --rs-muted: #ffaf01;
  --rs-accent: #a6a090;
  --rs-radius: 14px;
  --rs-gap: clamp(24px, 4vw, 72px);
  --rs-sticky-top: 6vh;
  --rs-media-height: 88vh;
  --rs-feather: 30%;   /* 由 JS 依 data-rs-feather 覆寫 */
  --rs-parallax: 10%;  /* 由 JS 依 data-rs-parallax 覆寫 */

  position: relative;
  background: var(--rs-bg);
  color: var(--rs-ink);
}

/* ---------- 共用：項目內容 ---------- */
.rs__list { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 72px); }
.rs__item-media { margin: 0; border-radius: 14px; overflow: hidden;  aspect-ratio: 4 / 3;}
.rs__item-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs__item-body { padding: clamp(20px, 4vw, 40px) 0; }
.rs__label { margin: 0 0 1em; font-size: .8125rem;  letter-spacing: .2em; font-weight: 700; color: #a6a090;}
.rs__title {margin: 0;font-size: clamp(1.5rem, 2.6vw, 2.25rem);line-height: 1.5;letter-spacing: .06em;}
.rs__text { margin: 1.5em 0 0; line-height: 1.9; color: #ffaf01;}

/* 自動產生的圖片欄：未啟用時隱藏（手機／平板） */
.rs__media { display: none; }
/* =========================================================
   桌機啟用狀態（JS 加上 .is-rs-active）
   ========================================================= */
.rs.is-rs-active {display: grid;grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);column-gap: clamp(24px, 4vw, 72px);align-items: start;}
.rs.is-rs-active .rs__list { grid-column: 1; grid-row: 1; gap: 0; }
.rs.is-rs-active .rs__media { grid-column: 2; grid-row: 1; }
.rs.is-rs-active.rs--media-left .rs__list { grid-column: 2; }
.rs.is-rs-active.rs--media-left .rs__media { grid-column: 1; }

/* 每個項目佔一屏左右，文字垂直置中 */
.rs.is-rs-active .rs__item { min-height: 88vh; display: flex; align-items: center;  padding-block: 10vh;}
.rs.is-rs-active .rs__item-media { display: none; }
.rs.is-rs-active .rs__item-body { max-width: 30rem;  margin-inline: auto; padding: 0; }

/* ---------- sticky 圖片欄 ---------- */
.rs.is-rs-active .rs__media { display: block; position: sticky; top: 6vh; height: 88vh; border-radius: 14px; overflow: hidden; background: #fff;}
.rs__frame { position: absolute; inset: 0; overflow: hidden;}
.rs__frame-img { display: block; position: absolute; top: 0; left: 0;  width: 100%;  height: calc(100% + 10%); object-fit: cover;}
@media (max-width:840px) {
 .rs__item-media { height: auto; border-radius: 14px; margin:0px auto;  }
 .rs.is-rs-active .rs__media { height: 45vh;border-radius: 14px;   overflow: hidden ;}  
 .rs__item-media img { display: block;margin: auto;  width: 100%; height:auto; border-radius: 14px; object-fit: cover; }
}
/*
 * 柔邊擦除：--rs-p 從 0 → 1 時，不透明區由底部往上推進。
 * 柔邊寬度 = --rs-feather。p=0 全透明，p=1 全不透明。
 */
.rs.is-rs-active .rs__frame {
  -webkit-mask-image: linear-gradient(
    to top,
    #000 calc(var(--rs-p) * (100% + var(--rs-feather)) - var(--rs-feather)),
    transparent calc(var(--rs-p) * (100% + var(--rs-feather)))
  );
     mask-image: linear-gradient(
    to top,
    #000 calc(var(--rs-p) * (100% + var(--rs-feather)) - var(--rs-feather)),
    transparent calc(var(--rs-p) * (100% + var(--rs-feather)))
  );
}

/* 文字淡入：遮罩直接作用在文字上（由上往下顯現）＋ 輕微上移 */
.rs.is-rs-active .rs__item-body {
  --rs-p: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 calc(var(--rs-p) * (100% + var(--rs-feather)) - var(--rs-feather)),
    transparent calc(var(--rs-p) * (100% + var(--rs-feather)))
  );
          mask-image: linear-gradient(
    to bottom,
    #000 calc(var(--rs-p) * (100% + var(--rs-feather)) - var(--rs-feather)),
    transparent calc(var(--rs-p) * (100% + var(--rs-feather)))
  );
  transform: translateY(calc((1 - var(--rs-p)) * 24px));
}

/* 減少動態模式：硬切換，不做漸層 */
.rs.is-rs-static .rs__frame { -webkit-mask-image: none; mask-image: none; opacity: var(--rs-p); }
.rs.is-rs-static .rs__frame-img { height: 100%; }
.rs.is-rs-static .rs__item-body { -webkit-mask-image: none; mask-image: none; transform: none; }

/* =========================================================
   手機／平板（未啟用）：卡片式堆疊
   ========================================================= */
.rs:not(.is-rs-active) .rs__item { background: #f6f3ee; border-radius: 14px; overflow: hidden;}
.rs:not(.is-rs-active) .rs__item-media { border-radius: 0; }
.rs:not(.is-rs-active) .rs__item-body { padding: 28px 24px 36px; }
 
/* =========================================================
  promiseArea
   ========================================================= */
 
.promiseArea { padding:0px;  position: relative;}
.promiseArea:after { content: ""; position: absolute; width: 100%; height: 100%; background: conic-gradient(from 90deg at 1px 1px,rgba(0,0,0,0) 90deg,#c7c7c7 0),#fff; background-size: 49px 49px; background-position: 50% 50%; z-index: -1; top: 0;  left: 0;  opacity: 0.25; pointer-events: none;  -webkit-user-select: none; -moz-user-select: none;  -ms-user-select: none;  user-select: none}
.promiseArea  strong{color:#ffaf01;}
.promiseArea .title-4{ border-bottom: solid 1px #fff;}
.promiseArea .leftBox, .promiseArea .rightBox { width: 50%; max-width: 620px}
.promiseArea .leftBox p{ font-weight: 600 }
@media (max-width:840px) {
.promiseArea { padding:30px 0px;   }	
.promiseArea .leftBox, .promiseArea .rightBox {  width: 100% ; max-width: 100%;}
.promiseArea .leftBox{  margin-bottom: 40px }
}

@media (max-width:767.98px) {
.promiseArea { padding:0px;}	
}

 
.media-wrap { width: 100%;  display: flex; gap: 30px; flex-direction: row; flex-wrap:wrap;  justify-content: space-between }
.text-wrap-box { padding-bottom: 5rem;  padding-top: 5rem;}
.text-card { /*height: 30rem; */width: calc(50% - 60px) }
.text-card-body { height: 100%; }
.text-card-w4 { width: calc(40% - 60px) }
.text-card-w5 { width: calc(50% - 60px) } 
.text-card-w6 { width: calc(60% - 60px) } 

.p-paragraph { font-size:1rem;  line-height:1.65rem; font-weight:400; margin-bottom: 10px; color:#4c4c4c }
@media (max-width:1280px) {
.p-paragraph { font-size:0.9rem;  line-height:1.5rem; }
}

@media (max-width:1160px) {
.text-wrap-box { padding-bottom: 3rem;  padding-top:3rem;}
.text-card {  width: calc(50% - 30px) }
.text-card-w4 { width: calc(40% - 30px) }
.text-card-w6 { width: calc(60% - 30px) } 
}
@media (max-width:840px) {
.media-wrap { width: 100%;  display: flex; gap: 30px; flex-direction: column;   }
.media-wrap.reverse{ flex-direction:column-reverse }
.text-wrap-box { padding-bottom:1rem;  padding-top:1rem;}
.text-card { width: 100%}
.text-card-w4, .text-card-w5, .text-card-w6{  width: 100% }
 }
@media (max-width:767.98px) {
.media-wrap { gap:10px; }
}
 
.case-list { display: -webkit-box; display: -ms-flexbox;  display: flex;  -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -4px; padding:0px;  list-style: none; position: relative}
.case-list li { width:calc(100%/3); padding: 0 4px 20px;}
.case-list li .item {  padding: 5px;}
.case-list li .item .txt {  font-size:0.9rem; font-weight: 500; line-height: 1.275rem; text-align: center; padding: 5px 0;color: #4c4c4c}

@media (max-width:840px) {
.case-list li { width:calc(100%/2);  padding: 0 4px 20px;}
}
@media (max-width:340px) {
.case-list li { width:100%;margin:auto;padding: 0 4px 20px;}
}

.number-top{ display: flex; flex-wrap: wrap;  align-items: center; column-gap:20px;  position: relative}
.number-top .number{ margin:10px 10px auto 10px; width:44px;height: 44px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; border-radius:50%;border:solid 1px rgba(255,175,1,1);background: rgba(250,195,44,.35); }
.number-top .number span{  font-size: 1.375rem; font-weight: 500; color: #4c4c4c}
.text-inner{padding-left: 20px;}
@media (max-width:840px) {
.number-top .text-card-h2-title{ margin-top: 20px; margin-bottom: auto}
 .text-inner{padding-left: 0px;}   
}



 
/*image-size*/
.media-image { height:22.5rem;  min-height: 16.118rem;  width:100%; -o-object-fit: cover; object-fit: cover;}
.media-image-v { height:35rem;  min-height: 16.118rem;  width:100%; -o-object-fit: cover; object-fit: cover; }
.img-corner { border-radius: 10px;}
.image-wrap{  width:100%;  }

@media (max-width:840px) {
.media-image { height:22.5rem;  min-height: 16.118rem;  width:100%; -o-object-fit:contain; object-fit:contain; }
}
@media (max-width:767.98px) {
.media-image { height:auto; min-height:auto; -o-object-fit:contain; object-fit:contain; }
.media-image-v { height:auto;  min-height: auto; -o-object-fit: contain; object-fit: contain; }
}
 
.table-box{width: 100%; margin:20px auto ;  display: block }
 .table-box { width: 100%;  border-spacing: 0; margin: auto;background-color:#fff;  box-shadow: 0px 0px 13px 0px #dbdee0;}
@media (max-width: 991.98px) {
.table-box { width: 100%;}
}

.table-box thead {  letter-spacing: 0.05em;  text-transform: uppercase;}
.table-box tbody { font-size: .9rem ;border: 2px solid #eee;; }
.table-box th { font-size:1rem; font-weight: 700; color:#000d3e;  padding:10px; text-align: center; white-space: nowrap; border-right: 1px solid #eee;; border-top: 2px solid #eee;  border-bottom: 2px solid #eee; background-color: #fff8e5;}
.table-box td { font-size:1rem; font-weight: 400;padding: 10px; line-height: 1.5rem; word-wrap: break-word; border: 1px solid #eee;  word-break: break-all  }

 
.steps { position: relative; padding: 0 1rem 0 3.5rem; margin: 2rem 0 0; list-style: none;}
.steps-item { position: relative;  min-height:60px; counter-increment: list; padding-left: 20px; padding-top: 5px;}
.steps-item:before { content: ""; position: absolute; left:-20px; top: 50px;  height: 54%;  width: 2px;  border-left: 2px solid #000;}
.steps-item:after { content: counter(list); position: absolute; top:2px; left: -2.5rem; width:44px; height: 44px; border-radius: 50%;font-weight:700; font-size: 1.125rem; line-height:2.5rem; text-align: center;  background:#ffaf01;  color: #fff;}
.steps-item:last-child:before { border: none;}
.steps-item .steps-title{font-weight:400; font-size: 1.25rem; line-height:2.5rem; color: #4c4c4c}

.bg-yellow{  background:#fff9ed;  border-radius:0px 15px 15px 0px;}





.skeleton {
  background-color: #e2e5e7;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  background-size: 40px 100%;
  background-repeat: no-repeat;
  background-position: left -40px top 0;
  -webkit-animation: shine 1s ease infinite;
          animation: shine 1s ease infinite;
}

@-webkit-keyframes shine {
  to {
    background-position: right -40px top 0;
  }
}

@keyframes shine {
  to {
    background-position: right -40px top 0;
  }
}