/* =========================================================
   해달빛 플레이스 — 스타일
   색상 대비(WCAG, 실제 계산값)
   - 흰 글씨 / #608550(primary): 4.23 → 큰 글씨(24px+ 또는 19px+ 굵게)·장식에만
   - 흰 글씨 / #466a38(green-strong): 6.21 → 버튼·작은 글씨 배경
   - #466a38 / 흰 배경: 6.21, #466a38 / #dff0de: 5.23
   - #1e2a1b(본문) / 흰 배경: 14.98, / #dff0de: 12.59
   - #4a5446(보조 본문) / 흰 배경: 7.93, / #dff0de: 6.67
   - #608550 / #dff0de: 3.55 → 선·아이콘 등 비텍스트(3:1 이상)에만
   ========================================================= */

/* Pretendard (SIL OFL 1.1, assets/fonts/Pretendard-LICENSE.txt) — KS X 1001 한글 서브셋.
   600 굵기는 별도 파일 없이 700 파일로 표시됩니다. 불러오기 전·실패 시 시스템 서체로 표시(swap). */
@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-Regular.subset.woff2") format("woff2");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-Bold.subset.woff2") format("woff2");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Pretendard-ExtraBold.subset.woff2") format("woff2");
}

:root {
  --primary: #608550;       /* 시그니처 초록 */
  --soft: #dff0de;          /* 시그니처 연두 */
  --green-strong: #466a38;  /* 버튼·작은 초록 글씨용 보조 초록 */
  --green-deep: #3e5f31;    /* 호버 */
  --green-ink: #2f4a26;     /* 마지막 문의 구간 배경 */
  --ink: #1e2a1b;           /* 본문 */
  --ink-2: #4a5446;         /* 보조 본문 */
  --line: #dfe5db;
  --bg: #ffffff;
  --bg-alt: #f7f9f5;
  --focus: #1f5fbf;

  --font: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Malgun Gothic", "맑은 고딕", "Noto Sans KR", system-ui, sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --radius: 14px;
  --radius-sm: 10px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }

