/* ============================================================
   ��隞塚�朞ˊ雿𨀣�蝔页�Ếomponents/processSteps.php 撠�鍂嚗�
   �鉄 .sw-process嚗��憛𡃏�峕艶/鋆嗪ˇ嚗�/ .sw-steps / .sw-step / .sw-mini-cta / .sw-more-plans
   獢��贝��䲮獢���.sw-process-head / .sw-case-tab / .sw-pricing-split / .sw-plan-* 蝑㚁��
   撌脫��秐 css/components/case-plans.css��
   瘜冽�𧶏�𡁶㮾撠滩楝敺� ../../img ����� css/pages ��峕楛摨佗�峕𨯬蝘餃�䔶�滩�𨳍��
   ============================================================ */

/* ---- 鋆賭�𨀣�蝔页��滓摨𤏪��4��2 ���耦瘚�蝔见㨃 + ��憛𡃏�峕艶嚗� ---- */
.sw-process {
  position: relative;
  z-index: 0;
  padding: 250px 0 180px;
  background: url('../../img/sw-process-bg.png') center center/cover no-repeat;
  color: var(--c-text-2);
}

@media(max-width: 1199px) {
  .sw-process {
    padding: 250px 0px 110px;
  }
  .sw-process .sw-steps-container {
    max-width: 100%!important;
    padding: 0;
  }
}

@media(max-width: 991px) {
  .sw-process {
    padding: 250px 0 20px;
  }
}

#sw-process-icon-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sw-process-left-top-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  min-height: 300px;
  height: calc(100vw / 1920 * 639);
}

.sw-process-left-mid-img {
  position: absolute;
  top: 48%;
  left: 5%;
  min-height: 200px;
  height: calc(100vw / 1920 * 366);
}

.sw-process-right-mid-img {
  position: absolute;
  top: 30%;
  right: 0;
  min-height: 400px;
  height: calc(100vw / 1920 * 1061);
}
@media (max-width: 991px) {
  .sw-process-left-top-img {
    top: 60px;
  }
  .sw-process-left-mid-img {
    top: 18%;
    left: -20%;
  }
  .sw-process-right-mid-img {
    right: -15%;
    top: 10%;
  }
}
/* 7 甇仿���蝔页��4��2 ���耦嚗帋�𦠜�鍦椰�鍦𢰧��銝𧢲�鍦𢰧�鍦椰嚗諹垣閰Ｗ㨃蝵桀椰銝页�� */
.sw-steps {
  list-style: none;
  margin: 0 0 215px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 75px 24px;
}

.sw-steps-mobile {
  display: none;
  overflow: hidden;
}

.sw-steps > :nth-child(1) {
  grid-area: 1 / 1;
}
.sw-steps > :nth-child(2) {
  grid-area: 1 / 2;
}
.sw-steps > :nth-child(3) {
  grid-area: 1 / 3;
}
.sw-steps > :nth-child(4) {
  grid-area: 1 / 4;
}
.sw-steps > :nth-child(5) {
  grid-area: 2 / 4;
}
.sw-steps > :nth-child(6) {
  grid-area: 2 / 3;
}
.sw-steps > :nth-child(7) {
  grid-area: 2 / 2;
}
.sw-steps > :nth-child(8) {
  grid-area: 2 / 1;
}

.sw-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  min-height: 205px;
  padding: 24px 28px 14px;
  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.12);
}

.sw-step-icon {
  width: 88px;
  height: 71px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-step-icon img {
  max-height: 71px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.sw-step-title {
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--c-bg-black);
  margin: 0;
  letter-spacing: -0.45px;
}

.sw-step-desc {
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-bg-black);
  margin: 0;
  letter-spacing: -0.3px;
}

/* 璈䁅𠧧��枏耦蝞剝�嚗�葡�𦻖瘚���𡢅��1~7 �㨃嚗� */
.sw-steps .sw-step:nth-child(-n + 7)::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: url('../../img/sw-step-right-arrow.svg') no-repeat center /
    contain;
  background-size: 15px 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(243, 152, 0, 0.4);
  z-index: 3;
}

.sw-steps .sw-step:nth-child(-n + 7)::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--c-brand-hover), var(--c-brand));
  z-index: 3;
}

/* 銝𦠜�� 1,2,3嚗𡁜�穃𢰧蝞剝� */
.sw-steps .sw-step:nth-child(1)::after,
.sw-steps .sw-step:nth-child(2)::after,
.sw-steps .sw-step:nth-child(3)::after,
.sw-steps .sw-step:nth-child(1)::before,
.sw-steps .sw-step:nth-child(2)::before,
.sw-steps .sw-step:nth-child(3)::before {
  top: 50%;
  right: -45px;
  transform: translateY(-50%);
}

