.step.has-bg {
  background-size: cover;
  background-position: bottom;
}

.step.has-bg h4,
.step.has-bg p {
  color: #fff !important;
}

.service_main_wrap {
  width: 100%;
  height: 100vh;
  padding: 180px 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section--soft {
  background: linear-gradient(180deg, rgba(230, 244, 255, 0.9), #ffffff);
}

.center_text_wrap {
  text-align: center;
}

.margin--top--inner {
  margin-top: 30px;
}

#gradient_background_wrap {
  background: linear-gradient(45deg, #ffffff 0%, #eef2fc 55%, #ffffff 100%);
}

.main_wrap_title_section {
  text-align: center;
}

.top_text_main {
  border: solid 1px #2563eb;
  color: #2563eb;
  padding: 17px 30px;
  display: inline-block;
  font-size: 18px;
  border-radius: 50px;
  margin-bottom: 30px;
  background-color: initial;
}

.main_wrap_title_section h2 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.3;
}

.main_wrap_title_section h2 span {
  color: #2563eb;
}

.pill {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 200;
  color: #2563eb;
  margin-bottom: 20px;

  border: 1px solid #2563eb;
}

.center-cta {
  margin: 50px auto;
  width: fit-content;
}

.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 20px 50px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 21px;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
  transition: 0.15s ease;
  margin: 0 auto;
}

.mock {
  margin-top: 40px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 24px;
}
.mock-inner {
  height: 280px;
  border-radius: 22px;
  border: 1px dashed #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 8px 20px #dae9ff;
}

.feature-card .tag {
  font-size: 16px;

  color: var(--primary-color);
  width: fit-content;
  margin: 0 auto;
  border-bottom: solid 1px;
  padding-bottom: 7px;
}

.feature-card .icon {
  width: 150px;
  height: 150px;
  margin: 25px auto 0;
  border-radius: 50%;
}

.feature-card .icon img {
  width: 100%;
}
.feature-card h3 {
  margin: 15px 0;
  font-size: 21px;
  font-weight: 500;
}
.feature-card p {
  color: #64748b;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
}

/* SERVICE */
.service_sub_page_layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  align-items: center;
}
.service_sub_page_layout h2 {
  font-size: clamp(22px, 2.5vw, 34px);
}
.service_sub_page_layout .desc {
  font-size: 18px;
  line-height: 1.5;
  margin: 15px 0;
  color: #64748b;
}

.srv_slide_title {
  margin-bottom: 80px;
}

.service_info_wrap--lay {
  padding: 20px 0;
  width: 350px;
}

.service_info_wrap--lay > p {
  font-size: 21px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.media {
  width: 100%;
  height: 100%;
  border-radius: 30px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.bullets {
  margin-top: 18px;
  padding: 0;
  font-size: 16px;
  list-style: none;
}
.bullets li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}
.dot {
  width: 24px;
  height: 24px;
  display: grid;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(16, 91, 255);
}

.feather-check {
  width: 18px;
  height: 18px;
  stroke-width: 3px; /* 라인 굵기 */
  color: rgb(255, 255, 255); /* 아이콘 색상 지정 */
}

/* PROCESS */
.process_wrap {
  background: linear-gradient(#fff, #f0f4fd, #fff);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.step {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  height: 230px;
  border: 1px solid #e2e8f0;
}
.step--active {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.step h4 {
  font-size: 21px;
  margin-bottom: 15px;
}

.step h4 span {
  padding-right: 15px;
}

.step p {
  font-size: 18px;
  color: #64748b;
  line-height: 1.5;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.more_service {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.more_service .sub_title_wrap {
  width: fit-content;
}

.media-row {
  width: 60%;
  display: flex;
  align-self: center;
  justify-content: space-between;
  height: fit-content;
}

.media-row > .glass_card {
  height: fit-content;
}

/* FINAL */
.final {
  padding: 80px 0;
  background: #eef7ff;
  background-image: url(../img/background_service.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.final .box {
  background: #ffffff;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* ===== layout ===== */

.section--layout {
  width: 100%;
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 22px;
  margin-top: 30px;
}

/* ===== left ===== */
.menu--layout {
  border: 1px solid #ccc;
  border-radius: 18px;
  padding: 18px 14px;
}

.item--layout {
  border-top: 1px solid #ccc;
  padding: 14px 10px;
}
.item--layout:first-child {
  border-top: none;
}

.btn--layout {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-align: left;
}

.num--layout {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #ccc;
  border: 1px solid #ccc;
}

.title--layout {
  font-size: 21px;
  font-weight: 500;
  color: #888;
}

.chev--layout {
  width: 18px;
  height: 18px;
  transition: 0.2s;
}

.body--layout {
  margin-top: 15px;
  padding: 0 0 54px 54px;
  font-size: 16px;
  line-height: 1.55;
  color: #666666;
  display: none;
}

/* active */
.item--layout.active--layout .num--layout {
  background-color: var(--primary-color);
  border-color: #ccc;
  border: none;
  color: #fff;
}
.item--layout.active--layout .title--layout {
  color: #333;
  font-weight: 700;
}
.item--layout.active--layout .body--layout {
  display: block;
}
.item--layout.active--layout .chev--layout {
  transform: rotate(180deg);
}

/* ===== right ===== */
.viewer--layout {
  border-radius: 18px;
  overflow: hidden;
  height: 450px;
  display: block;
}

.viewerInner--layout {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.viewerImg--layout {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.viewerCaption--layout {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  padding: 14px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.viewerCaption--layout h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.viewerCaption--layout p {
  margin: 0;
  font-size: 13px;
  color: #ccc;
}

.platform {
  background-color: #f6f8fb;
}

.platform__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.platform__wrap > .sub_title_wrap {
  width: 25%;
}
.platform__wrap > .platform__right {
  width: 75%;
}

.scroll-arrows {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  display: grid;
  gap: 6px;
  pointer-events: none;
}

.scroll-arrows span {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  opacity: 0;
  animation: arrowDown 1.2s infinite;
}

.scroll-arrows span:nth-child(2) {
  animation-delay: 0.15s;
}
.scroll-arrows span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes arrowDown {
  0% {
    opacity: 0;
    transform: translateY(-6px) rotate(45deg);
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 0;
    transform: translateY(10px) rotate(45deg);
  }
  100% {
    opacity: 0;
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .grid-3,
  .process-grid,
  .portfolio-grid,
  .service {
    grid-template-columns: 1fr;
  }
}
#category_portfolio {
  width: 100%;
  height: fit-content;
  background: linear-gradient(#f0f4fd, #fff);
}

#category_portfolio h3 {
  text-align: center;
  margin-bottom: 40px;
}

#service_portfolio_latest ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3개 고정 */
  gap: 20px; /* 카드 간격 */
}

#service_portfolio_latest ul li {
  height: 350px;
  overflow: hidden;
}

#service_portfolio_latest ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
