/* SEO·AEO·GEO 허브 전용 — /seo-aeo-geo/ 안내 · /seo-aeo-geo/diagnosis/ 진단 (functions.php uw_seo_hub_assets)
 * 사이트 토큰(--cm-*)은 그대로 쓰고, 다크 남색 히어로·광채만 더한다(제안서 v1.4·그루브 톤). 이모지·유니코드 기호 금지. */
:root {
  --sh-navy: #0b1530;
  --sh-navy-2: #16295a;
  --sh-glow: rgba(49, 130, 246, 0.38);
  --sh-red: #e5484d;
  --sh-red-soft: #ffb4b6;
  --sh-red-bg: #fdecec;
  --sh-amber: #b26a00;
  --sh-green: #15803d;
  --sh-line: #e6e8ee;
  --sh-radius: 20px;
}

.sh-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 히어로 */
.sh-hero { position: relative; overflow: hidden; padding: 120px 0 100px; color: var(--cm-white);
  background: radial-gradient(60% 80% at 80% 0%, var(--sh-glow), transparent 60%), linear-gradient(160deg, var(--sh-navy) 0%, var(--sh-navy-2) 100%); }
.sh-hero::after { content: ''; position: absolute; right: -10%; bottom: -40%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(49, 130, 246, 0.28), transparent 70%); pointer-events: none; }
.sh-hero-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sh-eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); }
.sh-main { word-break: keep-all; overflow-wrap: anywhere; }   /* 한글 단어는 안 끊고, 긴 주소만 끊는다 */
.sh-hero-tit { margin: 20px 0 16px; font-size: 52px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--cm-white); }
.sh-hero-txt { max-width: 680px; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.sh-hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.sh-hero-points li { padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); font-size: 15px; color: rgba(255, 255, 255, 0.9); }
.sh-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sh-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: var(--cm-white); }
.sh-byline { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* 안내 페이지 섹션 */
.sh-sec { padding: 100px 0; }
.sh-sec-gray { background: var(--cm-bg); }
.sh-sec-tit { font-size: 36px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; color: var(--cm-black); }
.sh-sec-txt { max-width: 720px; margin-top: 14px; font-size: 18px; line-height: 1.75; color: var(--cm-text-body); }
.sh-center { margin: 32px auto 0; text-align: center; }
.sh-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sh-card3 { padding: 32px 28px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: var(--cm-white); }
.sh-card3 h3 { margin: 10px 0; font-size: 22px; font-weight: 800; color: var(--cm-black); }
.sh-card3 p { font-size: 16px; line-height: 1.7; color: var(--cm-text-body); }
.sh-card3 a { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--cm-primary); }
.sh-tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(var(--cm-primary-rgb), 0.1); font-size: 13px; font-weight: 800; color: var(--cm-primary); }
.sh-src { margin-top: 10px; font-size: 13px; color: var(--cm-sub); }
.sh-table { width: 100%; margin-top: 36px; border-collapse: collapse; overflow: hidden; border-radius: var(--sh-radius); background: var(--cm-white); }
.sh-table th, .sh-table td { padding: 16px 18px; border-bottom: 1px solid var(--sh-line); font-size: 16px; line-height: 1.6; text-align: left; vertical-align: top; }
.sh-table th { background: var(--sh-navy); font-weight: 700; color: var(--cm-white); }
.sh-table td:nth-child(2) { font-weight: 600; color: var(--sh-green); }
.sh-table td:nth-child(3) { color: var(--sh-red); }
.sh-sec-more { margin-top: 24px; }
.sh-sec-more a { font-weight: 700; color: var(--cm-primary); }
.sh-proof-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sh-proof-nums div { padding: 28px; border-radius: var(--sh-radius); background: var(--sh-navy); color: var(--cm-white); }
.sh-proof-nums strong { display: block; font-size: 34px; font-weight: 800; }
.sh-proof-nums p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.sh-proof-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.sh-shot { margin: 0; overflow: hidden; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: var(--cm-white); }
.sh-shot img { display: block; width: 100%; height: auto; }
.sh-shot figcaption { padding: 16px 18px; font-size: 15px; line-height: 1.6; color: var(--cm-text-body); }
.sh-shot figcaption b { display: block; margin-bottom: 4px; color: var(--cm-black); }
.sh-note { margin-top: 16px; font-size: 14px; color: var(--cm-sub); }
.sh-cta-sec { padding: 90px 0; text-align: center; color: var(--cm-white); background: linear-gradient(160deg, var(--sh-navy), var(--sh-navy-2)); }
.sh-cta-sec h2 { font-size: 34px; font-weight: 800; color: var(--cm-white); }
.sh-cta-sec p { margin-top: 12px; font-size: 18px; color: rgba(255, 255, 255, 0.8); }
.sh-cta-sec .sh-hero-btns { justify-content: center; }

