/* 공통 */
main section {
  text-align: center;
}
.section-header h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
}
.section-header h2 {
  color: #171717;
  text-align: center;
  font-size: 40px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.section-header p {
  color: #404040;
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.2px;
  margin-bottom: 24px;
}

/* --- 스와이퍼 인디케이터 --- */
.hero-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  width: 100%;
  bottom: 32px !important;
}
.hero-indicator.dark-skin .swiper-pagination-bullet {
  background: #fff;
  opacity: 1;
}
.hero-indicator.dark-skin .swiper-pagination-bullet-active {
  background: #fff;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 5px;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s;

  /* border: 1px solid rgba(201, 220, 255, 0.24);
  background: #fff; */

  border: 1px solid #fff;
  background: #c9dcff;
}
.swiper-pagination-bullet-active {
  border-radius: 9999px;
  width: 40px;
  height: 8px;

  /* border: 1px solid rgba(201, 220, 255, 0.24);
  background: #fff; */

  border: 1px solid #fff;
  background: #c9dcff;
}

.swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  transition: all 0.3s;
  border: none;
  outline: none;
  padding: 0;
  opacity: 0;
}
.swiper-btn:hover {
  cursor: pointer;
}

.hero-swiper:hover .swiper-btn {
  opacity: 1;
}

.swiper-prev {
  left: 16px;
}

.swiper-next {
  right: 16px;
}

/* --- 히어로 섹션 --- */
.hero-main {
  position: relative;
}
.hero-container {
  padding: 32px 0;
}

.hero-swiper .home-content {
  display: flex;
  align-items: center;

  border-radius: 16px;
  padding: 0 90px;
  min-height: 600px;
  position: relative;
  overflow: hidden;

  background-color: #fff;
}

/* slide 01 */
.hero-swiper .hero-slide-01 .home-content {
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.04) 0%,
      rgba(0, 33, 167, 0.04) 100%
    ),
    #fff;
}

.hero-swiper .hero-slide-01 .home-hero-intro {
  text-align: left;
  z-index: 3;
}
.hero-swiper .hero-slide-01 .home-hero-intro img {
  width: fit-content;
  margin-bottom: 16px;
}
.hero-swiper .hero-slide-01 .home-hero-intro h3 {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
  margin-bottom: 24px;
}
.hero-swiper .hero-slide-01 .home-hero-intro a {
  margin: 0;
}

.hero-swiper .hero-slide-01 .home-hero-image {
  position: absolute;
  left: 38%;
  top: 90px;
  max-width: 832px;
  border-radius: 25.6px;
  background: #f6f6f6;
  box-shadow: 6.4px 0 16px 0 #fff inset,
    0 -1.6px 4.8px 0 rgba(0, 33, 167, 0.1) inset,
    4.8px 32px 64px 0 rgba(0, 33, 167, 0.1),
    -1.6px -8px 16px 0 rgba(0, 33, 167, 0.1) inset;
  padding: 0.6rem;
  width: 100%;
}
.hero-swiper .hero-slide-01 .home-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
}