/* hidden 속성이 display 규칙에 덮이지 않도록 (스크립트 전용 버튼·탭은 기본 숨김) */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--green-strong); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 고정 헤더가 앵커 제목을 가리지 않도록 */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-strong);
  margin-bottom: 14px;
}
.section { padding: 88px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-title {
  font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.38;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section-lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 18px;
  max-width: 680px;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }

.btn-primary { background: var(--green-strong); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }

.btn-ghost { background: #fff; color: var(--green-strong); border-color: var(--primary); }
.btn-ghost:hover { background: var(--soft); color: var(--green-deep); }

.btn-light { background: #fff; color: var(--green-ink); }
.btn-light:hover { background: var(--soft); color: var(--green-ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row-center { justify-content: center; }

/* ---------- A. 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { background: rgba(255,255,255,.9); backdrop-filter: blur(6px); }
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  flex-shrink: 0;
}
/* 로고의 빛 꼬리가 왼쪽 아래로 뻗어 있어 글자 쪽으로 살짝 당겨 시각적 간격을 맞춤 */
.brand img { width: 44px; height: 44px; margin: -4px -4px -4px -6px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a {
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600;
  padding: 6px 0;
}
.site-nav ul a:hover { color: var(--green-strong); text-decoration: underline; }

/* 스크립트가 없을 때: 모바일에서 메뉴를 헤더 아래 줄에 그대로 노출 (헤더가 높아지므로 고정 해제) */
@media (max-width: 899px) {
  html:not(.has-js) .site-header { position: static; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 10px 18px; }
  .site-nav ul { flex-wrap: wrap; gap: 6px 18px; }
  .site-nav ul a { font-size: 15px; }
}

/* 스크립트가 정상 초기화되면(html.has-js) 토글 메뉴로 전환 */
.menu-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .15s ease, opacity .15s ease;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -5px; }
.menu-toggle-bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 899px) {
  .has-js .header-inner { flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  .has-js .menu-toggle { display: inline-flex; }
  .has-js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(30,42,27,.08);
  }
  .has-js .site-nav:not(.is-open) { display: none; }
  .has-js .site-nav ul { flex-direction: column; gap: 0; }
  .has-js .site-nav ul a {
    display: block; padding: 14px 4px; font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .has-js .site-nav .header-cta { margin-top: 16px; min-height: 50px; }
}

/* ---------- B. 첫 화면 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 92% -10%, rgba(223,240,222,.9), rgba(223,240,222,0) 70%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 48px;
  align-items: center;
}
/* 한국어 제목을 의미 단위로 줄바꿈 */
.h1-line, .line { display: inline-block; }
.hero h1 {
  font-size: clamp(29px, 3.9vw, 50px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero .lead {
  margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-2);
  max-width: 600px;
}
.hero .cta-row { margin-top: 34px; }
.cta-note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }

.criteria {
  position: relative;
  background: var(--soft);
  border-radius: 20px;
  padding: 30px 30px 26px;
}
.criteria::after { /* 절제된 해·달 모티프 */
  content: "";
  position: absolute; right: 14px; top: 8px;
  width: 72px; height: 72px;
  background: url("../img/logo-160.png") center / contain no-repeat;
  opacity: .3;
  pointer-events: none;
}
.criteria-title {
  font-size: 15px; font-weight: 800; color: var(--green-strong);
  margin-bottom: 18px;
}
.criteria-list { counter-reset: crit; position: relative; }
.criteria-list li {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.criteria-list li + li { margin-top: 26px; }
.criteria-list li + li::before { /* 단계 연결선 */
  content: "";
  position: absolute; left: 50px; top: -26px;
  width: 2px; height: 26px; background: var(--primary);
}
.criteria-key {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; border-radius: 999px;
  background: var(--green-strong); color: #fff;
  font-weight: 800; font-size: 15px;
}
.criteria-q { font-weight: 700; font-size: 17px; line-height: 1.45; }

.br-desktop { display: none; }
@media (min-width: 1000px) { .br-desktop { display: inline; } }

@media (max-width: 899px) {
  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .hero .cta-row .btn { width: 100%; }
  .criteria { padding: 24px 18px 20px; }
  .criteria-list li { grid-template-columns: 70px 1fr; padding: 14px; gap: 12px; }
  .criteria-list li + li::before { left: 48px; }
  .criteria-q { font-size: 16px; }
}

/* ---------- C. 고객 고민 ---------- */
.concerns { background: var(--bg); }
.concerns-inner { max-width: 880px; }
.concern-list { margin-top: 32px; border-top: 1px solid var(--line); }
.concern-list li {
  position: relative;
  padding: 20px 0 20px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
}
.concern-list li::before {
  content: "";
  position: absolute; left: 4px; top: 31px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--primary);
}
.concerns-bridge {
  margin-top: 28px;
  font-size: 18px;
  color: var(--ink);
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}

/* ---------- D. 분석 과정과 샘플 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 56px;
  border-top: 2px solid var(--primary);
}
.step { padding: 24px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--soft); color: var(--green-strong);
  font-weight: 800; font-size: 15px;
  margin-bottom: 12px;
}
.step-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--ink-2); }

@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step + .step {
    padding: 0 0 22px 46px; border-left: 0; position: relative;
  }
  .step-num { position: absolute; left: 0; top: 0; }
  .step:not(:last-child)::before {
    content: ""; position: absolute; left: 15px; top: 38px; bottom: 6px;
    width: 2px; background: var(--soft);
  }
}

/* 분석 예시 — 보고서 문서 틀 */
.doc-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(30,42,27,.08), 0 2px 6px rgba(30,42,27,.04);
  overflow: hidden;
}
.doc-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.doc-dots { display: inline-flex; gap: 6px; }
.doc-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dccf; }
.doc-bar-title { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.doc-body { padding: 28px 32px 24px; }
.doc-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}
.doc-head img { width: 40px; height: 40px; margin-left: -4px; }
.doc-brand { font-weight: 800; font-size: 16px; line-height: 1.3; }
.doc-kind { font-size: 14px; color: var(--ink-2); }
.doc-frame .sample { border-width: 1px; border-color: var(--line); border-radius: 12px; }
.doc-frame .sample-head { background: var(--soft); }
@media (max-width: 560px) {
  .doc-body { padding: 18px 14px 16px; }
  .doc-bar-title { font-size: 12px; }
}

/* 분석 예시 묶음: 스크립트가 없으면 두 예시를 세로로 나열 */
.samples > .sample + .sample { margin-top: 24px; }
.sample-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sample-tab {
  min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--primary); border-radius: 999px;
  background: #fff; color: var(--green-strong);
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.sample-tab:hover { background: var(--soft); }
.sample-tab[aria-selected="true"] { background: var(--green-strong); border-color: var(--green-strong); color: #fff; }
.has-js .samples > .sample + .sample { margin-top: 0; }
.samples > .sample-foot { padding: 14px 4px 0; }

.sample {
  border: 2px solid var(--primary);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.sample-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 18px 24px;
  background: var(--soft);
}
.sample-badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  background: var(--green-strong); color: #fff;
  font-size: 14px; font-weight: 800;
}
.sample-note { font-size: 15px; color: var(--ink); font-weight: 600; }

.sample-table { width: 100%; border-collapse: collapse; }
.sample-table th, .sample-table td {
  text-align: left; vertical-align: top;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.sample-table thead th {
  font-size: 14px; font-weight: 800; color: var(--green-strong);
  background: #fff; border-bottom: 2px solid var(--line);
}
.sample-table tbody th { font-weight: 700; width: 32%; }
.sample-table td { color: var(--ink-2); }
.sample-table td:last-child { color: var(--ink); font-weight: 600; }
.sample-foot { padding: 14px 24px 18px; font-size: 15px; color: var(--ink-2); }

.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 9px;
  border-radius: 6px;
  font-size: 13px; font-weight: 800; line-height: 1.7;
  vertical-align: 1px;
}
.tag-keep { background: #eef1ec; color: var(--ink-2); }
.tag-focus { background: var(--green-strong); color: #fff; }
.tag-boost { background: var(--soft); color: var(--green-strong); }
.tag-hold { background: #fff; color: var(--ink-2); border: 1px dashed var(--ink-2); line-height: 1.55; }

@media (max-width: 767px) {
  .sample-head { padding: 16px 18px; }
  .sample-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sample-table, .sample-table tbody, .sample-table tr, .sample-table th, .sample-table td { display: block; width: 100%; }
  .sample-table tr { padding: 18px; border-bottom: 1px solid var(--line); }
  .sample-table tbody th, .sample-table td { padding: 0; border: 0; }
  .sample-table tbody th { width: 100%; font-size: 17px; margin-bottom: 10px; }
  .sample-table td { margin-top: 8px; font-size: 16px; }
  .sample-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px; font-weight: 800; color: var(--green-strong);
    margin-bottom: 2px;
  }
  .sample-foot { padding: 14px 18px 18px; }
}

.restraint {
  margin-top: 56px;
  text-align: center;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.restraint-main {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--green-strong);
}
.restraint-sub { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.restraint .btn { margin-top: 28px; }

/* ---------- E. 서비스 ---------- */
.services { background: var(--bg-alt); border-top: 1px solid var(--line); }
.journey {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-size: 15px; font-weight: 800; color: var(--green-strong);
}
.journey { flex-wrap: wrap; }
.journey .journey-label { flex-basis: 100%; padding: 0; border: 0; background: none; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.journey span:not(.journey-sep):not(.journey-label) {
  padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--primary);
}
.journey-sep { width: 28px; height: 2px; background: var(--primary); }

.service-list {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.service:first-child { border: 2px solid var(--primary); }
.service-role {
  display: inline-block;
  font-size: 13px; font-weight: 800; color: var(--green-strong);
  background: var(--soft);
  padding: 2px 10px; border-radius: 6px;
  margin-bottom: 14px;
}
.service-title { font-size: 21px; font-weight: 800; margin-bottom: 10px; line-height: 1.4; }
.service-num { display: block; font-size: 14px; color: var(--green-strong); margin-bottom: 4px; letter-spacing: .04em; }
.service p:not(.service-role) { color: var(--ink-2); }
.services-note {
  margin-top: 28px; font-size: 17px; font-weight: 600;
  padding: 18px 22px; border-radius: var(--radius-sm);
  background: #fff; border: 1px dashed var(--primary);
}
@media (max-width: 899px) {
  .service-list { grid-template-columns: 1fr; }
}

/* ---------- F. 운영과 비용 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}
.price-card {
  background: var(--soft);
  border-radius: 20px;
  padding: 34px 32px;
}
.price { font-size: 20px; font-weight: 700; line-height: 1.5; }
.price-label { display: block; font-size: 18px; color: var(--green-strong); }
.price strong {
  display: inline-block;
  font-size: clamp(34px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-ink);
  margin: 4px 0;
}
.price-note { margin-top: 14px; font-size: 16px; color: var(--ink); font-weight: 600; }
.rank-note {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(70,106,56,.25);
  font-size: 15px; color: var(--ink-2);
}

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.principle:nth-child(even) { padding-left: 20px; padding-right: 0; border-left: 1px solid var(--line); }
.principle dt { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.principle dt::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: var(--primary); margin-right: 10px; vertical-align: 3px;
}
.principle dd { color: var(--ink-2); font-size: 16px; }

.report-preview {
  margin-top: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.report-title { font-size: 17px; font-weight: 800; }
.report-items { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.report-items li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.report-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--soft); color: var(--green-strong); font-size: 13px; font-weight: 800;
}

@media (max-width: 899px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .price-card { padding: 26px 22px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 18px 0; border-left: 0; }
  .report-preview { flex-direction: column; align-items: flex-start; padding: 20px; }
  .report-items { flex-direction: column; }
}

/* ---------- G. 대표 ---------- */
.founder { border-top: 1px solid var(--line); }
.founder-inner {
  display: grid; grid-template-columns: 160px 1fr; gap: 48px; align-items: center;
  max-width: 980px;
}
.founder-mark {
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle at 58% 42%, #ffffff 0 30%, var(--soft) 72%);
  display: flex; align-items: center; justify-content: center;
}
.founder-mark img { width: 124px; height: 124px; }
.founder-name { font-weight: 800; color: var(--green-strong); margin-bottom: 10px; font-size: 16px; }
.founder-text { margin-top: 18px; max-width: 680px; }
.founder-text p { color: var(--ink-2); font-size: 18px; }
.founder-text p + p { margin-top: 12px; }
.founder-text .founder-sign { color: var(--ink); font-weight: 700; }
@media (max-width: 767px) {
  .founder-inner { grid-template-columns: 1fr; gap: 24px; }
  .founder-mark { width: 112px; height: 112px; }
  .founder-mark img { width: 88px; height: 88px; }
}

/* ---------- H. 무료 분석 ---------- */
.consult { background: var(--soft); }
.consult .section-lead { color: var(--ink); }
.consult-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px;
}
.consult-block {
  background: #fff; border-radius: var(--radius); padding: 28px;
}
.block-title { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.check-list li {
  position: relative; padding: 8px 0 8px 32px; font-weight: 600;
}
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--primary); border-bottom: 3px solid var(--primary);
  transform: rotate(-45deg);
}
.methods { display: grid; gap: 14px; }
.method {
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.method-title { font-weight: 800; margin-bottom: 2px; }
.method p:not(.method-title) { color: var(--ink-2); font-size: 16px; }

.flow { margin-top: 40px; }
.flow-list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  counter-reset: flow;
}
.flow-list li {
  counter-increment: flow;
  position: relative;
  background: #fff; border-radius: var(--radius-sm);
  padding: 16px 14px 16px;
  font-weight: 700; font-size: 16px; line-height: 1.45;
}
.flow-list li::before {
  content: counter(flow);
  display: block;
  font-size: 13px; font-weight: 800; color: var(--green-strong);
  margin-bottom: 4px;
}
@media (max-width: 899px) {
  .consult-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; gap: 8px; }
  .flow-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
  .flow-list li::before { margin: 0; min-width: 18px; }
}
@media (max-width: 480px) { .consult-block { padding: 22px 18px; } }

.consult-cta {
  margin-top: 44px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 36px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 30px 32px;
  border: 2px solid var(--primary);
}
.consult-cta .block-title { margin-bottom: 10px; }
.prep { font-size: 18px; font-weight: 700; }
.msg-hint { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* 카톡 메시지 예시: 말풍선 형태 */
.msg-card { min-width: 0; }
.msg-template {
  position: relative;
  margin: 0;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  font-family: var(--font);
  font-size: 16px; line-height: 1.75; color: var(--ink);
  white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere;
}
.msg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.msg-status { min-height: 1.5em; margin-top: 8px; font-size: 14px; color: var(--green-strong); font-weight: 700; }

@media (max-width: 899px) {
  .consult-cta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .consult-cta { padding: 22px 18px; }
  .consult-cta .btn { width: 100%; }
  .msg-template { font-size: 15px; padding: 16px; }
}

/* ---------- I. FAQ ---------- */
.faq-inner { max-width: 880px; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 700; font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--green-strong); border-bottom: 2.5px solid var(--green-strong);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-item summary:hover .faq-q { color: var(--green-strong); }
.faq-a { padding: 0 4px 24px; color: var(--ink-2); max-width: 760px; }

/* ---------- J. 마지막 문의 ---------- */
.closing {
  position: relative; overflow: hidden;
  background: var(--green-ink);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.closing::before { /* 절제된 해·달 모티프 */
  content: "";
  position: absolute; right: -40px; bottom: -70px;
  width: 260px; height: 260px;
  background: url("../img/logo-white-240.png") center / contain no-repeat;
  opacity: .09;
  pointer-events: none;
}
.closing-inner { position: relative; }
.closing :focus-visible { outline-color: #ffffff; } /* 어두운 배경 위 포커스 대비 9.87:1 */
.closing-title {
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.35; letter-spacing: -0.02em;
}
.closing-lead { margin: 14px auto 0; max-width: 680px; font-size: 18px; color: var(--soft); }
.closing .cta-row { margin-top: 32px; }
@media (max-width: 480px) {
  .closing { padding: 64px 0; }
  .closing .cta-row .btn { width: 100%; }
  .closing::before { display: none; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 40px; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 40px; align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 52px; height: 52px; margin-left: -6px; }
.footer-name { font-weight: 800; }
.footer-meta { font-size: 15px; color: var(--ink-2); }
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 15px; }
.footer-contact li { min-width: 0; overflow-wrap: anywhere; }
.fc-label { display: inline-block; min-width: 56px; color: var(--ink-2); font-weight: 700; }
.footer-biz {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 4px 18px;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.footer-biz div { display: flex; gap: 6px; }
.footer-biz dt { font-weight: 700; }
.footer-copy { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
}

/* ---------- 모바일 하단 고정 문의 ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(30,42,27,.06);
  }
  .mobile-bar .btn { min-height: 50px; }
  .mobile-bar-kakao { flex: 1 1 auto; }
  .mobile-bar-phone { flex: 0 0 96px; }
  /* 고정 바 높이만큼 푸터 아래 여백 확보 */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* 아주 좁은 화면에서 하단 고정 버튼 문구가 한 줄에 들어가도록 */
@media (max-width: 359px) {
  .mobile-bar { gap: 6px; }
  .mobile-bar .btn { font-size: 14px; padding: 10px 10px; letter-spacing: -0.02em; }
  .mobile-bar-phone { flex-basis: 68px; }
}

/* =========================================================
   개편(상담 전환 중심) 추가 구간
   ========================================================= */

/* 첫 화면 보조 */
.hero .lead { margin-top: 24px; }
.lead-strong {
  margin-top: 14px;
  font-size: clamp(17px, 1.6vw, 19px); font-weight: 800; color: var(--ink);
  padding-left: 12px; border-left: 4px solid var(--primary);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--soft); color: var(--green-strong);
  font-size: 14px; font-weight: 700;
}
.chips li::before {
  content: ""; width: 10px; height: 6px; margin-top: -3px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* 섹션 공통: 강조 한 줄, 섹션 하단 CTA */
.steps-punch {
  margin-top: 8px;
  font-size: clamp(18px, 2vw, 21px); font-weight: 800; color: var(--green-strong);
}
.section-cta {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 26px 30px; border-radius: var(--radius);
  background: var(--green-ink); color: #fff;
}
.section-cta-q { font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; }
.section-cta .btn-primary { background: #fff; color: var(--green-ink); }
.section-cta .btn-primary:hover { background: var(--soft); color: var(--green-ink); }
.section-cta :focus-visible { outline-color: #fff; }
@media (max-width: 560px) {
  .section-cta { padding: 22px 18px; }
  .section-cta .btn { width: 100%; }
}

/* 2. 브랜드 철학 */
.why { border-top: 1px solid var(--line); }
.why-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.why-copy p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.why-copy .section-title { margin-bottom: 4px; }
.triage { display: grid; gap: 10px; }
.triage li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff;
}
.triage-label { font-weight: 800; }
.triage-act { font-size: 15px; font-weight: 700; white-space: nowrap; }
.triage-now { background: var(--green-strong) !important; border-color: var(--green-strong) !important; color: #fff; }
.triage-later { background: var(--soft) !important; border-color: var(--soft) !important; }
.triage-later .triage-act { color: var(--green-strong); }
.triage-skip { border-style: dashed !important; }
.triage-skip .triage-label { color: var(--ink-2); }
.triage-skip .triage-act { color: var(--ink-2); }
.why-punch {
  margin-top: 18px;
  font-size: clamp(18px, 2vw, 21px); font-weight: 800; line-height: 1.5;
}
@media (max-width: 899px) { .why-inner { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 400px) { .triage li { flex-direction: column; align-items: flex-start; gap: 2px; } }

/* 3. 실제 적용 사례 */
.cases { background: var(--bg-alt); border-top: 1px solid var(--line); }
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.case {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 22px 22px;
  box-shadow: 0 10px 28px rgba(30,42,27,.06);
  min-width: 0;
}
.case-industry {
  align-self: flex-start;
  padding: 3px 12px; border-radius: 999px;
  background: var(--soft); color: var(--green-strong);
  font-size: 13px; font-weight: 800;
}
.case-title { margin-top: 12px; font-size: 19px; font-weight: 800; line-height: 1.45; }
.case-visual {
  margin-top: 18px; padding: 18px 16px;
  background: var(--bg-alt); border-radius: 14px;
}
.ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.ba-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  text-align: center; min-width: 0;
}
.ba-after { border: 2px solid var(--green-strong); }
.ba-tag { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ba-num {
  font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink-2);
}
.ba-after .ba-num { color: var(--green-ink); }
.ba-num small { font-size: .5em; font-weight: 800; margin-left: 2px; }
.ba-num-sm { font-size: clamp(19px, 2vw, 22px); line-height: 1.3; }
.ba-arrow {
  width: 22px; height: 22px; flex-shrink: 0;
  background:
    linear-gradient(var(--green-strong), var(--green-strong)) left center / 14px 3px no-repeat;
  position: relative;
}
.ba-arrow::after {
  content: ""; position: absolute; right: 3px; top: 50%;
  width: 9px; height: 9px; margin-top: -5px;
  border-top: 3px solid var(--green-strong); border-right: 3px solid var(--green-strong);
  transform: rotate(45deg);
}
.case-metric {
  margin-top: 14px;
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.metric-label { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.case-metric strong {
  font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: var(--green-ink);
}

/* 성과가 오래 유지되고 있음을 보여주는 표시 */
.case-keep { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.case-keep-on {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; padding: 7px 12px; border-radius: 999px;
  background: var(--green-strong); color: #fff; font-size: 14px;
}
.case-keep-on::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--soft); box-shadow: 0 0 0 3px rgba(223,240,222,.35);
}

/* 사례 2: 키워드 비교 */
.kw { display: grid; grid-template-columns: 0.8fr auto 1.2fr; align-items: center; gap: 8px; }
.kw-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kw-cap { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.kw-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.kw-tag {
  display: inline-block; padding: 3px 9px; border-radius: 8px;
  background: var(--green-strong); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.5;
}
.kw-tag-dim {
  align-self: flex-start;
  background: #fff; color: var(--ink-2); border: 1px dashed var(--ink-2);
  text-decoration: line-through; text-decoration-color: rgba(74,84,70,.6);
}

/* 사례 3: 2주 예약 띠 */
.cal { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; }
.cal-label { font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cal-row { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.cal-row i { display: block; height: 14px; border-radius: 3px; background: #e3e8df; }
.cal-row i.on { background: var(--green-strong); }
.cal-note { margin-top: 8px; font-size: 12px; color: var(--ink-2); text-align: right; }

/* 사례 이야기: 판단을 가장 강조 */
.case-story { margin-top: 18px; display: grid; gap: 14px; }
.case-story dt { font-size: 13px; font-weight: 800; color: var(--ink-2); margin-bottom: 2px; }
.case-story dd { font-size: 16px; color: var(--ink-2); line-height: 1.65; }
.case-judge { padding: 12px 14px; border-left: 4px solid var(--primary); background: var(--soft); border-radius: 0 10px 10px 0; }
.case-judge dt { color: var(--green-strong); }
.case-judge dd { color: var(--ink); font-weight: 700; }
.cases-basis { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

@media (max-width: 1023px) {
  .case-list { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 400px) {
  .case { padding: 20px 16px; }
  .case-visual { padding: 14px 12px; }
  .kw { grid-template-columns: 1fr; }
  .kw .ba-arrow { transform: rotate(90deg); justify-self: center; }
}

/* 내부 확인 표시: 대표 확인 전 문구(공개 전 반드시 제거, check-leaks에서 차단) */
[data-todo] { outline: 2px dashed #d9822b; outline-offset: 2px; }

/* 5·6. 분석 방식 / 보고서 예시 */
.analysis { background: var(--bg-alt); border-top: 1px solid var(--line); }
.analysis .steps { margin-bottom: 28px; }
.report { border-top: 1px solid var(--line); }
.sample-verdict {
  margin: 0; padding: 14px 24px 18px;
  font-size: 16px; color: var(--ink);
  border-top: 1px solid var(--line);
}
.sample-verdict strong { color: var(--green-strong); margin-right: 4px; }
@media (max-width: 767px) { .sample-verdict { padding: 14px 18px 18px; } }

/* 7. 서비스: 역할을 제목처럼 */
.service-list .service-role {
  font-size: 14px; padding: 3px 12px; border-radius: 999px;
}

/* 8. 운영 방식 */
.process { border-top: 1px solid var(--line); }
.process-list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  margin-bottom: 24px;
}
.process-list li {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px solid var(--line);
  font-weight: 700; line-height: 1.45;
}
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-strong); color: #fff; font-size: 14px; font-weight: 800;
}
.process-grid { margin-top: 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.process-grid .report-preview { flex-direction: column; align-items: flex-start; }
.process-grid .report-items { flex-direction: column; }
@media (max-width: 899px) {
  .process-list { grid-template-columns: 1fr; gap: 8px; }
  .process-list li { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* 9. 가격 */
.pricing { background: var(--bg-alt); border-top: 1px solid var(--line); }
.pricing-copy p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.pricing-copy .pricing-punch { color: var(--ink); font-weight: 800; font-size: clamp(18px, 2vw, 20px); }
.pricing .pricing-grid { align-items: center; }
.price-card { background: #fff; border: 2px solid var(--primary); }
.price-facts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.price-facts li {
  padding: 4px 10px; border-radius: 999px; background: var(--soft);
  color: var(--green-strong); font-size: 14px; font-weight: 700;
}

/* 11. 무료 분석: 기본 경로 강조 */
.consult .section-lead + .section-lead { margin-top: 10px; }
.method-main { border-left-color: var(--green-strong); background: #fff; box-shadow: 0 0 0 1px var(--primary) inset; }
.method-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 6px;
  background: var(--green-strong); color: #fff; font-size: 12px; font-weight: 800; vertical-align: 2px;
}

/* ---------- 모션 최소화 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
