/* ═══════════════════════════════════════════════
   MOOHAN Review — landing page
   차분한 세이지 그린 / 딥 슬레이트 팔레트
   ═══════════════════════════════════════════════ */

:root {
  --bg: #f7f9f8;
  --surface: #ffffff;
  --surface-2: #f1f5f4;

  --ink: #1e2a2e;
  --ink-mid: #46585d;
  --ink-soft: #6f8085;
  --line: #e2eae8;

  --accent: #2f6f6b;
  --accent-deep: #245a57;
  --accent-soft: #7fa9a3;
  --accent-tint: #eef4f3;
  --accent-line: #cfe0dc;

  --gold: #b8892f;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(30, 42, 46, 0.04), 0 8px 24px rgba(30, 42, 46, 0.05);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic",
               "Apple SD Gothic Neo", "Noto Sans KR", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.35; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ─────────── HERO ─────────── */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}

.brand-mark {
  display: inline-flex;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 8px;
  background: var(--accent);
}
.brand-mark svg { width: 100%; height: 100%; fill: #fff; }

.brand-ko {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}

h1 {
  margin-top: 20px;
  /* 폭이 좁아져도 첫 줄이 넘치지 않도록 뷰포트에 따라 축소 */
  font-size: clamp(1.7rem, 3.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;   /* 첫 줄을 한 줄로 유지 */
}

/* 데스크톱: 한 줄 / 모바일: 두 줄로 분리되는 헤드라인 조각 */
.w1, .w2 { white-space: nowrap; }
.w1 { margin-right: 0.3em; }

.lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: 1.05rem;
  color: var(--ink-mid);
}
.lead strong { color: var(--ink); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(47, 111, 107, 0.24);
}
.btn-primary:hover { background: var(--accent-deep); }

.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--accent-tint); color: var(--accent-deep); }

.btn-outline {
  background: var(--surface);
  color: var(--accent-deep);
  border: 1px solid var(--accent-line);
}
.btn-outline:hover { background: var(--accent-tint); border-color: var(--accent-soft); }

.hero-art svg { width: 100%; height: auto; display: block; }

/* ─────────── 지표 밴드 ─────────── */
.stats-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 26px;
  padding-bottom: 26px;
  text-align: center;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
}

.cap { font-size: 0.82rem; color: var(--ink-soft); }

/* ─────────── 섹션 공통 ─────────── */
.section { padding: 76px 0; }

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

h2 {
  margin-top: 10px;
  font-size: 1.85rem;
  font-weight: 800;
}

.section-lead {
  margin-top: 12px;
  max-width: 46em;
  color: var(--ink-mid);
}

/* ─────────── 서비스 카드 ─────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-accent { border-color: var(--accent-line); background: linear-gradient(180deg, #fbfdfc 0%, #ffffff 45%); }

.card-head { display: flex; align-items: center; gap: 14px; }

.icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 12px;
  background: var(--accent-tint);
}
.icon svg { width: 100%; height: 100%; fill: var(--accent); stroke: var(--accent); }

h3 { font-size: 1.3rem; font-weight: 800; }

.card-sub { font-size: 0.85rem; color: var(--ink-soft); }

.card-desc { margin-top: 18px; color: var(--ink-mid); font-size: 0.95rem; }

/* 가능 채널 */
.channels {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}

.channels-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.channels ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.channels li {
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}

.channels-note {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--accent-line);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-mid);
}
.channels-note b { color: var(--accent-deep); font-weight: 700; }

.feats { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }

.feats li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.feats li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.feats b { color: var(--ink); font-weight: 700; }

/* 가격표 */
.price {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.price caption {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding-bottom: 8px;
}

.price tr { border-top: 1px solid var(--line); }
.price tr:last-child { border-bottom: 1px solid var(--line); }

.price th,
.price td { padding: 11px 6px; text-align: left; vertical-align: middle; }

.price th {
  width: 5.8em;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--accent-deep);
}

.price td { color: var(--ink-mid); }

