/* 홈 전용 — 2026-11-09 V2-#56 (대표 승인)
   FORWARD AI 페이지와 같은 구성(검정 첫 화면·둥근 카드·단계 카드·문의 띠), 색은 흑백.
   파란색은 FORWARD AI 띠와 FORWARD AI 카드에만(V2-#53).
   글꼴: ~~영문 슬로건만 명조, 나머지 제목은 Pretendard 굵게~~ → [2026-11-09 대표 변경] 슬로건 포함 모든 큰 제목 Pretendard 굵게(FORWARD AI와 같게). */

.page-home main > section { border-bottom: 0; }
.page-home h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }

/* 버튼 (흑백) */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 10px; font-family: var(--sans); font-size: 17px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.hm-btn-main { background: #fff; color: #111; border: 1px solid #fff; }
.hm-btn-main:hover { background: #e9e9e6; border-color: #e9e9e6; }
.hm-btn-main::after { content: "→"; }
.hm-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.hm-btn-ghost:hover { background: #fff; color: #111; }
.hm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) { .hm-btn-row .hm-btn { flex: 1 1 100%; } }

/* 1. 첫 화면 — 검정 바탕 */
.hm-hero { position: relative; overflow: hidden; background: #111; color: #fff; padding: 128px 0 120px; }
.hm-hero .wrap { position: relative; z-index: 1; }
.hm-hero .eyebrow { color: rgba(255,255,255,.72); }
.hm-hero .hero-statement { color: #fff; font-family: var(--sans); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.hm-hero h1 { color: #fff; font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(23px, 2.9vw, 32px); line-height: 1.45; margin: 0 0 20px; }
.hm-hero .sub { color: rgba(255,255,255,.82); max-width: var(--measure); font-size: 1.08em; margin: 0 0 44px; }
.hm-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hm-bg span { position: absolute; display: block; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.hm-bg span:nth-of-type(1) { top: 10%; left: 70%; width: 52px; height: 32px; }
.hm-bg span:nth-of-type(2) { top: 24%; left: 86%; width: 40px; height: 36px; }
.hm-bg span:nth-of-type(3) { top: 42%; left: 64%; width: 60px; height: 36px; }
.hm-bg span:nth-of-type(4) { top: 58%; left: 90%; width: 44px; height: 44px; }
.hm-bg span:nth-of-type(5) { top: 70%; left: 74%; width: 66px; height: 36px; }
.hm-bg span:nth-of-type(6) { top: 84%; left: 58%; width: 44px; height: 28px; }
.hm-bg span:nth-of-type(7) { top: 16%; left: 52%; width: 34px; height: 24px; }
.hm-bg span:nth-of-type(8) { top: 88%; left: 88%; width: 50px; height: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .hm-bg span { animation: hm-float 16s ease-in-out infinite alternate; }
  .hm-bg span:nth-of-type(2n) { animation-duration: 20s; animation-delay: -7s; }
  .hm-bg span:nth-of-type(3n) { animation-duration: 24s; animation-delay: -12s; }
  @keyframes hm-float { from { transform: translate(0, 0); opacity: .5; } to { transform: translate(-32px, 16px); opacity: 1; } }
}
@media (max-width: 720px) { .hm-hero { padding: 88px 0 80px; } .hm-bg span:nth-of-type(n+4) { display: none; } .hm-bg span { left: auto !important; right: 4%; } }

/* 공통 구간 */
.hm-sec { padding: 120px 0; }
.hm-sec.alt { background: var(--soft); }
.hm-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.hm-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; margin: 0 0 14px; }
.hm-head .lead { margin: 0; }
.hm-head .about-mark { display: flex; justify-content: center; margin: 0 0 24px; }
@media (max-width: 720px) { .hm-sec { padding: 80px 0; } .hm-head { margin-bottom: 40px; } }

/* 2. 서비스 카드 */
.hm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #ddddda; border-radius: 16px; padding: 30px 28px 28px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hm-card:hover { border-color: #111; box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.hm-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.hm-icon { width: 48px; height: 48px; border-radius: 12px; background: #f0f0ed; display: grid; place-items: center; color: #111; }
.hm-icon svg { width: 26px; height: 26px; }
.hm-num { font-family: var(--sans); font-weight: 700; font-size: 32px; line-height: 1; color: #c4c4c0; }
.hm-card .service-en { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; margin-bottom: 6px; }
.hm-name { display: block; font-family: var(--sans); font-weight: 700; font-size: 24px; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 12px; }
.hm-when { display: block; font-weight: 600; font-size: 16.5px; margin-bottom: 6px; }
.hm-desc { display: block; font-size: 16px; line-height: 1.75; color: var(--charcoal); flex: 1; }
.hm-more { display: inline-flex; gap: 8px; margin-top: 22px; font-weight: 600; font-size: 16px; }
.hm-more::after { content: "→"; }
.hm-card-fa { border-color: #3563e9; }
.hm-card-fa:hover { border-color: #2347c5; box-shadow: 0 10px 28px rgba(53,99,233,.14); }
.hm-card-fa .hm-icon { background: #e6edff; color: #2347c5; }
.hm-card-fa .service-en, .hm-card-fa .hm-more { color: #2347c5; }
@media (max-width: 960px) { .hm-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.page-home .seller-link { text-align: center; margin: 32px 0 0; }

/* 3. 하는 일 — 단계 카드 */
.hm-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.hm-step { background: #fff; border-radius: 16px; padding: 28px 26px; border: 1px solid #e4e4e0; }
.hm-step-num { width: 42px; height: 42px; border-radius: 10px; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; margin-bottom: 18px; }
.hm-step strong { display: block; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.hm-step span:not(.hm-step-num) { display: block; font-size: 16px; line-height: 1.75; color: var(--charcoal); }
.hm-note { text-align: center; margin: 28px 0 0; font-size: 15px; color: var(--charcoal); }
@media (max-width: 860px) { .hm-steps { grid-template-columns: 1fr; max-width: 560px; } }

/* 4. 문의 — 홈에서만 검정 띠 + 흰 카드 */
.page-home .contact { background: #111; padding: 112px 0; border-bottom: 0; }
.page-home .contact-box { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 48px 44px; }
.page-home .contact-title { font-family: var(--sans); font-weight: 700; }
.page-home .contact .btn { border-radius: 10px; }
.page-home .contact .btn-copy { border-radius: 8px; }
@media (max-width: 720px) { .page-home .contact { padding: 72px 0; } .page-home .contact-box { padding: 32px 22px; border-radius: 16px; } }
.page-home .fa-band { border-top: 1px solid rgba(255,255,255,.08); }

/* 회사소개자료 PDF 버튼 — 2026-11-17 V2-#59 */
.hm-profile { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin: 36px 0 0; }
.hm-btn-line { background: #fff; color: #111; border: 1px solid #111; }
.hm-btn-line::after { content: "↗"; }
.hm-btn-line:hover { background: #111; color: #fff; }
.hm-profile-dl { font-weight: 600; font-size: 16px; color: #111; text-underline-offset: 4px; }
