/* =============================================
   pay04.css — 노무사 정기 자문료 및 수임료 수납 서비스
   Point Color: Teal Blue (#0B7FC7)
   max-width: 1240px
   ============================================= */

/* ── Reset & Variables ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-primary : #0B7FC7;
  --blue-dark    : #065A9A;
  --blue-light   : #E6F4FC;
  --blue-mid     : #4AAEE0;
  --text-dark    : #111827;
  --text-mid     : #374151;
  --text-muted   : #6B7280;
  --bg           : #F4FAFD;
  --white        : #ffffff;
  --border       : #D6EAF5;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 17px;
}


/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #063A6E 0%, #0B7FC7 60%, #4AAEE0 100%);
  padding: 64px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-badge span { font-size: 16px; }

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  font-weight: 300;
}

.hero-desc strong {
  color: #fff;
  font-weight: 600;
}


/* ── MAIN CONTENT ── */
.content {
  padding: 56px 32px 72px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}


/* ══════════════════════════════════════════
   SERVICE LIST — 좌우 교차 레이아웃
══════════════════════════════════════════ */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 각 서비스 행 */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(11,127,199,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-row:hover {
  box-shadow: 0 8px 36px rgba(11,127,199,0.13);
  transform: translateY(-2px);
}

.service-row.last { margin-bottom: 0; }

/* 이미지 영역 */
.service-img {
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

/* 실제 이미지 교체용 */
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--blue-primary);
}

.img-placeholder svg {
  width: 88px;
  height: 88px;
  opacity: 0.45;
}

.img-placeholder span {
  font-size: 13px;
  color: var(--blue-mid);
  font-weight: 500;
}

/* 텍스트 본문 영역 */
.service-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* reverse: 이미지가 오른쪽으로 이동 */
.service-row.reverse {
  direction: rtl; /* 그리드 순서 반전 */
}

.service-row.reverse .service-body,
.service-row.reverse .service-img {
  direction: ltr; /* 내부 텍스트 방향 원복 */
}

/* 소타이틀 태그 */
.service-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue-primary);
  background: var(--blue-light);
  border: 1.5px solid #b5d9ef;
  border-radius: 8px;
  padding: 8px 18px;
  width: fit-content;
}
/* 중타이틀 */
.hero-mid {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 18px;
  line-height: 1.5;
}
/* 제목 */
.service-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
  letter-spacing: -0.3px;
}

/* 본문 */
.service-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
}

/* 주석 (체당금 등) */
.service-footnote {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--bg);
  border-left: 3px solid var(--blue-mid);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  margin-top: 4px;
}

.service-footnote strong {
  color: var(--blue-primary);
  font-weight: 700;
}


/* ── CTA BUTTON ── */
.cta-wrap {
  text-align: center;
  padding-top: 52px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 600;
  font-family: 'Noto Sans KR', sans-serif;
  border: none;
  border-radius: 999px;
  padding: 20px 56px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(26,111,232,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(11,127,199,0.45);
}

.cta-btn svg { width: 22px; height: 22px; }


/* ══════════════════════════════════════════
   RESPONSIVE — 모바일 (768px 이하)
══════════════════════════════════════════ */
@media (max-width: 768px) {

  body { font-size: 15px; }
	.hero-mid  { font-size: 16px; }
  .hero { padding: 48px 0 64px; }
  .hero-inner { padding: 0 20px; }
  .hero h1 { font-size: clamp(18px, 5.5vw, 26px); }
  .hero-desc { font-size: 14px; }

  .content { padding: 36px 20px 56px; }
  .section-title { font-size: 20px; margin-bottom: 32px; }

  /* 모바일: 세로 스택 */
  .service-row {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 18px;
    margin-bottom: 20px;
  }

  /* reverse 모바일에서 direction 리셋 */
  .service-row.reverse {
    direction: ltr;
  }

  /* 모바일에서 이미지 항상 위에 */
  .service-img {
    min-height: 200px;
    order: -1;
  }

  .service-row.reverse .service-img {
    order: -1;
  }

  .service-body {
    padding: 28px 24px;
    gap: 12px;
  }

  .service-body h3 { font-size: 17px; }
  .service-body p  { font-size: 14px; }

  .cta-wrap { padding-top: 36px; }
  .cta-btn  { font-size: 15px; padding: 16px 40px; }
}