/* 蝚� 4 撘蛛�𡁜�睲�讠悌��嚗��㗇�䁅�𤏪�� */
.sw-steps .sw-step:nth-child(4)::after,
.sw-steps .sw-step:nth-child(4)::before {
  left: 50%;
  bottom: -68px;
  transform: translateX(-50%) rotate(90deg);
}

/* 銝𧢲�� 5,6,7嚗𡁜�穃椰蝞剝� */
.sw-steps .sw-step:nth-child(5)::after,
.sw-steps .sw-step:nth-child(6)::after,
.sw-steps .sw-step:nth-child(7)::after,
.sw-steps .sw-step:nth-child(5)::before,
.sw-steps .sw-step:nth-child(6)::before,
.sw-steps .sw-step:nth-child(7)::before {
  content: '';
  top: 50%;
  left: -45px;
  transform: translateY(-50%) scale(-1);
}

/* 隢株岷�㨃嚗���耦撌虫�𧢲聢嚗峕�覀�㘾�烐撓撅歹�� */
.sw-step--cta {
  background: linear-gradient(
    -45deg,
    var(--c-yellow) 0%,
    var(--c-bg-dark) 42%,
    var(--c-bg-dark) 100%
  );
  border: 0;
  color: var(--c-on-dark);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
  gap: 18px;
}

.sw-mini-cta-text {
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--c-on-dark);
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

.sw-mini-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: transparent;
  border: 1px solid var(--c-on-dark);
  color: var(--c-on-dark);
  text-decoration: none;
  border-radius: 40px;
  font-size: var(--fs-base);
  letter-spacing: 1px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.sw-mini-cta-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--c-on-dark);
}

.sw-mini-cta-arrow {
  width: 22px;
  height: 16px;
  background: url('../../img/sw-mini-cta-btn-icon.svg') no-repeat center /
    contain;
}


/* More Plans ��枏耦���內嚗�蔭�䲰甇仿�蠘�����𧢲䲮獢��䠷�䔶�钅�橒�峕偌撟喟蔭銝哨�� */
.sw-more-plans {
  display: block;
  width: 125px;
  height: 125px;
  margin: 8px auto clamp(40px, 5vw, 67px);
  border-radius: 50%;
  border: 1px solid var(--c-brand);
  color: var(--c-brand);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 1px;
  transition: transform 0.2s ease;
  position: relative;
}
.sw-more-plans::before {
  content: '';
  position: absolute;
  bottom: 85%;
  left: 50%;
  transform: translateX(-50%);
  height: 92px;
  width: 1px;
  background: var(--c-brand);
}
.sw-more-plans:hover {
  transform: scale(1.06);
  color: var(--c-brand);
}

.sw-more-plans-circle {
  line-height: 1.3;
}
@media (max-width: 991px) {
  .sw-more-plans {
    display: none;
  }
}

/* ============ RWD ============ */
@media (max-width: 1199.98px) {
  /* ���耦�㺿�箔��� 2 甈�瘚�嚗��滨蔭 grid-area���黸��讐悌��嚗� */
  .sw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 24px;
    margin-bottom: 161px;
  }
  .sw-steps-pc {
    display: none;
  }
  .sw-steps-mobile {
    display: block;
    padding: 0 10px 25px;
  }
  .sw-steps-mobile .swiper-wrapper {
  }
  .sw-steps-mobile .swiper-slide {
    z-index: 0;
  }
  .sw-steps-mobile .swiper-slide {
    position: relative;
    z-index: 1;
  }

  .sw-steps-mobile .swiper-slide-active {
    z-index: 10;
  }
  .sw-steps-mobile .swiper-slide-prev {
    z-index: 11;
  }
  .sw-steps-mobile .sw-step {
    position: relative;
    z-index: 2;
    padding: 24px 20px 14px;
  }

  .sw-steps > * {
    grid-area: auto !important;
  }

  .sw-steps .sw-step::after,
  .sw-steps .sw-step::before {
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
  }

  .sw-steps .sw-step.sw-step--cta::after,
  .sw-steps .sw-step.sw-step--cta::before {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .sw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .sw-steps {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }
}

/* CTA ��厰�𤏪�𡁜◢蝬� �� 餈煾�烐撓撅方�惩�� + 璈睃�� icon */
.sw-process-cta-btn-row {
  text-align: center;
  padding-bottom: 35px;
}
.sw-process-cta-btn {
  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);
}

.sw-process-cta-btn:hover {
  color: var(--c-on-dark);
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(0, 83, 85, 0.35);
}

.sw-process-cta-btn-icon {
  width: auto;
  height: 26px;
  object-fit: contain;
}

/* �黸��𤩺𧊋鋆𦦵� icon ��吔���踹�漤＊蝷箇聦��𡝗�嚗� */
.sw-process-cta-btn-icon[src=""],
.sw-process-cta-btn-icon:not([src]) {
  display: none;
}

.sv-ico-gs {
  width: 28px;
  height: 28px;
  mask-image: url("../../img/sw-process-cta-btn-icon.svg");
}