/* slide 02 */
.hero-swiper .hero-slide-02 .home-content {
  display: flex;
  align-items: center;

  background-image: url(../../images/home/home-hero-slide-02-image.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-swiper .hero-slide-02 .home-hero-intro {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 24px;
  position: relative;
  left: 60%;
}
.hero-swiper .hero-slide-02 .home-hero-intro-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-swiper .hero-slide-02 .home-hero-intro-title p {
  color: #f5f5f5;
  font-size: 24px;
  font-weight: 500;
}
.hero-swiper .hero-slide-02 .home-hero-intro a {
  margin: 0;
}

.hero-swiper .hero-slide-02 .home-hero-intro img {
  width: fit-content;
}

/* slide 03 */
.hero-swiper .hero-slide-03 .home-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 80px;
  background: linear-gradient(
      116deg,
      rgba(68, 131, 249, 0.1) 24.8%,
      rgba(68, 131, 249, 0.2) 77.04%
    ),
    #fff;
}

.hero-swiper .hero-slide-03 .home-hero-intro {
  text-align: center;
}
.hero-swiper .hero-slide-03 .home-hero-intro img {
  max-width: 104px;
  margin-bottom: 8px;
  width: 100%;
}
.hero-swiper .hero-slide-03 .home-hero-intro h3 {
  color: #4483f9;
  font-size: 32px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
  margin: 0;
  margin-bottom: 4px;
}
.hero-swiper .hero-slide-03 .home-hero-intro p {
  margin: 0;
  margin-bottom: 24px;
  color: #0f172b;
  font-size: 20px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
}

.hero-swiper .hero-slide-03 .home-hero-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-swiper .hero-slide-03 .home-hero-icons .icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.icon-item span {
  color: #4483f9;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
}

/* --- 소개 섹션 --- */
.section-intro p {
  color: #0021a7;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
  display: flex;
  padding: 16px 0;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #c9dcff;
  border-bottom: 1px solid #c9dcff;
}

.intro-content {
  margin-top: 100px;
}
.intro-content img {
  width: fit-content;
}

/* --- 서비스 섹션 --- */
.section-service {
  background: linear-gradient(
      0deg,
      rgba(201, 220, 255, 0.24) 0%,
      rgba(201, 220, 255, 0.24) 100%
    ),
    #fff;
}

.section-service .section-container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.section-service .section-header {
  width: 37%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section-service .section-header h2 {
  text-align: left;
}

.service-content {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.service-item {
  display: flex;
  width: 330px;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  align-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
}
.service-item a {
  border-radius: 8px;
  border: 2px solid #f1f4ff;
  background: #fff;
}

/* 파트너스 섹션 */
/* --- Marquee Layout Fix (상하위 요소) --- */
.partners-marquee-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 100px;
}

/* 가장자리 흐릿하게 처리 */
.partners-marquee-wrapper::before {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, #fff 68.04%, rgba(255, 255, 255, 0) 100%);
}

/* 가장자리 흐릿하게 처리 */
.partners-marquee-wrapper::after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(270deg, #fff 68.04%, rgba(255, 255, 255, 0) 100%);
}

.marquee-row .logo-list {
  width: max-content;
  display: flex;
  gap: 40px;

  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 60s;
}

.marquee-row-left .logo-list {
  animation-name: scroll-RtoL;
}
.marquee-row-right .logo-list {
  animation-name: scroll-LtoR;
}

.marquee-row .partner-logo {
  margin-right: 30px;
  flex-shrink: 0;
  width: 150px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.marquee-row .partner-logo img {
  width: 100%;
}

/* 1행 (오른쪽으로 이동) */
@keyframes scroll-RtoL {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* 2행 (왼쪽으로 이동) */
@keyframes scroll-LtoR {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* 애니메이션을 정지시키는 클래스 */
.marquee-paused .logo-list {
  animation-play-state: paused !important;
}

/* --- CTA (하단 문의) --- */
.section-cta {
  background: linear-gradient(
      0deg,
      rgba(201, 220, 255, 0.24) 0%,
      rgba(201, 220, 255, 0.24) 100%
    ),
    #fff;
}

.mobile-icon {
  display: none;
}

.web-icon {
  display: block;
  height: 160px;
}

/* --- 반응형 --- */
@media (max-width: 1024px) {
  .section-service .section-container {
    flex-direction: column;
    gap: 40px;
  }
  .section-service .section-header {
    width: 100%;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .section-header h3 {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .section-header h2 {
    font-size: 20px;
    padding: 0 10px;
  }
  .section-header h2 br {
    display: none;
  }
  .section-header p {
    font-size: 14px;
  }

  .hero-container {
    padding: 16px 0;
  }

  .hero-swiper .home-content {
    height: 600px;
    flex-direction: column;
    gap: 64px;
    padding: 0;
    justify-content: flex-start;
  }

  .hero-swiper .hero-slide-01 .home-hero-intro {
    padding-top: 64px;
    text-align: center;
  }
  .hero-swiper .hero-slide-01 .home-hero-image {
    opacity: 0.7;
    max-width: unset;
    width: 100%;
    height: 100%;

    position: relative;
    left: -80px;
    top: 0;
  }

  .hero-swiper .hero-slide-01 .home-hero-image img {
    width: 125%;
  }
  .hero-swiper .hero-slide-01 .home-hero-intro a {
    margin: 0 auto;
  }

  .hero-swiper .hero-slide-02 .home-content {
    justify-content: flex-start;
    align-items: center;

    background-image: url(../../images/home/home-hero-slide-02-image_mobile.png);
  }
  .hero-swiper .hero-slide-02 .home-hero-intro {
    left: unset;
    margin: 0 auto;
    padding-top: 64px;
  }
  .hero-swiper .hero-slide-02 .home-hero-intro-title {
    align-items: center;
    gap: 16px;
  }
  .hero-swiper .hero-slide-02 .home-hero-intro-title p {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
  }
  .hero-swiper .hero-slide-02 .home-hero-intro img {
    padding-right: 10px;
  }
  .hero-swiper .hero-slide-02 .home-hero-intro a {
    margin: 0 auto;
  }

  .hero-swiper .hero-slide-03 .home-content {
    justify-content: flex-start;
    gap: 48px;
  }
  .hero-swiper .hero-slide-03 .home-hero-intro {
    padding-top: 64px;
  }
  .hero-swiper .hero-slide-03 .home-hero-intro img {
    margin-bottom: 5px;
  }
  .hero-swiper .hero-slide-03 .home-hero-intro h3 {
    font-size: 20px;
  }
  .hero-swiper .hero-slide-03 .home-hero-intro p {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: -0.4px;
  }
  .hero-swiper .hero-slide-03 .home-hero-icons {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-swiper .hero-slide-03 .home-hero-icons .icon-item {
    justify-content: center;
    gap: 20px;
    flex-direction: row;
  }
  .hero-swiper .hero-slide-03 .home-hero-icons .icon-item img {
    height: 90px;
  }
  .hero-swiper .hero-slide-03 .home-hero-icons .icon-item:first-child img {
    height: 51px;
    aspect-ratio: 49.76 / 51.04;
  }

  .icon-item span {
    width: 55px;
    text-align: left;
  }

  .service-content {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 16px;
  }

  .partners-marquee-wrapper::before,
  .partners-marquee-wrapper::after {
    width: 30px;
  }

  .service-item {
    width: 300px;
  }
  .service-item p {
    font-size: 20px;
  }
  .service-item a {
    font-size: 16px;
    margin-top: 8px;
  }
  .service-item img {
    width: 103px;
  }

  .partners-marquee-wrapper {
    margin-top: 40px;
  }
  .marquee-row .partner-logo {
    margin-right: 0;
  }
  .marquee-row .partner-logo img {
    max-width: 140px;
  }

  .mobile-icon {
    width: 60px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .web-icon {
    display: none;
  }

  .section-intro p {
    font-size: 16px;
  }

  .intro-content {
    margin-top: 50px;
  }
  .intro-content img {
    width: 100px;
  }
}
