/* ===== 홈페이지 (모던/클린) ===== */

/* 히어로 */
.home-hero{
  width:100%; height:560px;
  background:#e9f3fd url(../images/main_visual.png) no-repeat top center;
}
.home-hero-inner{
  max-width:1180px; margin:0 auto; height:100%; padding:0 30px;
  display:flex; flex-direction:column; justify-content:center;
}
.home-hero-text{ max-width:520px; }
.home-badge{
  display:inline-block; font-size:13px; font-weight:500; color:#0c447c;
  background:#d7e8fa; padding:5px 14px; border-radius:20px; margin-bottom:16px;
}
.home-h1{ margin:0; font-size:34px; line-height:1.32; font-weight:700; color:#15233b; }
.home-h1 strong{ color:#1f8bf0; }
.home-hero-sub{ margin:14px 0 22px; font-size:16px; line-height:1.6; color:#4b5b70; }
.home-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:#1f8bf0; color:#fff; font-size:16px; font-weight:500;
  padding:13px 26px; border-radius:12px;
  transition:background .15s, transform .15s;
}
.home-cta:hover{ background:#0d7ae0; transform:translateY(-1px); color:#fff; }
.home-cta i{ font-size:20px; }

/* 특징 3종 */
.home-features{ background:#f7f9fb; }
.home-features-inner{
  max-width:1180px; margin:0 auto; padding:40px 30px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.home-feature{ text-align:center; }
.home-feat-ico{
  width:64px; height:64px; border-radius:50%; background:#e6f1fb; color:#1f8bf0;
  display:inline-flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.home-feat-ico i{ font-size:30px; }
.home-feature p{ margin:0; font-size:15px; color:#3d4a5c; line-height:1.6; }

/* 코스 섹션 */
.home-sec{ max-width:1180px; margin:0 auto; padding:0 30px; }
.home-sec-title{
  font-size:26px; font-weight:700; color:#15233b; text-align:center;
  margin:48px 0 28px;
}
.home-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,340px)); gap:22px;
  justify-content:center; margin-bottom:8px;
}

/* 코스 카드 */
.home-course{
  display:flex; flex-direction:column; background:#fff;
  border:1px solid #e8eaed; border-radius:16px; overflow:hidden;
  transition:border-color .15s, transform .15s, box-shadow .15s;
}
.home-course:hover{ border-color:#cdd3da; transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,.07); }
.home-course-thumb{
  height:180px; background:#f3f6f9;
  display:flex; align-items:center; justify-content:center; padding:16px;
}
.home-course-thumb img{ max-height:150px; max-width:100%; }
.home-course-body{ padding:18px 22px 20px; display:flex; flex-direction:column; flex:1; }
.home-tag{
  align-self:flex-start; font-size:12px; font-weight:500; color:#fff;
  padding:4px 13px; border-radius:20px; margin-bottom:12px;
}
.home-meta{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.home-chip{ font-size:12px; color:#5f6368; background:#f1f3f5; padding:4px 10px; border-radius:6px; }
.home-desc{ font-size:14px; color:#5b6b80; line-height:1.6; margin:0 0 16px; flex:1; }
.home-bar{ height:7px; border-radius:5px; background:#eef1f4; overflow:hidden; margin-bottom:9px; }
.home-bar-fill{ height:100%; width:0; border-radius:5px; transition:width .8s ease; }
.home-course-foot{ display:flex; justify-content:space-between; align-items:center; }
.home-pct{ font-size:13px; color:#9aa0a6; }
.home-go{ font-size:14px; font-weight:500; color:#1f8bf0; display:inline-flex; align-items:center; gap:2px; }
.home-go i{ font-size:18px; }

/* 카테고리 색상 */
.home-tag-red{ background:#ef5350; } .home-bar-red{ background:#ef5350; }
.home-tag-purple{ background:#9575cd; } .home-bar-purple{ background:#9575cd; }
.home-tag-teal{ background:#26a69a; } .home-bar-teal{ background:#26a69a; }
.home-tag-pink{ background:#ec6a99; } .home-bar-pink{ background:#ec6a99; }
.home-tag-blue{ background:#1f8bf0; } .home-bar-blue{ background:#1f8bf0; }

.home-bottom-space{ height:56px; }

@media (max-width:768px){
  .home-hero{ height:auto; min-height:340px; background-size:cover; background-position:left center; padding:40px 0; }
  .home-h1{ font-size:26px; }
  .home-features-inner{ grid-template-columns:1fr; gap:24px; }
}
