.servicePage {
  background-color: #faf9f7;
  background-image: linear-gradient(to right, rgba(18, 18, 18, 0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(18, 18, 18, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

.serviceBanner {
  padding: clamp(48px, 7vw, 110px) 0 clamp(28px, 3vw, 48px);
  text-align: center;
}
.serviceBanner .eyebrow {
  margin: 0 0 8px;
  color: #2c2c2c;
  font-size: clamp(18px, 1.5vw, 29px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.02em;
}
.serviceBanner .title {
  margin: 0;
  font-size: clamp(36px, 3.9vw, 75px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #2c2c2c 54%, #4192fd 81%, #e257e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.serviceMain {
  padding: 0 0 clamp(48px, 6vw, 90px);
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas: "hero hero hero top top top" "hero hero hero mid mid mid" "a a b b c c";
  gap: 28px;
}
@media (max-width: 1100px) {
  .serviceGrid {
    grid-template-areas: "hero hero hero hero hero hero" "top top top top top top" "mid mid mid mid mid mid" "a a a a a a" "b b b b b b" "c c c c c c";
    gap: 18px;
  }
}

.serviceCard {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: clamp(24px, 2.4vw, 43px) clamp(22px, 2.6vw, 50px) 72px;
  border-radius: clamp(28px, 2.6vw, 50px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 75px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.5s ease;
}
.serviceCard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(from var(--arcRot, 0deg), transparent 0deg, transparent 260deg, rgba(255, 1, 23, 0.95) 300deg, #ff0369 328deg, #4192fd 348deg, #e257e5 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.serviceCard.isHero {
  grid-area: hero;
  min-height: 0;
}
.serviceCard.isTop {
  grid-area: top;
  min-height: clamp(280px, 17.35vw, 333px);
  background: #fff;
}
.serviceCard.isMid {
  grid-area: mid;
  min-height: clamp(280px, 17.35vw, 333px);
}
.serviceCard.isA {
  grid-area: a;
  min-height: clamp(380px, 24vw, 461px);
  background: #fff;
}
.serviceCard.isB {
  grid-area: b;
  min-height: clamp(380px, 24vw, 461px);
}
.serviceCard.isC {
  grid-area: c;
  min-height: clamp(380px, 24vw, 461px);
}
@media (max-width: 1100px) {
  .serviceCard {
    min-height: 240px;
  }
  .serviceCard.isHero, .serviceCard.isA, .serviceCard.isB, .serviceCard.isC {
    min-height: 280px;
  }
}
@media (max-width: 768px) {
  .serviceCard.isHero, .serviceCard.isTop, .serviceCard.isMid, .serviceCard.isA, .serviceCard.isB, .serviceCard.isC {
    min-height: 0;
  }
}
@media (min-width: 1181px) {
  .serviceCard:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
  }
  .serviceCard:hover::before {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 3, 105, 0.5));
  }
  .serviceCard:hover .cardArrow {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition-delay: 0.08s;
  }
}

.cardTitle {
  position: relative;
  z-index: 1;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  font-size: clamp(26px, 1.9vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #2c2c2c 54%, #4192fd 81%, #e257e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.isHero .cardTitle {
  font-size: clamp(32px, 2.8vw, 53px);
}

.cardSub {
  position: relative;
  z-index: 1;
  max-width: 34em;
  margin-top: 14px;
  color: #616161;
  font-size: clamp(15px, 0.95vw, 18px);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: 0.02em;
}
.cardSub p {
  margin: 0;
}
.isHero .cardSub {
  font-size: clamp(16px, 1.1vw, 21px);
}

.cardPic {
  position: absolute;
  top: 8%;
  right: 4%;
  bottom: 8%;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: min(48%, 360px);
  pointer-events: none;
}
.cardPic img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.isHero .cardPic, .isA .cardPic, .isB .cardPic, .isC .cardPic {
  align-items: center;
  justify-content: center;
}
.isHero .cardPic {
  top: 14.6%;
  right: 6.9%;
  bottom: 7.2%;
  left: 12.3%;
  width: auto;
}
.isA .cardPic, .isB .cardPic, .isC .cardPic {
  top: 27%;
  right: 20%;
  bottom: 17%;
  left: 20%;
  width: auto;
}
@media (max-width: 1100px) {
  .isHero .cardPic, .isA .cardPic, .isB .cardPic, .isC .cardPic {
    top: 8%;
    right: 4%;
    bottom: 8%;
    left: auto;
    align-items: flex-end;
    justify-content: flex-end;
    width: min(48%, 360px);
  }
}
@media (max-width: 768px) {
  .cardPic {
    position: relative;
    inset: auto;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
  }
  .isHero .cardPic, .isA .cardPic, .isB .cardPic, .isC .cardPic {
    inset: auto;
    justify-content: center;
    width: 100%;
  }
  .cardPic img {
    width: min(100%, 300px);
    max-height: none;
  }
}

.cardEn {
  position: absolute;
  left: clamp(22px, 2.6vw, 50px);
  bottom: clamp(30px, 2.2vw, 42px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: #121212;
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.cardEn .plus {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.cardEn .plus::before, .cardEn .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(180deg, #ff0117, #ff0369);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.cardEn .plus::before {
  width: 2px;
  height: 14px;
}
.cardEn .plus::after {
  width: 14px;
  height: 2px;
}
.cardEn .line {
  width: 90px;
  height: 1px;
  background: #d9d9d9;
}

.cardArrow {
  position: absolute;
  right: -34px;
  bottom: -34px;
  z-index: 2;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f20606, #ff8787);
  box-shadow: 0 14px 34px rgba(242, 6, 6, 0.35);
  opacity: 0;
  transform: translate(34px, 34px) scale(0.7);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  pointer-events: none;
}
.cardArrow .icon-arrow-right {
  position: absolute;
  top: 38%;
  left: 38%;
  width: 30px;
  height: 25px;
  color: #fff;
  transform: translate(-50%, -50%);
}

.serviceCta {
  position: relative;
  z-index: 1;
  margin-bottom: -60px;
  padding: clamp(36px, 4vw, 64px) 0 clamp(96px, 8vw, 140px);
  border-radius: 60px 60px 0 0;
  background: linear-gradient(90deg, #ff0117 10%, #ff0369 61%, #fc3641 100%);
  color: #fff;
}
.serviceCta .wrap {
  display: grid;
  grid-template-columns: max-content 1px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 28px;
}
.serviceCta .ctaTitle {
  flex: 0 0 auto;
  margin: 0;
  font-size: clamp(28px, 2.8vw, 53px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.serviceCta .ctaDivider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-height: 54px;
  background: rgba(255, 255, 255, 0.7);
}
.serviceCta .ctaText {
  flex: 1 1 auto;
  margin: 0;
  font-size: clamp(15px, 1vw, 19px);
  font-weight: 400;
  line-height: 1.71;
  letter-spacing: 0.07em;
}
.serviceCta .ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  min-height: 77px;
  padding: 8px 8px 8px 28px;
  border: 1px solid #fff;
  border-radius: 23px;
  background: #fff;
  color: #2c2c2c;
  font-size: clamp(16px, 1.1vw, 21px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.serviceCta .ctaBtn i {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(90deg, #ff0117 10%, #ff0369 61%, #fc3641 100%);
}
.serviceCta .ctaBtn i::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
@media (max-width: 1100px) {
  .serviceCta .wrap {
    grid-template-columns: 1fr;
  }
  .serviceCta .ctaDivider {
    display: none;
  }
  .serviceCta .ctaBtn {
    width: 100%;
  }
}

.serviceCard .cardLink {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.serviceInsBanner {
  position: relative;
  padding: clamp(110px, 12vw, 230px) 0 clamp(120px, 12vw, 230px);
  background: linear-gradient(180deg, rgba(250, 249, 247, 0) 0%, rgba(250, 249, 247, 0) 40%, #f5ecfa 75%, #ffe6ef 100%);
}
.serviceInsBanner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1230px;
}
.serviceInsBanner .txt {
  flex: 0 1 600px;
  min-width: 0;
}
.serviceInsBanner .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 2.5vw, 48px);
  color: #121212;
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(15px, 1vw, 19px);
  font-weight: 700;
  line-height: 1;
}
.serviceInsBanner .eyebrow .plus {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.serviceInsBanner .eyebrow .plus::before, .serviceInsBanner .eyebrow .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(180deg, #ff0117, #ff0369);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.serviceInsBanner .eyebrow .plus::before {
  width: 2px;
  height: 14px;
}
.serviceInsBanner .eyebrow .plus::after {
  width: 14px;
  height: 2px;
}
.serviceInsBanner .title {
  display: inline-block;
  margin: 0;
  font-size: clamp(36px, 3.5vw, 67px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #2c2c2c 54%, #4192fd 81%, #e257e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.serviceInsBanner .subtitle {
  margin-top: clamp(14px, 1.5vw, 28px);
  color: #121212;
  font-size: clamp(18px, 1.3vw, 25px);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: 0.02em;
}
.serviceInsBanner .subtitle p {
  margin: 0;
}
.serviceInsBanner .desc {
  max-width: 540px;
  margin: clamp(14px, 1.5vw, 28px) 0 0;
  color: #616161;
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.71;
  letter-spacing: 0.07em;
}
.serviceInsBanner .pic {
  flex: 0 1 620px;
  min-width: 0;
}
.serviceInsBanner .pic img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-3.5deg);
}
@media (max-width: 1100px) {
  .serviceInsBanner {
    padding: 100px 0 100px;
  }
  .serviceInsBanner .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .serviceInsBanner .txt,
  .serviceInsBanner .pic {
    flex: none;
    width: 100%;
  }
  .serviceInsBanner .pic {
    max-width: 460px;
    margin: 0 auto;
  }
}

.serviceInsMain {
  position: relative;
  z-index: 1;
  margin-top: -60px;
  padding: clamp(56px, 5vw, 96px) 0 clamp(120px, 11vw, 200px);
  border-radius: 60px 60px 0 0;
  background-color: #faf9f7;
  background-image: radial-gradient(circle, #d9d9d9 2px, transparent 2.5px);
  background-size: 70px 68px;
}
@media (max-width: 1100px) {
  .serviceInsMain {
    border-radius: 36px 36px 0 0;
  }
}

.serviceIntro {
  text-align: center;
}
.serviceIntro .spark {
  display: block;
  width: 86px;
  height: auto;
  margin: 0 auto clamp(16px, 1.6vw, 30px);
}
.serviceIntro .introText {
  max-width: 1191px;
  margin: 0 auto;
  color: #414141;
  font-size: clamp(15px, 0.9vw, 17px);
  font-weight: 500;
  line-height: 1.55;
}
.serviceIntro .introText h3,
.serviceIntro .introText h2 {
  max-width: 1100px;
  margin: 0 auto clamp(24px, 2.5vw, 48px);
  color: #1a1a1a;
  font-size: clamp(26px, 2.7vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.serviceIntro .introText p {
  margin: 0 0 1.4em;
}
.serviceIntro .introText .scrollFillText.isSplit .char {
  opacity: 0.3;
}
.serviceIntro .introText strong,
.serviceIntro .introText b {
  color: #2c2c2c;
  font-weight: 900;
}

.serviceInfoCards {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin-top: clamp(80px, 7vw, 130px);
}
@media (max-width: 900px) {
  .serviceInfoCards {
    flex-direction: column;
    align-items: stretch;
    gap: 70px;
  }
}

.serviceCaseLink {
  display: flex;
  justify-content: center;
  margin-top: clamp(50px, 5vw, 90px);
}
.serviceCaseLink .caseBtn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 77px;
  padding: 8px 8px 8px 28px;
  border-radius: 23px;
  background: linear-gradient(90deg, #ff0117 10%, #ff0369 61%, #fc3641 100%);
  color: #fff;
  font-size: clamp(16px, 1.1vw, 21px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.serviceCaseLink .caseBtn i {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
}
.serviceCaseLink .caseBtn i::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ff0369;
  border-right: 2px solid #ff0369;
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .serviceCaseLink .caseBtn {
    width: 100%;
  }
}

.infoCard {
  position: relative;
  flex: 0 1 511px;
  min-width: 0;
  padding: 70px 40px 56px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 75px rgba(0, 0, 0, 0.08);
}
.infoCard .num {
  position: absolute;
  top: -71px;
  right: 36px;
  color: #121212;
  font-family: "Arsenal SC", "Arsenal", "Noto Sans TC", sans-serif;
  font-size: 118px;
  font-weight: 700;
  line-height: 1.17;
  transform: skewX(-21deg) scaleY(0.93);
  pointer-events: none;
}
.infoCard .infoTitle {
  margin: 0 0 22px;
  padding-left: 12px;
  color: #121212;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.44;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .infoCard {
    flex-basis: auto;
    padding: 56px 24px 36px;
    border-radius: 36px;
  }
  .infoCard .num {
    top: -52px;
    right: 24px;
    font-size: 86px;
  }
  .infoCard .infoTitle {
    font-size: 24px;
  }
}

.infoList ul,
.infoList ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.infoList li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  margin: 0;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid #d9d9d9;
  color: #2c2c2c;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}
.infoList li:last-child {
  border-bottom: 0;
}
.infoList li::before, .infoList li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  background: linear-gradient(180deg, #ff0117, #ff0369);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.infoList li::before {
  width: 2px;
  height: 14px;
}
.infoList li::after {
  width: 14px;
  height: 2px;
}
.infoList li p {
  margin: 0;
}
@media (max-width: 900px) {
  .infoList li {
    font-size: 17px;
  }
}

@keyframes serviceInsFloat {
  50% {
    translate: 0 -12px;
  }
}
@keyframes serviceInsSpark {
  50% {
    scale: 1.1;
    rotate: 8deg;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .serviceInsBanner .pic img {
    animation: serviceInsFloat 4.8s ease-in-out infinite;
  }
  .serviceIntro .spark:not([data-reveal]) {
    animation: serviceInsSpark 3.6s ease-in-out infinite;
  }
}