/* ════════════════════════════════════════════════════════════════════
   home.css — 메인 화면 전용
   ════════════════════════════════════════════════════════════════════ */

/* ── 히어로 ── */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-dark) 55%, #0e7a44 130%);
  color: #fff; overflow: hidden;
  padding: 48px 0 54px;
}
.hero::after {
  content: ''; position: absolute; right: -60px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,158,91,.45), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  background: rgba(255,255,255,.16); padding: 5px 13px; border-radius: 99px; margin-bottom: 16px;
}
.hero h1 { font-size: 27px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; }
.hero h1 .accent { color: #7ee2a6; }
.hero p { margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,.9); line-height: 1.7; }
.hero-actions { margin-top: 26px; display: flex; gap: 10px; }
.hero-actions .btn { flex: 1; }
.hero-actions .btn-primary { background: #fff; color: var(--blue); }
.hero-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

/* 히어로 하단 통계 스트립 */
.hero-stats {
  margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: rgba(255,255,255,.1); border-radius: var(--radius); padding: 16px 8px;
}
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 11px; color: rgba(255,255,255,.82); }

/* ── 주요 사업 카드 (가로 스크롤) ── */
.biz-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.biz-scroll::-webkit-scrollbar { display: none; }
.biz-item {
  flex: 0 0 78%; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.biz-item .ic { font-size: 28px; margin-bottom: 12px; }
.biz-item h3 { font-size: 16px; font-weight: 800; margin-bottom: 7px; }
.biz-item p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ── 혜택 배너 ── */
.benefit-banner {
  background: linear-gradient(135deg, var(--green-light), #fff);
  border: 1px solid var(--green-light); border-radius: var(--radius);
  padding: 22px; display: flex; gap: 14px; align-items: center;
}
.benefit-banner .ic { font-size: 34px; flex-shrink: 0; }
.benefit-banner h3 { font-size: 15px; font-weight: 800; color: var(--green-dark); margin-bottom: 4px; }
.benefit-banner p { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }

/* ── 갤러리 미리보기 ── */
.gallery-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-thumb {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--blue-light); display: grid; place-items: center;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb .ph { font-size: 30px; opacity: .35; }
.gallery-thumb .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff;
  font-size: 12px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── 가입 CTA 섹션 ── */
.join-cta {
  background: var(--blue); color: #fff; border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
}
.join-cta h2 { font-size: 19px; font-weight: 800; line-height: 1.45; }
.join-cta p { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.join-cta .btn { margin-top: 18px; background: #fff; color: var(--blue); }

/* ── 오시는 길 미니 ── */
.map-mini {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.map-mini .map-head { padding: 16px 18px; background: var(--surface); }
.map-mini .map-addr { font-size: 14px; font-weight: 700; }
.map-mini .map-sub { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.map-mini iframe { width: 100%; height: 180px; border: 0; display: block; }

/* 섹션 상단 여백 조정 (히어로 바로 다음) */
.section.first { padding-top: 34px; }
.section-more { font-size: 13px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 3px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; }
