/* 홈 v2: 서비스 선택 중심 히어로 / 대표 카드 3 / 더 많은 운세 / 페르소나 2열 */
:root { --ivory: #f5edd6; --ivory-2: #e6dfcf; --panel-a: #262047; --panel-b: #1c1836; --line-mid: rgba(201,168,76,0.4); --line-strong: rgba(201,168,76,0.6); --home-w: 1240px; }

body .hero { height: auto; min-height: 0; padding: 64px max(28px, calc((100% - var(--home-w)) / 2 + 28px)) 40px; align-items: center; overflow: hidden; }
body .hero-content { max-width: 900px; word-break: keep-all; padding: 0; animation: none; }
body .hero-eyebrow { font-size: 14px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 18px; }
body .hero-eyebrow::before { background: var(--gold); }
body .hero-title { font-family: 'Noto Serif KR', serif; font-size: clamp(32px, 4vw, 54px); font-weight: 700; line-height: 1.32; word-break: keep-all; letter-spacing: -0.01em; color: #fff; margin-bottom: 14px; }
body .hero-title em { font-style: normal; color: var(--gold); }
.hero-kw { font-size: 15px; letter-spacing: 0.03em; color: var(--ivory-2); margin-bottom: 18px; }
body .hero-desc { font-size: 19px; line-height: 1.75; color: var(--ivory); max-width: 620px; margin-bottom: 30px; padding-left: 18px; border-left: 2px solid var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 34px; border-radius: 12px;
  font: 700 19px/1 'Noto Sans KR', sans-serif; letter-spacing: 0.01em; text-decoration: none; text-transform: none;
  transition: transform .15s, box-shadow .15s, background .2s, border-color .2s;
}
.hero-btn--primary { background: var(--gold); color: #14101f; border: 2px solid var(--gold); box-shadow: 0 8px 26px rgba(201,168,76,0.32); }
.hero-btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,0.45); }
.hero-btn--primary:active { background: #b8973f; transform: translateY(1px); box-shadow: none; }
.hero-btn--ghost { background: rgba(255,255,255,0.06); color: #fff; border: 2px solid var(--line-strong); }
.hero-btn--ghost:hover { background: rgba(201,168,76,0.18); border-color: var(--gold-light); transform: translateY(-2px); }
.hero-btn--ghost:active { transform: translateY(1px); background: rgba(201,168,76,0.28); }
.hero-btn:focus-visible, .feat-card:focus-visible, .more-card:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; font-size: 15.5px; color: var(--ivory); }

/* 장식 그래픽: 배경으로 물러나게 */
body .hero-visual { width: 40%; opacity: 0.32; pointer-events: none; }
body .hero-visual .manshin-frame { transform: scale(0.85); }

/* 대표 서비스 3 */
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: var(--home-w); margin: 0 auto; padding: 8px 28px 72px; position: relative; z-index: 2; }
.feat-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px; text-decoration: none;
  background: linear-gradient(160deg, var(--panel-a), var(--panel-b)); border: 1.5px solid var(--line-mid); border-radius: 18px;
  transition: transform .18s, border-color .18s, box-shadow .18s, background .18s;
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.feat-card:active { transform: translateY(0); box-shadow: none; }
.feat-card--main { border-color: var(--gold); background: linear-gradient(160deg, #332a55, #1f1a3d); box-shadow: 0 0 0 1px rgba(201,168,76,0.25), 0 14px 40px rgba(201,168,76,0.12); }
.feat-badge { position: absolute; top: 20px; right: 20px; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: #14101f; font: 700 14px/1 'Noto Sans KR', sans-serif; }
.feat-icon { font-family: 'Noto Serif KR', serif; font-size: 40px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.feat-name { font-family: 'Noto Serif KR', serif; font-size: 28px; font-weight: 700; color: #fff; margin: 0; }
.feat-card--main .feat-name { font-size: 30px; }
.feat-desc { font-size: 17px; line-height: 1.7; color: var(--ivory); margin: 0; }
.feat-meta { font-size: 14.5px; line-height: 1.7; color: var(--ivory-2); margin: 4px 0 0; }
.feat-meta b { color: var(--gold-light); font-weight: 700; margin-right: 4px; }
.feat-go { margin-top: auto; padding-top: 12px; font: 700 18px/1 'Noto Sans KR', sans-serif; color: var(--gold-light); }
.feat-go i { font-style: normal; display: inline-block; transition: transform .18s; }
.feat-card:hover .feat-go i { transform: translateX(5px); }

/* 더 많은 운세 */
body .services.more { max-width: var(--home-w); margin: 0 auto; padding: 24px 28px 96px; }
body .services.more .section-header { margin-bottom: 28px; }
body .section-label { font-size: 14px; letter-spacing: 0.2em; color: var(--gold); }
body .section-label::before { background: var(--gold); }
body .services.more .section-title { font-family: 'Noto Serif KR', serif; font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; letter-spacing: 0; color: #fff; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-card {
  display: flex; align-items: flex-start; gap: 18px; padding: 24px 22px; text-decoration: none;
  background: linear-gradient(160deg, #221d40, #1a1633); border: 1.5px solid var(--line-mid); border-radius: 14px;
  transition: transform .18s, border-color .18s, background .18s;
}
.more-card:hover { transform: translateY(-3px); border-color: var(--gold); background: linear-gradient(160deg, #2b2450, #201b3f); }
.more-card:active { transform: translateY(0); }
.more-icon { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: rgba(201,168,76,0.12); font: 700 30px/1 'Noto Serif KR', serif; color: var(--gold); }
.more-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 2px 0 6px; }
.more-card p { font-size: 15.5px; line-height: 1.65; color: var(--ivory); margin: 0 0 10px; }
.more-in { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 14px; color: var(--ivory-2); }

/* 페르소나 */
body .persona { max-width: var(--home-w); margin: 0 auto; padding: 96px 28px; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; scroll-margin-top: calc(var(--hdr-h, 72px) + 16px); }
.persona-visual { position: relative; height: auto; }
.persona-img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 660px; object-fit: cover; object-position: center top; border-radius: 18px; border: 1.5px solid var(--line-mid); filter: none; }
body .persona-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 26px 22px; border-radius: 0 0 18px 18px; background: linear-gradient(to top, rgba(8,6,8,0.7), transparent); }
body .persona-label-name { font-size: 26px; color: #fff; }
body .persona-label-ko { font-size: 16px; letter-spacing: 0.08em; color: var(--ivory); }
body .persona-quote { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; color: #fff; margin-bottom: 26px; padding-left: 22px; }
body .persona-desc { font-size: 17px; line-height: 1.95; color: var(--ivory); margin-bottom: 28px; }
.persona-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0 0 32px; }
.persona-feats li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line-mid); border-radius: 12px; background: rgba(255,255,255,0.05); }
.persona-feats span { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(201,168,76,0.14); border: 1px solid var(--line-strong); font: 700 20px/1 'Noto Serif KR', serif; color: var(--gold); }
.persona-feats b { font-size: 17px; color: #fff; }
.persona-feats em { font-style: normal; font-size: 14px; color: var(--ivory-2); }

/* 기존 섹션 가독성 */
body .how .step-desc, body .service-desc { font-size: 16px; line-height: 1.85; color: var(--ivory); }
body .how .step-title { font-size: 20px; color: #fff; }
body .cta-sub { font-size: 18px; color: var(--ivory); }
body .btn-primary { font-size: 17px; letter-spacing: 0.04em; text-transform: none; }

@media (max-width: 1100px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .more-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body .hero { padding: 36px 20px 24px; }
  body .hero-content { padding: 0; }
  body .hero-desc { font-size: 17px; }
  body .hero-visual { display: none; }
  .hero-btn { width: 100%; min-height: 58px; }
  .hero-cta { flex-direction: column; }
  .feat { padding: 4px 20px 48px; gap: 14px; }
  body .services.more { padding: 8px 20px 64px; }
  body .persona { grid-template-columns: 1fr; gap: 28px; padding: 56px 20px; }
  .persona-img { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 640px) {
  .feat { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .persona-feats { grid-template-columns: 1fr; }
  .feat-card { padding: 24px 22px 22px; }
}

.feat-card, .more-card, .persona-content { word-break: keep-all; }
body .btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; border-radius: 12px; font-weight: 700; }

/* 히어로 제목: 항상 3줄 (데스크톱은 줄바꿈 금지, 모바일은 필요 시 줄바꿈 허용) */
.hero-title .ht-l { display: block; }
@media (min-width: 901px) { .hero-title .ht-l { white-space: nowrap; } body .hero-title { font-size: clamp(38px, 3.6vw, 56px); } }
@media (max-width: 900px) { body .hero-title { font-size: clamp(28px, 7.4vw, 40px); } }
