/* ========================================
   Service Line UP Section
   ======================================== */

.services {
  padding: 60px 0;
  background: var(--color-white);
}

/* .container 공통 max-width(1440px)를 그대로 사용 */

.services__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 60px;
}

.services__header .section-label {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: #5528D1;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0;
}

.services__header .section-title {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 36px;
  font-weight: var(--font-weight-semibold);
  color: #222222;
  line-height: 1.4;
  margin-bottom: 0;
}

.services__header .section-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  line-height: 24px;
  max-width: none;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Service Row */
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

.service-row__text {
  padding: 24px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  width: 45%;
}

.service-row__icon {
  margin-bottom: 12px; /* icon → title */
  line-height: 1;
}

.service-row__title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: #222222;
  line-height: 1.4;
  margin-bottom: 12px; /* title → desc */
}

.service-row__desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  line-height: 24px;
  margin-bottom: 24px; /* desc → checks */
}

.service-row__checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-row__checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: #222222;
}

.service-row__checks li .iconify {
  flex-shrink: 0;
}

.service-row__image {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-row__image img {
  max-width: 90%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Reverse layout — image left, text right */
.service-row--reverse {
  flex-direction: row-reverse;
}

/* Figma background colors */
.service-row:nth-child(1) { background: #DFF2FF; } /* SMS/RCS — light blue */
.service-row:nth-child(2) { background: #FFF0DA; } /* 카카오 — light orange */
.service-row:nth-child(3) { background: #E6DFF8; } /* 레터링 — light purple */
.service-row:nth-child(4) { background: #E0F0EB; } /* 010 발신 — light green */
.service-row:nth-child(5) { background: #F6E3E7; } /* 대용량 이메일 — light pink */
.service-row:nth-child(6) { background: #5528D1; } /* 콜봇 — solid purple */

/* 콜봇 카드 — 흰색 텍스트 */
.service-row:nth-child(6) .service-row__title,
.service-row:nth-child(6) .service-row__desc,
.service-row:nth-child(6) .service-row__checks li {
  color: #FFFFFF;
}

.service-row:nth-child(6) .service-row__checks li .iconify {
  color: #FFFFFF !important;
}

/* Responsive — Tablet */
@media (max-width: 1024px) {
  .service-row__text {
    padding: 24px 32px;
    width: 50%;
  }
}

/* Responsive — Mobile */
@media (max-width: 768px) {
  .services__header {
    margin-bottom: 32px;
  }

  .services__header .section-title {
    font-size: clamp(1.5rem, 5vw, 36px);
  }

  .service-row {
    flex-direction: column;
    height: auto;
  }

  .service-row--reverse {
    flex-direction: column;
  }

  .service-row__text {
    padding: 24px;
    width: 100%;
  }

  .service-row__image {
    width: 100%;
    height: 240px;
    min-height: 240px;
    flex: 0 0 240px;
    order: -1;
  }
}
