/* =============================================
   pay05.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 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-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;
}

/* 소타이틀 */
.hero-desc {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.80);
  max-width: 620px;
  font-weight: 300;
}


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

/* ── SECTION BLOCK ── */
.section-block {
  margin-bottom: 64px;
}

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

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


/* ── 이미지 100% 영역 ── */
.full-image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 20px rgba(11,127,199,0.08);
}

.full-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.full-img-placeholder {
  width: 100%;
  min-height: 280px;
  background: var(--blue-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--blue-primary);
}

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

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


/* ── 핵심 기능 4칸 카드 ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(11,127,199,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-mid));
  border-radius: 18px 18px 0 0;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(11,127,199,0.14);
}

.feat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.feat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.feat-icon svg {
  width: 22px; height: 22px;
  color: var(--blue-primary);
}

.feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-muted);
}


/* ── 기대효과 3칸 카드 ── */
.effect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.effect-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 2px 14px rgba(11,127,199,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.effect-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(11,127,199,0.14);
}

.effect-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.effect-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.effect-icon svg {
  width: 22px; height: 22px;
  color: var(--blue-primary);
}

.effect-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-primary);
}

.effect-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
}


/* ── 서비스 구성 테이블 ── */
.service-table {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(11,127,199,0.07);
}

.table-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--blue-primary);
  padding: 0;
}

.table-head .col-left,
.table-head .col-right {
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.table-head .col-left {
  border-right: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.table-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.table-row:hover { background: var(--blue-light); }
.table-row.last  { border-bottom: none; }

.col-left {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.col-right {
  padding: 20px 28px;
  font-size: 15px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.row-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-primary);
  background: var(--blue-light);
  border: 1px solid #b5d9ef;
  border-radius: 6px;
  padding: 5px 14px;
  white-space: nowrap;
}


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

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  border: none;
  border-radius: 999px;
  padding: 20px 56px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(11,127,199,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 { padding: 48px 0 64px; }
  .hero-inner { padding: 0 20px; }
  .hero-mid  { font-size: 16px; }
  .hero-desc { font-size: 14px; }

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

  /* 핵심기능: 2칸 */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* 기대효과: 1칸 */
  .effect-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 테이블: 컬럼 좁히기 */
  .table-head,
  .table-row {
    grid-template-columns: 100px 1fr;
  }

  .table-head .col-left,
  .table-head .col-right,
  .col-left,
  .col-right {
    padding: 14px 16px;
    font-size: 13px;
  }

  .row-badge { font-size: 12px; padding: 4px 10px; }

  .full-img-placeholder { min-height: 200px; }

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

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
