/* ==========================================================
   고원규통신 - style.css
   모바일 우선. 브레이크포인트: 640 / 900 / 1100
   ========================================================== */

:root {
  --ink: #14202b; /* 로고 가이드 Ink Navy */
  --ink-2: #2a3642;
  --muted: #5c6772;
  --faint: #66707a; /* AA 4.9:1 on white */
  --line: #e8e6e3;
  --line-2: #d9d5d0;
  --bg: #ffffff;
  --bg-soft: #f7f6f4;
  --bg-tint: #fff6f1;
  --brand: #d23f0f; /* 로고 주황의 짙은 톤. 흰 글씨 4.7:1, 버튼·작은 글씨용 */
  --brand-vivid: #f05a28; /* 로고 원색. 큰 제목 강조어·아이콘·선 */
  --brand-dark: #b0350c;
  --brand-soft: #fff0e9;
  --navy: #14202b;
  --navy-2: #1d2b37;
  --ok: #0f9d6b;
  --ok-soft: #e3f6ee;
  --warn: #c77700;
  --warn-soft: #fff3dc;
  --danger: #d64545;
  --kakao: #fee500;
  --kakao-ink: #191600;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 32, 43, .06), 0 2px 8px rgba(20, 32, 43, .04);
  --shadow: 0 10px 30px -12px rgba(20, 32, 43, .18), 0 2px 6px rgba(20, 32, 43, .05);
  --shadow-lg: 0 30px 60px -24px rgba(20, 32, 43, .35);
  --header-h: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* 모바일 하단 고정 CTA 공간 */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.shell { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-40 { margin-top: 36px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(240, 90, 40, .45); outline-offset: 2px; border-radius: 8px; }

.placeholder-text { color: var(--warn); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(240, 90, 40, .6); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-kakao:hover { filter: brightness(.96); }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-w:hover { border-color: #fff; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(20, 32, 43, .2); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.04em; }
.brand-logo { display: block; width: 144px; height: auto; }
.brand-profile { display: block; width: 38px; height: 38px; border-radius: 12px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-vivid));
  color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0;
}
.brand-name { font-size: 20px; }
.gnb { display: none; }
.header-cta { display: none; }
.menu-toggle {
  margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 12px; cursor: pointer; color: var(--ink);
}
.menu-toggle .ico { width: 26px; height: 26px; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu nav { padding-top: 20px; padding-bottom: 24px; }
.mm-label { font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .06em; margin-bottom: 10px; }
.mm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.mm-grid a { text-align: center; padding: 12px 4px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; font-size: 15px; }
.mm-list { display: grid; margin-bottom: 20px; }
.mm-list a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-weight: 600; }

/* ---------- Section base ---------- */
.section { padding: 80px 0; }
.sec-head { margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; max-width: 760px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--brand); margin-bottom: 14px; }
.section h2 { font-size: clamp(26px, 6.4vw, 42px); line-height: 1.32; font-weight: 800; letter-spacing: -.035em; }
.section h2 em { color: var(--brand-vivid); }
.sec-desc { margin-top: 18px; font-size: 17px; color: var(--muted); line-height: 1.75; max-width: 640px; }
.sec-head.center .sec-desc { margin-left: auto; margin-right: auto; }

/* ---------- 01 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 0;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(240, 90, 40, .10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(240, 90, 40, .06), transparent 60%),
    linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
}
.hero-grid { display: grid; gap: 44px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(30px, 7.6vw, 48px);
  line-height: 1.22; font-weight: 800; letter-spacing: -.045em;
}
.hero h1 .h1-sub { display: block; font-size: .5em; font-weight: 700; color: var(--muted); letter-spacing: -.03em; margin-bottom: 10px; }
.hero h1 em { color: var(--brand-vivid); }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 4.2vw, 20px); color: var(--ink-2); line-height: 1.65; }
.hero-lead strong { color: var(--ink); font-weight: 700; box-shadow: inset 0 -.42em 0 rgba(240, 90, 40, .14); }
.hero-actions { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.hero-actions .btn { width: 100%; }


.trust-band { padding: 8px 0 0; }
.hero-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.hero-strip > div {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.45;
}
.hero-strip b { color: var(--ink); }
.hero-strip .ico { color: var(--brand-vivid); width: 22px; height: 22px; }

/* ---------- 02 Quick menu ---------- */
.quick { padding-top: 64px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quick-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 6px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid transparent;
  font-size: 14px; text-align: center; line-height: 1.3;
  transition: border-color .18s, background-color .18s, transform .18s, box-shadow .18s;
}
.quick-item b { font-weight: 700; }
.q-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.q-ico .ico { width: 26px; height: 26px; }
.quick-item:hover { background: #fff; border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-accent { background: var(--brand-soft); }
.quick-accent .q-ico { background: var(--brand); color: #fff; }

/* ---------- 03 Pain ---------- */
.pain { background: var(--bg-soft); }
.pain-grid { display: grid; gap: 16px; }
.pain-card {
  background: #fff; border-radius: var(--radius-lg); padding: 26px 24px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px;
}
.pain-no { font-size: 26px; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; color: var(--brand-vivid); }
.bubbles { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.bubble-them { align-self: flex-start; background: var(--brand-soft); border-top-left-radius: 4px; }
.bubble-me { align-self: flex-end; background: var(--brand); color: #fff; border-top-right-radius: 4px; }
.pain-text { font-size: 15.5px; color: var(--muted); line-height: 1.7; }
.pain-text b { color: var(--ink); font-weight: 700; }
.quote-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quote-compare div { background: var(--bg-soft); border-radius: 12px; padding: 12px 8px; text-align: center; }
.quote-compare small { display: block; font-size: 12px; color: var(--faint); font-weight: 600; }
.quote-compare b { display: block; font-size: 18px; letter-spacing: -.03em; }
.quote-person { display: block; width: 36px; height: 36px; margin: 8px auto 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line-2); }

/* ---------- 04 Cause ---------- */
.terms { display: flex; flex-wrap: wrap; gap: 8px; }
.terms span {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.terms span:nth-child(3n+1) { background: var(--brand-soft); border-color: transparent; color: var(--brand-dark); }
.cause-bridge { margin: 48px 0 20px; font-size: clamp(22px, 5vw, 30px); font-weight: 800; letter-spacing: -.035em; line-height: 1.4; }
.cause-bridge em { color: var(--brand-vivid); }
.cause-grid { display: grid; gap: 16px; }
.cause-card { padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.cause-no { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--ink); padding: 4px 12px; border-radius: 999px; }
.cause-card h3 { margin: 14px 0 10px; font-size: 20px; letter-spacing: -.03em; line-height: 1.4; }
.cause-card p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.cause-card p b { color: var(--ink); }
.cause-conclusion {
  margin-top: 28px; padding: 44px 26px; border-radius: var(--radius-lg);
  background: var(--brand-soft);
  color: var(--ink); text-align: center;
}
.cc-small { font-size: 16px; color: var(--muted); }
.cc-big { margin: 10px 0 18px; font-size: clamp(26px, 6vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.3; }
.cc-big em { color: var(--brand-vivid); }
.mobile-only { display: inline; }
.cc-text { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 28px; }

/* ---------- 05 Compare ---------- */
.compare { background: var(--bg-soft); }
.flow { display: grid; gap: 12px; }
.flow-step { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 26px 24px; }
.flow-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.flow-ico.flow-photo { overflow: hidden; padding: 0; background: transparent; }
.flow-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flow-ico .ico { width: 28px; height: 28px; }
.flow-step-last { background: var(--brand); border-color: var(--brand); color: #fff; }
.flow-step-last .flow-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.flow-step-last p { color: rgba(255, 255, 255, .88) !important; }
.flow-step h3 { font-size: 19px; margin-bottom: 4px; letter-spacing: -.03em; }
.flow-step p { color: var(--muted); font-size: 14.5px; }
.flow-arrow { display: grid; place-items: center; color: var(--brand-vivid); transform: rotate(90deg); }
.flow-arrow .ico { width: 26px; height: 26px; }

.check-panel { margin-top: 20px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.check-col { padding: 24px; }
.check-col + .check-col { border-top: 1px solid var(--line); }
.check-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.03em; margin-bottom: 14px; }
.check-col h3 .ico { color: var(--brand-vivid); width: 22px; height: 22px; }
.check-pic { flex: none; width: 32px; height: 32px; }
.check-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.check-col li { font-size: 14px; padding: 6px 12px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); font-weight: 500; }

.statement { margin-top: 48px; text-align: center; }
.statement p { font-size: clamp(22px, 5.2vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.4; margin-bottom: 28px; }
.statement p em { color: var(--brand-vivid); }
.disclaimer { display: block; margin-top: 16px; font-size: 13px; color: var(--faint); }

/* ---------- 06 Method ---------- */
.method-grid { display: grid; gap: 32px 24px; }
.method-card {
  padding-top: 22px; border-top: 2px solid var(--ink);
}
.method-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.03em; line-height: 1.4; }
.method-card p { color: var(--muted); font-size: 15px; }
.method-close {
  margin-top: 24px; display: flex; align-items: center; gap: 12px;
  padding: 20px 22px; border-radius: var(--radius); background: var(--brand-soft);
  font-size: 17px; color: var(--ink-2); line-height: 1.5;
}
.method-close b { color: var(--brand-dark); }
.method-close > span { min-width: 0; }
.method-close .ico { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--brand); color: #fff; }

/* ---------- 07 Why ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; gap: 8px; }

/* ---------- 08-09 Founder ---------- */
.founder-grid { display: grid; gap: 36px; align-items: center; }
.founder-photo { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.founder-photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; flex-direction: column; padding: 12px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); box-shadow: var(--shadow);
}
.founder-photo figcaption b { font-size: 19px; letter-spacing: -.02em; }
.founder-photo figcaption span { font-size: 13px; color: var(--muted); }
.founder-lead { margin-top: 20px; font-size: 16.5px; color: var(--muted); line-height: 1.8; }
.founder-lead b { color: var(--ink); }
.facts { margin-top: 28px; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--faint); font-weight: 600; }
.facts dd { font-size: 16px; font-weight: 600; line-height: 1.55; }
.facts dd a { font-size: 14px; color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.story { margin-top: 64px; padding: 36px 24px; border-radius: var(--radius-lg); background: var(--bg-soft); display: grid; gap: 24px; }
.story-head h3 { font-size: clamp(22px, 5vw, 30px); line-height: 1.4; letter-spacing: -.035em; }
.story-body p { font-size: 16.5px; color: var(--ink-2); line-height: 1.85; margin-bottom: 14px; }
.story-body blockquote {
  margin: 22px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand-vivid);
  font-size: clamp(20px, 4.6vw, 26px); font-weight: 800; letter-spacing: -.035em; line-height: 1.45; color: var(--ink);
}
.story-points { display: grid; gap: 10px; margin: 22px 0; }
.story-close { font-size: 18px !important; color: var(--ink) !important; }
.story-close b { color: var(--brand); }

/* ---------- 10 Promise ---------- */
.promise-grid { display: grid; gap: 12px; }
.promise-item { padding: 22px 22px 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-vivid); }
.promise-item small { display: block; font-size: 15px; color: var(--muted); margin-bottom: 2px; }
.promise-item b { font-size: 20px; letter-spacing: -.03em; line-height: 1.45; }
.promise-quote { margin-top: 48px; text-align: center; font-size: clamp(18px, 4.4vw, 24px); font-weight: 700; line-height: 1.6; letter-spacing: -.03em; word-break: keep-all; }
.promise-quote em { color: var(--brand-vivid); }

/* ---------- 11 Services ---------- */
.svc-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 26px 24px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-card h3 { font-size: 21px; letter-spacing: -.03em; }
.svc-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; flex: 1; align-content: flex-start; }
.svc-card li { font-size: 14px; padding: 6px 12px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); }
.svc-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-radius: 12px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 15.5px; transition: background-color .18s;
}
.svc-cta:hover { background: var(--brand); }
.svc-cta .ico { width: 18px; height: 18px; }