/* 진단 폼·진행 */
.sh-diag { padding: 0 0 100px; background: var(--cm-bg); }
.sh-form, .sh-progress { max-width: 820px; margin: 40px auto 0; padding: 40px; border-radius: var(--sh-radius); background: var(--cm-white); box-shadow: 0 20px 50px rgba(11, 21, 48, 0.1); }
.sh-field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.sh-field label { font-size: 15px; font-weight: 700; color: var(--cm-black); }
.sh-field label em { margin-left: 4px; font-size: 12px; font-style: normal; color: var(--cm-primary); }
.sh-field label span { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--cm-sub); }
.sh-field-url { margin-top: 0; }
.sh-field-url .cm-input { font-size: 18px; }
.sh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sh-agree { margin-top: 20px; font-size: 14px; color: var(--cm-text-body); }
.sh-check { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.sh-privacy summary { margin: 4px 0 0 26px; font-size: 13px; color: var(--cm-sub); cursor: pointer; }
.sh-privacy p { margin: 6px 0 0 26px; font-size: 13px; line-height: 1.6; color: var(--cm-sub); }
.sh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sh-submit { width: 100%; margin-top: 24px; padding: 18px; font-size: 18px; }
.sh-msg { margin-top: 12px; font-size: 14px; }
.sh-msg.is-err { color: var(--sh-red); }
.sh-progress-tit { font-size: 22px; font-weight: 800; color: var(--cm-black); }
.sh-steps { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.sh-steps li { padding: 12px 16px; border-radius: 12px; background: var(--cm-bg); color: var(--cm-sub); }
.sh-steps li.is-on { background: rgba(var(--cm-primary-rgb), 0.1); font-weight: 700; color: var(--cm-primary); }
.sh-steps li.is-done { color: var(--cm-black); }
.sh-bar { height: 8px; margin-top: 20px; overflow: hidden; border-radius: 999px; background: var(--cm-bg); }
.sh-bar span { display: block; width: 5%; height: 100%; background: var(--cm-primary); transition: width 0.6s ease; }
.sh-progress-txt { margin-top: 12px; font-size: 14px; color: var(--cm-sub); }

/* 결과 */
.sh-result { max-width: 920px; margin: 40px auto 0; }
.sh-score { padding: 40px; border-radius: var(--sh-radius); color: var(--cm-white);
  background: radial-gradient(60% 90% at 90% 0%, var(--sh-glow), transparent 60%), linear-gradient(160deg, var(--sh-navy), var(--sh-navy-2)); }
.sh-score-site { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.sh-score-big { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.sh-score-big strong { font-size: 72px; font-weight: 800; line-height: 1; }
.sh-score-big span { font-size: 20px; color: rgba(255, 255, 255, 0.6); }
.sh-score-grade { margin-top: 10px; font-size: 20px; font-weight: 700; }
.sh-grade-risk .sh-score-grade, .sh-grade-improve .sh-score-grade { color: var(--sh-red-soft); }
.sh-critical { margin: 18px 0 0; padding: 14px 18px; list-style: none; border-radius: 12px; background: rgba(229, 72, 77, 0.2); }
.sh-critical li { font-weight: 700; line-height: 1.6; }
.sh-weakest { margin-top: 18px; font-size: 22px; font-weight: 800; }
.sh-engines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.sh-engines li { position: relative; overflow: hidden; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); }
.sh-engines li.is-weak { box-shadow: inset 0 0 0 2px var(--sh-red); }
.sh-engines span { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.sh-engines strong { display: block; margin-top: 4px; font-size: 24px; }
.sh-mini { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--cm-primary); }
.sh-areas { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.sh-engine-note { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.sh-block { margin-top: 28px; padding: 32px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: var(--cm-white); }
.sh-block-tit { font-size: 26px; font-weight: 800; color: var(--cm-black); }
.sh-block-txt { margin-top: 8px; font-size: 16px; line-height: 1.7; color: var(--cm-text-body); }
.sh-ext { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.sh-ext-small { display: grid; gap: 10px; }
.sh-metric { position: relative; padding: 20px; border-radius: 16px; background: var(--cm-bg); }
.sh-metric-label { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--cm-black); }
.sh-metric-val { display: block; margin-top: 6px; font-size: 28px; font-weight: 800; }
.sh-metric.is-big .sh-metric-val { font-size: 48px; }
.sh-tone-bad .sh-metric-val { color: var(--sh-red); }
.sh-tone-mid .sh-metric-val { color: var(--sh-amber); }
.sh-tone-good .sh-metric-val { color: var(--sh-green); }
.sh-metric-by, .sh-credit { margin-top: 6px; font-size: 13px; color: var(--cm-sub); }
.sh-credit a { color: var(--cm-sub); text-decoration: underline; }
.sh-tip { width: 20px; height: 20px; border: 1px solid var(--sh-line); border-radius: 50%; background: var(--cm-white); font-size: 12px; line-height: 18px; color: var(--cm-sub); cursor: pointer; }
.sh-metric-tip { display: none; margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--cm-text-body); }
.sh-metric.is-tip .sh-metric-tip { display: block; }
.sh-keywords { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--sh-line); }
.sh-keywords ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.sh-keywords li { padding: 6px 12px; border-radius: 999px; background: var(--sh-red-bg); font-size: 14px; font-weight: 700; color: var(--sh-red); }
.sh-kw-tit { font-weight: 700; color: var(--cm-black); }
.sh-card { margin-top: 16px; padding: 24px; border: 1px solid var(--sh-line); border-left: 6px solid var(--sh-amber); border-radius: 16px; }
.sh-sev-critical { border-left-color: var(--sh-red); background: var(--sh-red-bg); }
.sh-sev-minor { border-left-color: var(--cm-sub); }
.sh-card-top { display: flex; justify-content: space-between; gap: 12px; }
.sh-sev { padding: 3px 10px; border-radius: 8px; background: var(--cm-black); font-size: 13px; font-weight: 700; color: var(--cm-white); }
.sh-gain { font-size: 16px; font-weight: 800; color: var(--cm-primary); }
.sh-card-tit { margin-top: 12px; font-size: 20px; font-weight: 800; line-height: 1.45; color: var(--cm-black); }
.sh-evidence { margin: 12px 0 0; padding: 12px 14px; list-style: none; border-radius: 10px; background: var(--cm-white); font-size: 14px; line-height: 1.6; color: var(--cm-text-body); }
.sh-why, .sh-fix { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--cm-text-body); }
.sh-card-meta { margin-top: 10px; font-size: 13px; color: var(--cm-sub); }
.sh-card-meta a { font-weight: 700; color: var(--cm-primary); }
.sh-cta { margin-top: 24px; padding: 28px; border-radius: 16px; background: var(--sh-navy); color: var(--cm-white); }
.sh-cta-tit { font-size: 22px; font-weight: 800; }
.sh-cta-txt { margin-top: 8px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.sh-cta-row { display: flex; gap: 10px; margin-top: 16px; }
.sh-time { flex: 0 0 220px; }
.sh-cta-note { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.sh-kakao { display: inline-block; margin-top: 10px; font-size: 14px; text-decoration: underline; color: rgba(255, 255, 255, 0.85); }
.sh-fold { margin-top: 16px; border: 1px solid var(--sh-line); border-radius: 16px; background: var(--cm-white); }
.sh-fold summary { padding: 18px 22px; font-weight: 700; cursor: pointer; }
.sh-fold-list { margin: 0; padding: 0 22px 18px; list-style: none; }
.sh-fold-list li { padding: 10px 0; border-top: 1px solid var(--sh-line); font-size: 14px; line-height: 1.6; color: var(--cm-text-body); }
.sh-fold-list b { display: block; color: var(--cm-black); }
.sh-disclaimer { margin-top: 24px; font-size: 13px; line-height: 1.7; color: var(--cm-sub); }
.sh-notice { padding: 28px; border: 1px solid var(--sh-line); border-radius: 16px; background: var(--cm-white); font-size: 16px; line-height: 1.7; }

/* 반응형 — 테마 BP: 1180 · 768 · 480 */
@media (max-width: 1180px) {
  .sh-hero-tit { font-size: 44px; }
  .sh-ext { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sh-hero { padding: 80px 0 64px; }
  .sh-hero-tit { font-size: 32px; }
  .sh-hero-txt { font-size: 16px; }
  .sh-sec { padding: 64px 0; }
  .sh-sec-tit { font-size: 26px; }
  .sh-sec-txt { font-size: 16px; }
  .sh-cards3, .sh-proof-nums { grid-template-columns: 1fr; }
  .sh-form, .sh-progress { padding: 24px 18px; }
  .sh-grid { grid-template-columns: 1fr; }
  .sh-score { padding: 28px 20px; }
  .sh-score-big strong { font-size: 56px; }
  .sh-engines { grid-template-columns: 1fr 1fr; }
  .sh-ext { grid-template-columns: 1fr; }
  .sh-block { padding: 22px 18px; }
  .sh-cta-row { flex-direction: column; }
  .sh-time { flex-basis: auto; }
  .sh-table th, .sh-table td { padding: 12px 10px; font-size: 14px; }
}
@media (max-width: 480px) {
  .sh-hero-tit { font-size: 28px; text-wrap: balance; }
  .sh-hero-tit br { display: none; }
  .sh-weakest { font-size: 18px; }
}
