.service-section {
  /* width: 100%; */
  width: 88vw;
  margin: 0 auto;
  padding: clamp(138px, 9vw, 208px) clamp(40px, 4.2vw, 120px) 0;
}

.service-section__label {
  width: clamp(134px, 10vw, 250px);
  height: clamp(30px, 1.8vw, 40px);
  border-radius: clamp(65px, 3.9vw, 80px);
  background: linear-gradient(white, white) padding-box, linear-gradient(to right, #196FB7 0%, #262261 100%) border-box;
  border: 1.5px solid transparent;
  color: #303030;
  text-align: center;
  font-style: normal;
  font-weight: 300;
  align-content: center;
}

.service-section__header-wrapper {
  display: flex;
  gap: clamp(15px, 1vw, 23px);
}

.service-section__title {
  margin: clamp(35px, 2vw, 45px) 0 clamp(15px, 1vw, 23px);
  color: #212121;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  align-content: center;
}

/* 기본(PC)에서는 PC 버전 보이기 */
.service-section__title .title-pc,
.service-section__subtitle .title-pc {
  display: inline;
}
.service-section__title .title-mobile,
.service-section__subtitle .title-mobile {
  display: none;
}

.service-section__subtitle {
  color: #666;
  font-style: normal;
  font-weight: 400;
  line-height: 145%;
}

/* Tabs */
.service-section__tabs {
  margin: clamp(55px, 3.6vw, 83px) 0 clamp(24px, 1.6vw, 36px);
  display: flex;
  gap: clamp(40px, 2.6vw, 60px);
  list-style: none;
  font-size: clamp(18px, 1.3vw, 33px);
  font-style: normal;
  line-height: 145%;
}
.service-section__tab {
  cursor: pointer;
  transition: 0.3s;
  color: #969696;
  font-weight: 400;
  position: relative;
}
.service-section__tab--active {
  color: #212121;
  font-weight: 500;
}
.service-section__tab--active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px; /* 밑줄 두께 */
  background: linear-gradient(90deg, #196FB7 0%, #262261 100%);
  border-radius: 2px;
}
/* 모바일에서 br 태그 보이기 */
.service-section__tab br {
  display: none;
}

/* 배너 */
.service-section__event {
  opacity: 0;
}

.service-section__banner {
  margin-top: clamp(35px, 2vw, 45px);
  width: clamp(392px, 25.5vw, 588px);
  aspect-ratio: 490 / 260;
  position: relative;
}

.service-section__banner img {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
}

.banner__cta {
  position: absolute;
  left: clamp(23px, 1.5vw, 35px);
  bottom: clamp(15px, 1vw, 23px);

  width: clamp(95px, 6.2vw, 143px);
  height: clamp(35px, 2.3vw, 53px);

  cursor: pointer;
  z-index: 2;
}

.service-section__banner2 {
  width: clamp(392px, 25.5vw, 588px);
  color: #666;
  /* font-size: clamp(14px, 0.96vw, 22px); */
  font-style: normal;
  font-weight: 400;
  line-height: 145%; /* 27.55px */
}

/* Slide Layout */
.service-section__slide {
  display: flex;
  gap: 15px;
  align-items: stretch;
  flex-wrap: wrap;
}

.service-section__feature-wrap {
  cursor: pointer;
  overflow: hidden;
}
/* .service-section__feature-scale {
  transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-section__feature-wrap:hover .service-section__feature-scale {
    transform: scale(1.05);
  }
} */

.service-section__feature-scale {
  position: relative;
  width: clamp(242px, 18vw, 450px);
  height: clamp(330px, 21.5vw, 496px);
  padding: clamp(30px, 2vw, 44px);
  transition: transform 0.6s;
}

.service-section__feature {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  top: 0;
  left: 0;
  width: clamp(242px, 18vw, 450px);
  height: clamp(330px, 21.5vw, 496px);
  padding: clamp(30px, 2vw, 44px);
  padding-bottom: 0;
  border-radius: clamp(28px, 1.9vw, 42px);
  background: #F4F5F6;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
/* 앞면 */
.service-section__feature:not(.is-back) {
  z-index: 1;
}
/* 뒷면 */
.service-section__feature.is-back {
  z-index: 2;
  background: #36ABFF;

  transform-origin: left center;
  transform: rotateY(-90deg);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .service-section__feature-wrap:hover .service-section__feature.is-back {
    transform: rotateY(0deg);
  }
}

.service-section__feature-title {
  color: #212121;
  font-style: normal;
  font-weight: 600;
  line-height: 145%;
  margin-bottom: clamp(15px, 1vw, 23px);
}
.service-section__feature.is-back .service-section__feature-title {
  color: #fff;
}

.service-section__feature-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.service-section__feature-list img {
  filter: drop-shadow(-11px -2px 10px rgba(221, 224, 227, 1));
}
.service-section__feature-list--right {
  align-items: flex-start;
}
.service-section__feature-list--right img {
  filter: drop-shadow(-11px -2px 10px rgba(221, 224, 227, 1));
  width: calc(100% + clamp(30px, 2vw, 44px));
}
.service-section__feature.is-back .service-section__feature-list img {
  filter: none;
}

.service-section__feature-desc {
  color: #7C7C7C;
  font-style: normal;
  font-weight: 400;
  line-height: 145%;
}
.service-section__feature.is-back .service-section__feature-desc {
  color: #fff;
  opacity: 0.95;
}

.service-section__feature-footer {
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

.service-section__btn {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.service-section__btn-text {
  position: relative;
  z-index: 2;
  color: #555;
  text-align: right;
  font-style: normal;
  font-weight: 500;
  line-height: 145%;
}
.service-section__btn-arrow {
  position: absolute;
  right: clamp(-42px, -2vw, -34px);
  bottom: clamp(-7px, -0.3vw, -5px);
  z-index: 1;
  pointer-events: none;
}

/* 애니메이션 출력 전 투명  */
.service-section__label,
.service-section__title,
.service-section__subtitle,
.service-section__tabs,
.service-section__feature:not(.is-back) {
  opacity: 0;
}


@media (max-width: 1300px) {
  .service-section__header-wrapper{
    gap: 0;
    flex-direction: column;
  }

  .service-section__event {
    margin-bottom: clamp(15px, 1vw, 23px);
  }

  .service-section__banner {
    margin-top: 0;
  }
}


/* 모바일 환경 최적화 */
body.mobile .service-section,
body[data-mobile="true"] .service-section {
  padding: 15% 0 0;
  flex-direction: column;
  gap: 20px;
}

body.mobile .service-section__title,
body[data-mobile="true"] .service-section__title {
  font-size: clamp(26px, 1.7vw, 38px) !important;
}

/* body.mobile .service-section__title .title-pc,
body[data-mobile="true"] .service-section__title .title-pc,
body.mobile .service-section__subtitle .title-pc,
body[data-mobile="true"] .service-section__subtitle .title-pc {
  display: none;
}
body.mobile .service-section__title .title-mobile,
body[data-mobile="true"] .service-section__title .title-mobile,
body.mobile .service-section__subtitle .title-mobile,
body[data-mobile="true"] .service-section__subtitle .title-mobile {
  display: inline;
} */

@media (max-width: 767px) {
  .title-pc {
    display: none !important;
  }
  .title-mobile {
    display: inline !important;
  }

  .service-section__slide {
    justify-content: center;
  }

  .service-section__tabs {
    margin-top: 8%;
    width: 88vw;
    justify-content: space-evenly;
    gap: 8px;
    /* font-size: 14px; */
  }

  .service-section__tab {
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #F8F9FA;
    color: #555;
    font-weight: 400;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .service-section__tab br {
    display: block;
  }
  .service-section__tab--active {
    background: linear-gradient(135deg, #196FB7 0%, #262261 100%);
    color: #FFF;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  .service-section__tab--active::after {
    display: none;
  }

  .service-section__banner, .service-section__banner2 {
    width: 100%;
  }

  .banner__cta {
    left: 5.9%;
    bottom: 8.1%;

    width: 24.1%;
    aspect-ratio: 118 / 42;
    height: auto;
  }

  .service-section__feature {
    width: unset;
  }
}