/* ---------- 12 Process ---------- */
.process { background: var(--bg-soft); }
.steps { display: grid; }
.steps li {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 16px;
  align-items: center; padding: 10px 0;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 58px; bottom: -6px; width: 2px; background: var(--line-2); }
.s-no { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 17px; position: relative; z-index: 1; }
.steps b { font-size: 16.5px; letter-spacing: -.02em; }
.steps small { font-size: 13.5px; color: var(--muted); }
.steps .s-last .s-no { background: var(--brand); color: #fff; }
.process-note {
  margin-top: 28px; padding: 28px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); text-align: center;
}
.process-note p { font-size: 17px; color: var(--ink-2); line-height: 1.7; margin-bottom: 20px; }
.process-note b { font-size: clamp(20px, 4.8vw, 24px); color: var(--ink); letter-spacing: -.03em; }

/* ---------- 13 Before / After ---------- */
.ba-grid { display: grid; gap: 14px; align-items: stretch; }
.ba-col { border-radius: var(--radius-lg); padding: 30px 24px; }
.ba-label { font-size: 14px; font-weight: 800; letter-spacing: .14em; margin-bottom: 18px; }
.ba-before { background: #fff; border: 1px dashed var(--line-2); }
.ba-before .ba-label { color: var(--faint); }
.ba-before ul { display: flex; flex-wrap: wrap; gap: 10px; }
.ba-before li { padding: 10px 16px; font-size: 15.5px; color: var(--ink-2); background: var(--bg-soft); border-radius: 16px; border-top-left-radius: 4px; line-height: 1.45; }
.ba-after { background: var(--brand-soft); color: var(--ink); }
.ba-after .ba-label { color: var(--brand); }
.ba-after ul { display: grid; gap: 14px; }
.ba-after li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.ba-after li:last-child { margin-top: 4px; font-size: 17px; }
.ba-after .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; flex: none; }
.ba-mid { display: grid; place-items: center; color: var(--brand-vivid); transform: rotate(90deg); }
.ba-mid .ico { width: 30px; height: 30px; }
.ba-close { margin-top: 40px; text-align: center; font-size: clamp(22px, 5.4vw, 32px); font-weight: 800; letter-spacing: -.035em; }
.ba-close em { color: var(--brand-vivid); }