.won {
  width: 6.6em;
  text-align: right !important;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.price .best { background: var(--accent-tint); }
.price .best th { color: var(--accent-deep); }
.price .best .won { color: var(--accent-deep); }

/* 메타 정보 */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.meta > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 13px;
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 0.8rem;
}

.meta dt { color: var(--ink-soft); margin: 0; }
.meta dd { margin: 0; font-weight: 700; color: var(--ink); }

.card-link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease;
}
.card-link:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ─────────── 진행 절차 ─────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.step-no {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.steps h4 {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.steps h4 em {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}

.steps p {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ─────────── 강점 타일 ─────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.tile {
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease;
}
.tile:hover { border-color: var(--accent-line); }

.tile-ico {
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 10px;
  background: var(--accent-tint);
}
.tile-ico svg { width: 100%; height: 100%; stroke: var(--accent); fill: none; }

.tile h4 { margin-top: 16px; font-size: 1rem; font-weight: 700; }

.tile p { margin-top: 8px; font-size: 0.87rem; color: var(--ink-mid); line-height: 1.6; }

/* ─────────── 안내 박스 ─────────── */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
}

.notice-ico { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
.notice-ico svg { width: 100%; height: 100%; stroke: var(--accent-deep); fill: var(--accent-deep); }

.notice p { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.65; }
.notice b { color: var(--accent-deep); font-weight: 700; }

/* ─────────── 문의 ─────────── */
.contact { text-align: center; }
.contact .section-lead { margin-left: auto; margin-right: auto; }
.contact .hero-cta { justify-content: center; margin-top: 28px; }

.hours { margin-top: 20px; font-size: 0.83rem; color: var(--ink-soft); }

/* ─────────── 푸터 ─────────── */
.foot {
  margin-top: 20px;
  padding: 30px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.foot-brand { font-weight: 800; color: var(--accent-deep); letter-spacing: -0.01em; }
.foot-brand em { font-style: normal; font-weight: 500; font-size: 0.85rem; color: var(--ink-soft); margin-left: 4px; }

.foot-sub { font-size: 0.83rem; color: var(--ink-soft); }

/* ═══════════ 태블릿 ═══════════ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-art { max-width: 340px; margin: 0 auto; }

  .cards { grid-template-columns: 1fr; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════ 모바일 ═══════════ */
@media (max-width: 600px) {
  body { font-size: 15px; }

  .wrap { padding: 0 18px; }

  .hero-inner { padding-top: 44px; padding-bottom: 44px; }

  /* 모바일: 진정성있는 / SNS 마케팅을 위한 / 체험단 모집 — 세 줄 */
  h1 {
    font-size: 1.85rem;
    margin-top: 16px;
    white-space: normal;
  }
  .w1, .w2 { display: block; margin-right: 0; }
  .lead { font-size: 0.98rem; margin-top: 16px; }

  .hero-cta { margin-top: 24px; }
  .btn { flex: 1 1 100%; text-align: center; padding: 14px 22px; }

  .hero-art { max-width: 260px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .num { font-size: 1.25rem; }

  .section { padding: 52px 0; }
  h2 { font-size: 1.45rem; }

  .cards { gap: 16px; margin-top: 28px; }
  .card { padding: 24px 20px; }
  h3 { font-size: 1.15rem; }

  .icon { width: 40px; height: 40px; padding: 9px; }

  /* 가격표 — 좁은 화면에서는 카드형으로 재배치 */
  .price, .price tbody, .price tr, .price th, .price td { display: block; width: auto; }

  .price tr {
    position: relative;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .price tr:last-child { border-bottom: 1px solid var(--line); }

  .price .best {
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 -12px;
    border-radius: var(--radius-sm);
  }

  .price th { padding: 0; font-size: 0.72rem; }

  .price td {
    padding: 2px 0 0;
    font-size: 0.88rem;
  }

  .won {
    position: absolute;
    top: 12px;
    right: 0;
    text-align: right !important;
    font-size: 0.95rem !important;
  }
  .price .best .won { right: 12px; }

  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .steps li { padding: 18px 18px; }

  .grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .tile { padding: 20px 18px; }

  .notice { padding: 18px; gap: 11px; }
  .notice p { font-size: 0.86rem; }

  .foot-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}
