/* 인증 상세 페이지 공통 (확인서 디자인 톤: 흰 바탕 · 남색 · 금색) */
:root { --navy: #070b16; --blue: #0d3b8c; --gold: #c9a05a; --text: #1a1f2c; --body: #555; --line: #e4e6ea; --soft: #f4f6fa; --accent: var(--blue); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif; color: var(--text); background: #fff; line-height: 1.75; letter-spacing: -0.02em; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
body.t-main { --accent: #1d6f60; }
body.t-inno { --accent: #8a5520; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.top .inner { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; flex: none; }
.brand svg { width: 32px; height: 32px; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { padding: 8px 14px; border-radius: 30px; font-size: 14.5px; color: rgba(255, 255, 255, 0.75); }
.top nav a.on, .top nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.top-cta { flex: none; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 30px; font-size: 14px; font-weight: 600; }
.top-cta:hover { background: #fff; color: var(--navy); }

/* 히어로: 확인서 */
.hero { padding: 56px 0 0; background: var(--soft); }
.crumb { font-size: 13.5px; color: #7b8292; margin-bottom: 18px; }
.crumb a:hover { text-decoration: underline; }
.paper { position: relative; overflow: hidden; background: #fff; border: 1px solid #d6dbe4; padding: 50px 56px 120px; box-shadow: 0 20px 50px rgba(13, 37, 84, 0.08); }
.paper h1 { display: inline-block; font-size: 44px; font-weight: 800; color: var(--accent); letter-spacing: -0.05em; padding-bottom: 10px; border-bottom: 3px solid var(--gold); }
.paper .en { margin-top: 10px; font-size: 13px; letter-spacing: 0.05em; color: #2c5aa6; }
.paper .core { margin-top: 26px; font-size: 24px; font-weight: 700; letter-spacing: -0.04em; }
.paper .desc { margin-top: 10px; max-width: 640px; font-size: 16.5px; color: var(--body); }
.facts { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-size: 13px; font-weight: 700; color: var(--accent); }
.facts dt::before { content: "• "; }
.facts dd { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.5; margin-top: 2px; }
.medal { position: absolute; top: 34px; right: 44px; width: 120px; height: 120px; display: grid; place-content: center; text-align: center; color: #fff;
  clip-path: polygon(50% 0%, 59% 9%, 71% 4%, 75% 16%, 88% 16%, 87% 29%, 98% 35%, 92% 46%, 100% 56%, 90% 63%, 93% 76%, 80% 78%, 76% 90%, 64% 87%, 55% 97%, 46% 89%, 34% 95%, 29% 83%, 16% 83%, 17% 70%, 5% 64%, 12% 54%, 3% 44%, 14% 37%, 11% 24%, 24% 22%, 27% 9%, 40% 12%);
  background: radial-gradient(circle at 35% 30%, #fbe7a6, #d9a542 55%, #a87418); }
.t-main .medal { background: radial-gradient(circle at 35% 30%, #a9e3d6, #2e9b85 55%, #1b6b5a); }
.t-inno .medal { background: radial-gradient(circle at 35% 30%, #f3d2a6, #c4823a 55%, #8a5520); }
.medal b { font-family: "Times New Roman", Georgia, serif; font-size: 44px; line-height: 1; }
.medal small { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='n' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%230a58b0'/%3E%3Cstop offset='.6' stop-color='%230d3b8c'/%3E%3Cstop offset='1' stop-color='%2306225a'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23f2c272'/%3E%3Cstop offset='.5' stop-color='%23fbe3b3'/%3E%3Cstop offset='1' stop-color='%23e7b25e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 6 C120 40 260 62 400 60 L400 80 L0 80Z' fill='url(%23g)'/%3E%3Cpath d='M0 20 C130 52 270 70 400 66 L400 80 L0 80Z' fill='url(%23n)'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }

/* 본문 블록 */
.sec { padding: 80px 0 0; }
.sec:last-of-type { padding-bottom: 100px; }
.sec h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 8px; }
.sec h2 em { font-style: normal; color: var(--accent); }
.sec .sub { font-size: 16px; color: var(--body); margin-bottom: 26px; }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.types li { padding: 24px 26px; border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.types h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 6px; }
.types p { font-size: 15px; color: var(--body); }
.types li.pick { background: #fbf7ee; border-top-color: var(--gold); }
.types li.pick h3::after { content: "음식점 · 프랜차이즈 사례"; margin-left: 8px; padding: 2px 8px; font-size: 11.5px; font-weight: 700; color: #8a6514; background: #f3e4c4; border-radius: 4px; vertical-align: 3px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 2px solid var(--text); }
.steps li { position: relative; padding: 22px 16px 22px 0; counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font-size: 22px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.steps b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.steps span { font-size: 14px; color: var(--body); }
.steps li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; border-top: 1px solid var(--text); }
.docs li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; }
.docs li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 9px; height: 9px; border: 2px solid var(--accent); }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--text); }
.benefits div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); }
.benefits div:nth-child(odd) { border-right: 1px solid var(--line); }
.benefits div:nth-child(even) { padding-left: 24px; }
.benefits dt { font-weight: 800; color: var(--accent); }
.benefits dd { font-size: 15px; color: var(--body); }
.benefits dd b { display: block; font-size: 16px; color: var(--text); }
.benefits dd i { display: block; font-style: normal; font-size: 13.5px; color: #8a6514; margin-top: 2px; }
.jh { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jh li { padding: 26px; background: var(--soft); }
.jh b { display: block; font-size: 17px; margin-bottom: 6px; }
.jh span { font-size: 15px; color: var(--body); }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 640px; }
.cases figure { margin: 0; }
.cases img { display: block; width: 100%; box-shadow: 0 14px 30px rgba(13, 37, 84, 0.16); }
.cases figcaption { margin-top: 10px; font-size: 14px; color: var(--body); text-align: center; }
.cases figcaption b { display: block; color: var(--text); font-size: 15.5px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--text); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--accent); }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 400; color: #999; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 22px; font-size: 15.5px; color: var(--body); }
.warn { margin-top: 18px; padding: 18px 22px; background: #fbf7ee; border-left: 3px solid var(--gold); font-size: 15px; color: #5a4a2a; }

/* 상담 */
.cta { margin-top: 90px; padding: 56px 0; background: var(--navy); color: #fff; }
.cta .inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: 28px; font-weight: 400; line-height: 1.45; letter-spacing: -0.04em; }
.cta h2 b { font-weight: 800; color: #f2c272; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-btns a { padding: 16px 28px; border-radius: 4px; font-weight: 700; font-size: 16px; }
.cta-btns .p { background: #f2c272; color: var(--navy); }
.cta-btns .s { border: 1px solid rgba(255, 255, 255, 0.6); }
.others { padding: 60px 0 80px; }
.others h2 { font-size: 20px; margin-bottom: 16px; }
.others ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.others a { display: block; padding: 22px 24px; border: 1px solid var(--line); font-weight: 700; font-size: 17px; }
.others a span { display: block; font-weight: 400; font-size: 14px; color: var(--body); margin-top: 2px; }
.others a:hover { border-color: var(--text); }
.note { margin-top: 26px; font-size: 13px; color: #8a91a0; }
footer { border-top: 1px solid var(--line); padding: 26px 20px; text-align: center; font-size: 13px; color: #888; }

@media (max-width: 860px) {
  .top .inner { height: auto; flex-wrap: wrap; row-gap: 0; padding-top: 12px; }
  .top-cta { margin-left: auto; }
  .top nav { order: 3; width: calc(100% + 40px); margin: 8px -20px 0; padding: 0 16px 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { flex: none; padding: 8px 14px; font-size: 14px; background: rgba(255, 255, 255, 0.06); }
  .faq summary { font-size: 16px; }
  .sec .sub { font-size: 15px; }
  .paper { padding: 34px 22px 100px; }
  .paper h1 { font-size: 30px; margin-right: 76px; }
  .paper .core { font-size: 20px; }
  .medal { width: 78px; height: 78px; top: 18px; right: 16px; }
  .medal b { font-size: 28px; } .medal small { font-size: 7px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .types, .docs, .benefits, .jh, .others ul { grid-template-columns: 1fr; }
  .benefits div:nth-child(odd) { border-right: 0; }
  .benefits div:nth-child(even) { padding-left: 0; }
  .benefits div { grid-template-columns: 90px 1fr; }
  .steps, .steps.four { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .sec { padding-top: 60px; }
  .sec h2 { font-size: 23px; }
  .cta h2 { font-size: 22px; }
  .cta-btns, .cta-btns a { width: 100%; text-align: center; }
}