/* ---------- 14 Proof ---------- */
.proof { background: var(--bg-soft); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proof-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
}
.proof-type { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.proof-ph {
  aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--bg-soft) 0 10px, #fff 10px 20px);
  border: 1px dashed var(--line-2); color: var(--line-2);
}
.proof-ph .ico { width: 36px; height: 36px; color: var(--faint); opacity: .6; }
.proof-img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.proof-change { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.proof-meta { font-size: 12px; color: var(--faint); }
.proof-state { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }
.proof-card[data-status="real"] .proof-state { display: none; }
.proof-card:first-child { grid-column: 1 / -1; }

/* ---------- 15-16 Fit ---------- */
.fit-grid { display: grid; gap: 20px; }
.fit-col { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 32px 24px; }
.fit-col h2 { font-size: clamp(24px, 5.4vw, 32px); }
.fit-list { margin-top: 24px; display: grid; gap: 8px; }
.fit-list li { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; font-size: 15.5px; line-height: 1.5; font-weight: 600; }
.rule-list { margin-top: 24px; display: grid; gap: 16px; }
.rule-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.55; }
.fit-list .ico { margin-top: 1px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.rule-list .ico { margin-top: 1px; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #fdecec; color: var(--danger); }
.rules-close { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 18px; line-height: 1.6; }
.rules-close b { color: var(--brand); }

/* ---------- 17 FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-grid { display: grid; gap: 8px; }
.faq .sec-head .btn { margin-top: 22px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { width: 22px; height: 22px; color: var(--faint); transition: transform .25s; flex: none; }
.faq-list details[open] summary .ico { transform: rotate(45deg); color: var(--brand); }
.faq-list summary:hover { color: var(--brand); }
.faq-a { padding: 0 4px 22px; }
.faq-a p { font-size: 15.5px; color: var(--muted); line-height: 1.8; }
.faq-a a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 18 Consult ---------- */
.consult {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(240, 90, 40, .4), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.consult-grid { display: grid; gap: 36px; align-items: start; }
.consult .eyebrow { color: #ff9a74; }
.ci-sub { font-size: 18px; font-weight: 600; opacity: .7; margin-bottom: 6px; }
.consult h2 { font-size: clamp(30px, 7vw, 46px); }
.consult h2 em { color: #ff9a74; }
.ci-cases { margin-top: 28px; display: grid; gap: 10px; }
.ci-cases div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.ci-cases b { display: block; font-size: 16px; }
.ci-cases span { font-size: 14.5px; opacity: .75; }
.ci-products { margin-top: 22px; font-size: 14.5px; opacity: .7; }
.ci-assure { margin-top: 16px; font-size: 17px; line-height: 1.65; }
.ci-contact { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 26px 20px; box-shadow: var(--shadow-lg); }
.form-top h3 { font-size: 19px; letter-spacing: -.03em; line-height: 1.45; }
.progress { margin-top: 18px; height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.progress span { display: block; height: 100%; width: 33.3%; background: var(--brand); border-radius: 999px; transition: width .35s ease; }
.progress-label { margin-top: 8px; font-size: 13px; color: var(--faint); font-weight: 600; }
.progress-label span { color: var(--brand); }
.step { display: none; border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.step.is-active { display: block; animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step legend { font-size: 18px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 10px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: #fff;
  font-weight: 700; font-size: 15px; text-align: center;
  transition: border-color .15s, background-color .15s, color .15s;
}
.choice span .ico { width: 20px; height: 20px; color: var(--faint); }
.choice:hover span { border-color: var(--brand); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.choice input:checked + span .ico { color: var(--brand); }
.choice input:focus-visible + span { outline: 3px solid rgba(240, 90, 40, .4); outline-offset: 2px; }
.choice-wide { grid-column: 1 / -1; }

.upload { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--bg-soft); }
.upload-title { font-weight: 700; font-size: 15.5px; }
.upload-desc, .upload-help { font-size: 13.5px; color: var(--muted); }
.upload-help { margin-top: 10px; }
.upload-btns { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.up-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 12px; background: #fff; border: 1.5px dashed var(--line-2);
  font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--ink-2);
}
.up-btn:hover { border-color: var(--brand); color: var(--brand); }
.up-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.up-btn .ico { width: 20px; height: 20px; }
.file-list { margin-top: 10px; display: grid; gap: 6px; }
.file-list li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 10px; font-size: 13.5px; border: 1px solid var(--line); }
.file-list img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.file-list .f-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { border: 0; background: none; color: var(--faint); cursor: pointer; padding: 4px; }
.file-list button:hover { color: var(--danger); }
.file-list .ico { width: 16px; height: 16px; }

.opt { font-size: 12px; font-weight: 600; color: var(--faint); background: var(--bg-soft); padding: 2px 7px; border-radius: 8px; margin-left: 4px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff;
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(240, 90, 40, .12); }
.field input.is-invalid { border-color: var(--danger); }
.field-row { display: grid; gap: 0; }
.chip-select { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chip-select label { position: relative; cursor: pointer; }
.chip-select input { position: absolute; opacity: 0; pointer-events: none; }
.chip-select span { display: grid; place-items: center; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 14.5px; transition: .15s; }
.chip-select input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.chip-select input:focus-visible + span { outline: 3px solid rgba(240, 90, 40, .4); outline-offset: 2px; }
.more { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.more summary { padding: 14px 0; font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.more[open] { padding-bottom: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; cursor: pointer; padding: 14px; border-radius: 12px; background: var(--bg-soft); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: var(--danger); font-size: 14px; font-weight: 600; }
.form-error.show { display: block; }
.form-nav { margin-top: 22px; display: flex; gap: 8px; }
.btn-grow { flex: 1; }
.form-nav .btn[hidden] { display: none; }

.state { text-align: center; padding: 24px 4px; }
.state[hidden] { display: none; }
.state-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 800; }
.state-ico.ok { background: var(--ok-soft); color: var(--ok); }
.state-ico.ok .ico { width: 32px; height: 32px; }
.state-ico.fail { background: #fdecec; color: var(--danger); }
.state h3 { font-size: 21px; letter-spacing: -.03em; }
.state p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.state-actions { margin-top: 22px; display: grid; gap: 8px; }

/* ---------- Footer ---------- */
.footer { background: #0d151c; color: rgba(255, 255, 255, .72); padding: 56px 0 40px; font-size: 14px; }
.footer-top { display: flex; flex-direction: column; gap: 22px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brand-light { color: #fff; }
.footer-brand p { margin-top: 12px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.biz { margin-top: 24px; display: grid; gap: 6px; }
.biz > div { display: flex; gap: 12px; }
.biz dt { flex: none; width: 104px; color: rgba(255, 255, 255, .45); }
.biz dd { color: rgba(255, 255, 255, .85); }
.footer .placeholder-text { color: #ffc15e; }
.cert { margin-top: 20px; }
.cert summary { display: inline-block; cursor: pointer; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; color: rgba(255, 255, 255, .85); }
.cert summary::-webkit-details-marker { display: none; }
.cert img { margin-top: 14px; max-width: 320px; border-radius: 8px; background: #fff; }
.footer-note { margin-top: 28px; font-size: 12.5px; color: rgba(255, 255, 255, .45); line-height: 1.8; }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 64px 64px 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(20, 32, 43, .2);
  transition: transform .25s ease;
}
.dock-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 12px; background: var(--bg-soft); font-size: 11.5px; font-weight: 700; min-height: 54px; }
.dock-btn .ico { width: 20px; height: 20px; }
.dock-kakao { background: var(--kakao); color: var(--kakao-ink); }
.dock-main { display: grid; place-items: center; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 16.5px; letter-spacing: -.02em; box-shadow: 0 8px 20px -8px rgba(240, 90, 40, .7); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ==========================================================
   ≥ 640px
   ========================================================== */
@media (min-width: 640px) {
  .shell { padding: 0 32px; }
  .mobile-only { display: none; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .hero-strip { grid-template-columns: repeat(4, 1fr); }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .cause-grid { grid-template-columns: 1fr 1fr; }
  .check-panel { grid-template-columns: repeat(3, 1fr); }
  .check-col + .check-col { border-top: 0; border-left: 1px solid var(--line); }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-card:first-child { grid-column: auto; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .choice-wide { grid-column: span 3; }
  .form-card { padding: 34px 32px; }
  .state-actions { grid-template-columns: 1fr 1fr; }
  .state-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .biz { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* ==========================================================
   ≥ 900px
   ========================================================== */
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .section { padding: 112px 0; }
  .sec-head { margin-bottom: 56px; }

  .hero { padding: 64px 0 0; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; }
  .hero-copy { align-self: center; padding-bottom: 64px; }
  .trust-band { padding-top: 16px; }

  .quick-grid { grid-template-columns: repeat(8, 1fr); }
  .quick { padding-top: 88px; }

  .pain-grid { grid-template-columns: repeat(4, 1fr); }
  .pain-card { padding: 28px 22px; }

  .flow { grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; gap: 8px; }
  .flow-arrow { transform: none; }

  .method-grid { grid-template-columns: repeat(4, 1fr); }
  .method-close { justify-content: center; }

  .why-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  .why .sec-head h2 { font-size: 36px; }
  .why-grid .sec-head { margin-bottom: 0; }

  .founder-grid { grid-template-columns: 440px 1fr; gap: 72px; align-items: start; }
  .founder-photo { position: sticky; top: calc(var(--header-h) + 24px); }
  .story { grid-template-columns: 340px 1fr; gap: 56px; padding: 56px; margin-top: 88px; }

  .svc-feature { grid-column: span 2; }

  .steps { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .steps { gap: 16px; }
  .steps li { grid-template-columns: 1fr; grid-template-rows: auto; align-content: start; padding: 0; gap: 4px; }
  .steps li:not(:last-child)::after { left: 52px; right: -8px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .s-no { grid-row: auto; margin-bottom: 14px; }
  .process-note { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 32px 40px; }
  .process-note p { margin-bottom: 0; }

  .ba-grid { grid-template-columns: 1fr 60px 1fr; }
  .ba-mid { transform: none; }
  .ba-col { padding: 40px 36px; }

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

  .fit-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .fit-col { padding: 44px 40px; }

  .faq-grid { grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
  .faq .sec-head { position: sticky; top: calc(var(--header-h) + 32px); }

  .consult-grid { grid-template-columns: 1fr 520px; gap: 64px; }
  .consult-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ==========================================================
   ≥ 1100px - 데스크톱 헤더
   ========================================================== */
@media (min-width: 1100px) {
  .gnb { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .gnb a { padding: 8px 11px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .15s, background-color .15s; }
  .gnb a:hover { color: var(--brand); background: var(--brand-soft); }
  .gnb-divider { width: 1px; height: 16px; background: var(--line-2); margin: 0 8px; }
  .header-cta { display: inline-flex; margin-left: 12px; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ==========================================================
   법적 고지 페이지 (privacy / terms)
   ========================================================== */
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .shell { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.legal-header a.back { font-size: 14px; font-weight: 600; color: var(--muted); }
.legal-page { max-width: 780px; padding-top: 56px; padding-bottom: 96px; }
.legal-page h1 { font-size: clamp(28px, 6vw, 38px); letter-spacing: -.04em; margin-bottom: 10px; }
.legal-page .legal-meta { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.legal-page h2 { font-size: 19px; letter-spacing: -.02em; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-page p, .legal-page li { font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.legal-page ul { list-style: disc; padding-left: 20px; margin: 8px 0; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-page th { background: var(--bg-soft); font-weight: 700; }
.legal-note { margin-top: 48px; padding: 16px 18px; border-radius: 12px; background: var(--warn-soft); color: var(--warn) !important; font-size: 14px !important; }
body.legal { padding-bottom: 0; }
#scrollSentinel{height:1px;margin-bottom:-1px}

/* ==========================================================
   2026-09-29 피드백 반영분
   ========================================================== */

/* 컬러 픽토그램 (Fluent Emoji, MIT) */
.pic { width: 30px; height: 30px; }
.quick-accent .q-ico { background: #fff; }

/* 놓치고 있는 지원금 */
.missed { background: linear-gradient(180deg, var(--brand-soft) 0%, #fffaf7 100%); }
.missed-grid { display: grid; gap: 32px; align-items: center; }
.missed-total {
  margin: 28px 0 24px; display: flex; width: fit-content; align-items: baseline; gap: 14px;
  padding: 18px 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
}
.mt-label { font-size: 16px; font-weight: 700; color: var(--muted); }
.mt-num { font-size: clamp(44px, 10vw, 64px); font-weight: 800; letter-spacing: -.04em; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.mt-num small { font-size: .4em; margin-left: 4px; color: var(--ink); }
.mt-num.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.08); } }
.missed-list { display: grid; gap: 10px; }
.missed-list label {
  position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm); transition: border-color .15s, background-color .15s;
}
.missed-list input { position: absolute; opacity: 0; pointer-events: none; }
.missed-list .pic { width: 36px; height: 36px; flex: none; }
.missed-list b { display: block; font-size: 16px; letter-spacing: -.02em; }
.missed-list small { display: block; font-size: 13.5px; color: var(--muted); }
.missed-list label::after {
  content: ""; margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--line-2); background: #fff center / 14px no-repeat;
}
.missed-list label:has(input:checked) { border-color: var(--brand); background: var(--bg-tint); }
.missed-list label:has(input:checked)::after {
  border-color: var(--brand); background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23fff'%3E%3C!-- Phosphor check-bold (MIT) --%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
}
.missed-list label:has(input:focus-visible) { outline: 3px solid rgba(240, 90, 40, .4); outline-offset: 2px; }

/* 문제의 본질 카드 */
.cause-card { display: flex; flex-direction: column; }
.cause-summary { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 20px; align-items: start; }
.cause-top { display: flex; align-items: flex-start; }
.cause-pic { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.cause-copy h3 { margin-top: 14px; font-size: 22px; }
.cause-copy > p { font-size: 16.5px; }
.cause-card > .cause-loss {
  margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: #fdecec;
  display: flex; align-items: center; gap: 12px; color: #7a1f1f; font-size: 16px; line-height: 1.5;
}
.cause-loss b { color: var(--danger) !important; }
.loss-pic { width: 36px; height: 36px; flex: none; }

/* 대표 소개 */
.facts dd a.fact-phone { font-size: 17px; font-weight: 800; color: var(--ink); text-decoration: none; }
.fact-note { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--brand-dark); line-height: 1.55; }
.diplomas { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.diplomas[hidden] { display: none; }
.diplomas img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.diplomas a { display: block; border-radius: 12px; transition: box-shadow .15s; }
.diplomas a:hover { box-shadow: var(--shadow); }
.diplomas .doc-wide { grid-column: 1 / -1; }
.docs-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.diplomas figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.story-points > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.story-points b { display: block; font-size: 16.5px; color: var(--brand-dark); margin-bottom: 4px; }
.story-body .story-points p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.65; }
.story-points mark { padding: 0; background: none; color: var(--brand-dark); font-weight: 700; }

@media (max-width: 480px) {
  .cause-summary { grid-template-columns: minmax(0, 1fr) 120px; gap: 14px; }
  .cause-pic { width: 120px; height: 120px; }
  .cause-copy h3 { font-size: 20px; }
}

/* 서비스 롤링 카드 */
.svc-carousel { position: relative; }
.svc-grid {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 20px 16px; margin: 0 -20px; scrollbar-width: none;
}
.svc-grid::-webkit-scrollbar { display: none; }
.svc-card { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; }
.svc-card .svc-top { margin-bottom: 8px; }
.svc-line { font-size: 16px; font-weight: 700; color: var(--brand-dark); margin-bottom: 16px; letter-spacing: -.02em; }
.svc-card:hover { transform: none; }
.svc-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.svc-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.svc-btn:hover { border-color: var(--brand); color: var(--brand); }
.svc-btn .ico { width: 18px; height: 18px; }

/* 상담 예시 카드 */
.case-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.case-tabs::-webkit-scrollbar { display: none; }
.case-tabs button {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--ink-2); transition: border-color .15s, background-color .15s, color .15s;
}
.case-tabs button .pic { width: 22px; height: 22px; }
.case-tabs button:hover { border-color: var(--brand); }
.case-tabs button[aria-selected="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.case-panels { max-width: 920px; margin: 0 auto; }
.case-card[hidden] { display: none; }
.case-card.is-in-tab { animation: stepIn .3s ease; }
.case-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.case-tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--bg-soft); padding: 5px 10px; border-radius: 999px; }
.case-head { display: flex; align-items: center; gap: 12px; }
.case-pic { width: 52px; height: 52px; flex: none; }
.case-head h3 { font-size: clamp(20px, 4.6vw, 26px); letter-spacing: -.035em; line-height: 1.4; }
.case-ba { display: grid; gap: 8px; }
.case-ba > div { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); }
.case-ba .after { background: var(--brand-soft); }
.case-ba dt { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-bottom: 2px; }
.case-ba .after dt { color: var(--brand); }
.case-ba > div { padding: 18px 20px; }
.case-ba dd { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.case-point { font-weight: 800; font-size: 17px; color: var(--brand-dark); }


/* 푸터 */
.biz-note { color: rgba(255, 255, 255, .5); font-size: 12.5px; }
.biz dd a:hover { text-decoration: underline; }

/* 하단 플로팅 CTA: 모든 화면에서 항상 표시 */
body { padding-bottom: 88px; }

@media (min-width: 640px) {
  .fit-list { grid-template-columns: 1fr 1fr; }
  .fit-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .story-points { grid-template-columns: 1fr 1fr; }
  .case-ba { grid-template-columns: 1fr 1fr; }
  .case-tabs { justify-content: center; }
  .case-card { padding: 36px 40px; }
}
@media (min-width: 900px) {
  .missed-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .svc-grid { padding: 4px 0 16px; margin: 0; }
  .svc-card { flex-basis: calc((100% - 42px) / 4); }
  body { padding-bottom: 104px; }
  .dock {
    left: 50%; right: auto; bottom: 20px; width: min(760px, calc(100% - 64px));
    transform: translateX(-50%);
    grid-template-columns: auto auto 1fr; gap: 10px; padding: 10px;
    border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 40px -16px rgba(20, 32, 43, .35);
  }
  .dock-btn { flex-direction: row; gap: 8px; padding: 0 18px; font-size: 14.5px; }
  .dock-main { font-size: 17px; min-height: 56px; }
  .dock-main:hover { background: var(--brand-dark); }
}

/* 상담 팝업: CTA를 누르면 스크롤 대신 폼을 바로 띄운다 */
.consult-dialog {
  width: min(560px, 100%); max-width: 100%; max-height: 100dvh; margin: auto;
  padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
}
.consult-dialog::backdrop { background: rgba(20, 32, 43, .55); }
.consult-dialog[open] { animation: stepIn .25s ease; }
.dialog-body { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding: 56px 0 0; }
.dialog-body .form-card { box-shadow: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; min-height: calc(100dvh - 56px); }
.dialog-close {
  position: absolute; top: 8px; right: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.dialog-close .ico { width: 20px; height: 20px; }
html.dialog-open { overflow: hidden; }
@media (min-width: 640px) {
  .dialog-body { max-height: calc(100dvh - 48px); padding: 0; }
  .dialog-body .form-card { border-radius: var(--radius-lg); min-height: 0; padding-top: 36px; }
  .dialog-close { top: 12px; background: var(--bg-soft); }
}

/* 히어로 대표 사진: 배경을 지운 컷아웃을 섹션 바닥에 붙여 세운다 (아정당 모델 배너 방식) */
.hero-grid { row-gap: 28px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-visual::before {
  content: ""; position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%);
  width: 220px; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(160deg, #fff0e9 0%, #ffc9b2 100%);
}
.hero-visual img { position: relative; display: block; width: 195px; height: auto; }
@media (min-width: 640px) { .hero-visual img { width: 220px; } .hero-visual::before { width: 240px; } }
@media (min-width: 900px) {
  .hero-visual img { width: min(100%, 340px); }
  .hero-visual::before { width: min(96%, 370px); bottom: 20%; }
}
