/* =========================================================
   POLISH LAYER — 카드·버튼·블루 섹션 고급화
   site.css 다음에 로드. 색은 블루 계열 하나만 사용하고 레이아웃 규칙은 건드리지 않음.
   ========================================================= */
:root {
  --primary-2: #3b82f6;
  --navy-deep: #0b1a3f;
  --navy-mid: #10296b;
  --radius-card: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 2px 6px rgba(16, 24, 40, .03);
  --shadow-hover: 0 24px 48px -20px rgba(16, 24, 40, .22), 0 8px 16px -8px rgba(16, 24, 40, .08);
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 10px; font-weight: 600; letter-spacing: -0.01em;
  background: #fff; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); box-shadow: 0 10px 22px -12px rgba(30, 91, 214, .45); }
.btn:active { transform: translateY(0); }
.btn:not(.btn-sm):not(.form_btn)::after { content: "\2192"; display: inline-block; margin-left: 2px; transition: transform .25s var(--ease); }
.btn:not(.btn-sm):not(.form_btn):hover::after { transform: translateX(4px); }
.btn-primary {
  color: #fff; border: 0;
  background: linear-gradient(135deg, var(--primary-2) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  box-shadow: 0 10px 24px -10px rgba(30, 91, 214, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover {
  color: #fff; border: 0;
  background: linear-gradient(135deg, #4f8ff7 0%, var(--primary) 50%, #143f9c 100%);
  box-shadow: 0 16px 32px -12px rgba(30, 91, 214, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-white { background: #fff; border: 0; color: var(--primary); box-shadow: 0 12px 28px -12px rgba(3, 12, 40, .55); }
.btn-white:hover { background: #fff; color: var(--primary-dark); box-shadow: 0 18px 36px -12px rgba(3, 12, 40, .65); }
.btn-line-white {
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .38); box-shadow: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-line-white:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: #fff; box-shadow: none; }
.btn-sm { border-radius: 8px; }

/* ---------- Main visual (텍스트) ---------- */
.visual-text {
  position: relative;
  background: radial-gradient(900px 420px at 50% -10%, rgba(30, 91, 214, .13), transparent 70%), linear-gradient(180deg, #f7f9fd 0%, #f2f5fb 100%);
}
.visual-text::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30, 91, 214, .16) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 65%);
}
.visual-text .container { position: relative; }
.visual-text .visual-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font-size: 14px;
  background: #fff; border: 1px solid rgba(30, 91, 214, .18); box-shadow: 0 4px 14px -8px rgba(30, 91, 214, .45);
}
.visual-text .visual-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(30, 91, 214, .15); }
.visual-text h1 b {
  background: linear-gradient(90deg, var(--ink) 0%, var(--navy-mid) 55%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.visual-keywords { gap: 10px; }
.visual-keywords li, .visual-keywords li + li {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .85);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04); font-size: 15px;
}
.visual-text .visual-tel a { font-size: 18px; }

/* ---------- Numbers band ---------- */
.bg-dark {
  position: relative; overflow: hidden;
  background: radial-gradient(600px 240px at 85% 0%, rgba(59, 130, 246, .22), transparent 70%), linear-gradient(180deg, #0b1430 0%, #111c3d 100%);
}
.num strong { background: linear-gradient(180deg, #ffffff 30%, #9ec0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num strong small { -webkit-text-fill-color: #9ec0ff; }

/* ---------- Quick links ---------- */
.quick-links { background: #fff; }
.ql { position: relative; transition: background .25s; }
.ql::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, var(--primary-2), var(--primary)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.ql:hover { background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); }
.ql:hover::before { transform: scaleX(1); }
.ql h3::after {
  content: "\2192"; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); font-size: 15px; color: var(--ink-3); transition: all .25s var(--ease);
}
.ql:hover h3::after { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateX(2px); }

/* ---------- Cards (공통) ---------- */
.feature.pillar, .box, .aside-box {
  position: relative; overflow: hidden; border-radius: var(--radius-card); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature.pillar::before, .box::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-2), var(--primary)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.feature.pillar:hover, .box:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(30, 91, 214, .22); }
.feature.pillar:hover::before, .box:hover::before { transform: scaleX(1); }
.feature.pillar .ico {
  width: 60px; height: 60px; padding: 13px; border-radius: 16px;
  background: linear-gradient(135deg, #eef4ff 0%, #dde9ff 100%); box-shadow: inset 0 0 0 1px rgba(30, 91, 214, .1);
}
.pillar-tags li { border-radius: 999px; background: var(--bg-soft); border-color: transparent; }
.box-tag { border-radius: 999px; background: var(--primary-soft); border-color: transparent; }

/* ---------- 1, 2번 카드 (스마트 관제 & 업무 시스템: 첫 번째 카드 스타일로 통일) ---------- */
.feature.pillar-dark {
  overflow: visible; border: 1px solid rgba(255, 255, 255, 0.12); color: #fff;
  background: radial-gradient(420px 220px at 100% 0%, rgba(96, 165, 250, .4), transparent 70%), linear-gradient(160deg, #102a6b 0%, #0e7bd0 100%);
  box-shadow: 0 24px 48px -24px rgba(16, 41, 107, .65);
}
.feature.pillar-dark::before { display: none; }
.feature.pillar-dark:hover {
  border-color: rgba(147, 197, 253, 0.4);
  box-shadow: 0 36px 70px -26px rgba(16, 41, 107, .85);
  transform: translateY(-6px);
}
.feature.pillar-dark .ico {
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #fff;
}
.feature.pillar-dark .pillar-no { color: #bfd6ff; }
.feature.pillar-dark h3 { color: #fff; }
.feature.pillar-dark p { color: rgba(255, 255, 255, .82); }
.pillar-dark .pillar-tags li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
}
.feature.pillar-dark .link-more { color: #fff; }
.feature.pillar-dark .link-more:hover { color: #cfe0ff; }

/* ---------- 3번 카드 (기존 사이트 개선 · AI 고도화: 엣지있게 강조) ---------- */
.feature.pillar-key {
  position: relative;
  overflow: visible;
  color: #fff;
  border: 1.5px solid rgba(167, 139, 250, 0.55);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(192, 132, 252, .45), transparent 70%),
    radial-gradient(320px 200px at 0% 100%, rgba(56, 189, 248, .3), transparent 70%),
    linear-gradient(155deg, #0e1d4d 0%, #1a2f7d 45%, #4f46e5 100%);
  box-shadow: 0 28px 60px -20px rgba(79, 70, 229, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature.pillar-key::before { display: none; }
.feature.pillar-key:hover {
  border-color: rgba(216, 180, 254, 0.85);
  transform: translateY(-8px);
  box-shadow: 0 38px 76px -22px rgba(99, 102, 241, 0.65), 0 0 24px -4px rgba(192, 132, 252, 0.4);
}
.feature.pillar-key .ico {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(99, 102, 241, 0.35));
  box-shadow: 0 8px 18px -4px rgba(124, 58, 237, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.feature.pillar-key .pillar-no {
  color: #c4b5fd;
  font-weight: 700;
  letter-spacing: .1em;
}
.feature.pillar-key h3 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feature.pillar-key p {
  color: rgba(255, 255, 255, 0.88);
}
.pillar-key .pillar-tags li {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(216, 180, 254, 0.4);
  color: #ffffff;
  font-weight: 500;
}
.pillar-key .pillar-links .link-more {
  color: #ffffff;
  font-weight: 600;
}
.pillar-key .pillar-links .link-more:hover {
  color: #e9d5ff;
}

/* 3번 카드 엣지 뱃지 */
.pillar-key-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #9333ea, #6366f1);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 16px -3px rgba(124, 58, 237, 0.55);
}

/* ---------- 선택 이유 (rows) ---------- */
.row { border-radius: 12px; transition: background .3s, padding .3s var(--ease); }
.row:hover { background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%); padding-left: 16px; }
.row-no {
  font-size: 26px; font-weight: 300; letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--primary-2), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 파란 띠 ---------- */
.bg-blue {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(96, 165, 250, .45), transparent 65%),
    radial-gradient(600px 400px at 0% 110%, rgba(37, 99, 235, .55), transparent 65%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 45%, var(--primary) 100%);
}
.bg-blue::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 70%); mask-image: linear-gradient(120deg, transparent 20%, #000 70%);
}
.bg-blue .container { position: relative; }
.band-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #dbe7ff; letter-spacing: .12em;
}
.band-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #93c5fd; box-shadow: 0 0 10px #93c5fd; }
.band-grid h2 b { background: linear-gradient(90deg, #ffffff, #bcd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pain {
  position: relative; padding: 24px 22px; border-radius: 16px; font-size: 15px; color: rgba(255, 255, 255, .82);
  background: linear-gradient(160deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .05) 100%);
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.pain:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .32); background: linear-gradient(160deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .08) 100%); }
.pain b { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.pain-ico {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; color: #fff;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.pain-ico svg { width: 22px; height: 22px; }

/* 책임 케어 4대 카드: 카드별 색상(--accent), 상단 색 띠, 모서리 빛, 외곽선 번호 */
.pain-grid { gap: 16px; }
.pain {
  --accent: #60a5fa; --accent-2: #2563eb; --glow: rgba(96, 165, 250, .35);
  overflow: hidden; padding: 28px 24px 24px; border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .03) 65%), rgba(8, 20, 60, .32);
  border: 1px solid rgba(255, 255, 255, .14);
}
.pain--host { --accent: #38bdf8; --accent-2: #2563eb; --glow: rgba(56, 189, 248, .38); }
.pain--diag { --accent: #c4b5fd; --accent-2: #7c3aed; --glow: rgba(167, 139, 250, .4); }
.pain--move { --accent: #fcd34d; --accent-2: #f97316; --glow: rgba(251, 191, 36, .34); }
.pain--care { --accent: #6ee7b7; --accent-2: #0d9488; --glow: rgba(52, 211, 153, .34); }
.pain::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 2; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(.22); transform-origin: left; transition: transform .55s var(--ease);
}
.pain::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--glow) 0%, transparent 68%); opacity: .5; transition: opacity .45s, transform .55s var(--ease);
}
.pain > * { position: relative; z-index: 1; }
.pain:hover { border-color: rgba(255, 255, 255, .28); background: linear-gradient(155deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .05) 65%), rgba(8, 20, 60, .32); }
.pain:hover::before { transform: scaleX(1); }
.pain:hover::after { opacity: 1; transform: scale(1.2); }
.pain .pain-no {
  position: absolute; right: 20px; top: 14px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .2); transition: -webkit-text-stroke-color .35s;
}
.pain:hover .pain-no { -webkit-text-stroke-color: var(--accent); }
.pain .pain-ico {
  width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 22px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.pain b { font-size: 18px; letter-spacing: -.02em; }
.pain-desc { margin: 0; font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
@media (prefers-reduced-motion: reduce) {
  .pain::before, .pain::after, .pain .pain-no { transition: none; }
}

/* ---------- 하단 상담 띠 ---------- */
.help { background: radial-gradient(700px 300px at 50% 0%, rgba(30, 91, 214, .09), transparent 70%), linear-gradient(180deg, #f7f9fd, #eef3fc); padding: 96px 0 80px; }
.help-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; text-align: left; }
.help-card {
  padding: 30px 30px 26px; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-card); transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.help-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.benefits li:last-child { border-bottom: 0; }
.benefits span {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary)); box-shadow: 0 6px 14px -6px rgba(30, 91, 214, .6);
}
.benefits b { font-size: 16px; font-weight: 700; }
.benefits p { margin-top: 2px; font-size: 14.5px; color: var(--ink-3); }
.targets li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.targets li:last-child { border-bottom: 0; }
.targets li::before {
  content: "\2713"; position: absolute; left: 0; top: 12px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-soft);
}
.help-cta {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  padding: 26px 32px; border-radius: var(--radius-card); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(420px 200px at 100% 0%, rgba(96, 165, 250, .45), transparent 70%), linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 45%, var(--primary) 100%);
  box-shadow: 0 24px 48px -24px rgba(16, 41, 107, .7);
}
.help-cta strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.help-cta p { margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: 15px; }
.help-cta .btn { flex: none; }
@media (max-width: 960px) {
  .help-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .help { padding: 64px 0 56px; }
  .help-card { padding: 22px 18px; }
  .help-cta { flex-direction: column; align-items: stretch; padding: 22px 20px; }
}

/* ---------- 서브 페이지 ---------- */
.page-title {
  position: relative;
  background: radial-gradient(800px 360px at 85% -20%, rgba(30, 91, 214, .14), transparent 70%), linear-gradient(180deg, #f7f9fd 0%, #f2f5fb 100%);
}
.page-title::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30, 91, 214, .14) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.page-title .container { position: relative; }
.project-thumb { border-radius: 14px; transition: border-color .3s, box-shadow .35s var(--ease); }
.project:hover .project-thumb { box-shadow: var(--shadow-hover); }
.big-num { border-radius: var(--radius-card); background: radial-gradient(400px 220px at 100% 0%, rgba(96, 165, 250, .4), transparent 70%), linear-gradient(160deg, var(--navy-deep), var(--navy-mid)); }
.panel, .quote-list li { border-radius: 14px; }
.chip.on { background: var(--primary-soft); }
.tab.active::after { height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--primary-2), var(--primary)); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .feature.pillar:hover, .box:hover, .pain:hover { transform: none; }
}

/* 3대 핵심 솔루션 01·02 다크 카드 링크 */
.feature.pillar-dark .link-more { color: #fff; }
.feature.pillar-dark .link-more:hover { color: #cfe0ff; }
.feature.pillar-dark { box-shadow: 0 30px 60px -30px rgba(16, 41, 107, .6); }

/* 메인 비주얼 · 제목 아래 핵심 문장 */
.visual-sub { margin: 26px auto 0; max-width: 860px; font-size: clamp(18px, 1.75vw, 23px); font-weight: 600; line-height: 1.6; letter-spacing: -0.02em; color: var(--ink); }
.visual-text .visual-lead { margin-top: 18px; font-size: 17px; color: var(--ink-3); }
@media (max-width: 640px) {
  .visual-sub { margin-top: 18px; }
  .visual-sub br { display: none; }
}

/* ---------- /sub/sub5 (AI 고도화·유지보수) 상단 텍스트 레이아웃 ---------- */
.page-title.page-title-sub5 {
  padding: 46px 0 38px;
}
.page-title.page-title-sub5 .crumb {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.page-title.page-title-sub5 h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.32;
  margin: 0;
  color: var(--ink);
}
.page-title.page-title-sub5 h1 b {
  font-weight: 700;
}
.page-title.page-title-sub5 .sub5-lead-text {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 860px;
  word-break: keep-all;
}
.page-title.page-title-sub5 .sub5-lead-text strong {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 640px) {
  .page-title.page-title-sub5 {
    padding: 34px 0 28px;
  }
  .page-title.page-title-sub5 .sub5-lead-text {
    font-size: 15px;
    margin-top: 14px;
  }
}

/* ---------- /sub/sub5 이런 고민 (자가진단) 블루 톤 섹션 ---------- */
.section-check {
  position: relative;
  background: radial-gradient(900px 500px at 15% 15%, rgba(30, 91, 214, 0.09), transparent 70%),
              radial-gradient(750px 400px at 85% 85%, rgba(59, 130, 246, 0.08), transparent 70%),
              linear-gradient(180deg, #edf4fd 0%, #f4f8fe 100%);
  border-top: 1px solid rgba(30, 91, 214, 0.1);
  border-bottom: 1px solid rgba(30, 91, 214, 0.14);
  padding: 80px 0;
}
.section-check::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(30, 91, 214, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
.section-check .container {
  position: relative;
}
.check-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(30, 91, 214, 0.08);
  border: 1px solid rgba(30, 91, 214, 0.16);
}
.check-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.section-check .sec-title h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section-check .sec-title h2 b {
  color: var(--primary);
  font-weight: 700;
}
.section-check .sec-title p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.check-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid rgba(30, 91, 214, 0.13);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.check-item:hover {
  transform: translateX(6px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px -8px rgba(30, 91, 214, 0.22);
}
.check-no {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 91, 214, 0.12), rgba(59, 130, 246, 0.06));
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  border: 1px solid rgba(30, 91, 214, 0.16);
  transition: background .25s, color .25s, border-color .25s;
}
.check-item:hover .check-no {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.check-txt {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.45;
  transition: color .2s;
}
.check-item:hover .check-txt {
  color: var(--primary-dark);
}

@media (max-width: 640px) {
  .section-check {
    padding: 56px 0;
  }
  .check-item {
    gap: 14px;
    padding: 14px 16px;
  }
  .check-txt {
    font-size: 15px;
  }
}

/* ---------- 앵커 네비게이션: 남색 그라데이션 띠 + 점 무늬 + 현재 섹션 그라데이션 알약 ---------- */
.anchor-nav {
  position: sticky; top: var(--header-h); z-index: 50; overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(100deg, var(--navy-deep) 0%, var(--navy-mid) 55%, #1d3fa8 100%);
  border: 0;
  box-shadow: 0 10px 28px -12px rgba(11, 26, 63, .55);
}
.anchor-nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #60a5fa 25%, #a78bfa 75%, transparent);
  opacity: .85;
}
.anchor-nav .container { gap: 4px; padding-top: 9px; padding-bottom: 9px; }
.anchor-nav a {
  position: relative; padding: 8px 16px; border: 0; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: rgba(226, 234, 255, .74);
  transition: color .2s, background .25s var(--ease), box-shadow .25s var(--ease);
}
.anchor-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.anchor-nav a.is-active {
  color: #fff;
  background: linear-gradient(100deg, #3b82f6, #6366f1 60%, #8b5cf6);
  box-shadow: 0 6px 18px -4px rgba(99, 102, 241, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
@media (max-width: 640px) {
  .anchor-nav .container { padding-top: 7px; padding-bottom: 7px; }
  .anchor-nav a { padding: 7px 13px; font-size: 14px; }
}

/* ---------- 상단 헤더 슬림 버튼 3종 및 GNB 한 줄 완벽 정렬 (데스크톱 전용) ---------- */
@media (min-width: 961px) {
  .rn-header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }
  .rn-logo img {
    width: 185px !important;
    height: auto !important;
  }
  .gnb {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  .gnb a {
    font-size: 15px !important;
    white-space: nowrap !important;
  }
}
.header-util {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 33px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.header-btn svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  transition: transform .2s ease;
}

/* 1. 포트폴리오 (PDF) - 모던 그레이 톤 */
.header-btn-pdf {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.header-btn-pdf svg {
  color: #64748b;
}
.header-btn-pdf:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -2px rgba(15, 23, 42, 0.08);
}

/* 2. 상담 신청 - 부드러운 바이올렛 */
.header-btn-contact {
  background: #ede5fd;
  border: 1px solid #c4b5fd;
  color: #5b21b6;
}
.header-btn-contact svg {
  color: #6d28d9;
}
.header-btn-contact:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-color: #6d28d9;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(109, 40, 217, 0.35);
}

@media (max-width: 991px) {
  .header-btn-pdf {
    display: none;
  }
  .header-btn-contact {
    height: 36px;
    padding: 0 12px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   문의하기 (sub6) 개편 스타일: AI 무료진단 URL, 웹 에디터, 첨부파일 드롭존
   ========================================================================== */

/* AI 무료진단 사이트 URL 입력창 그룹 (2컬럼 정렬 완벽 복구) */
#site_url_group {
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.5) 0%, rgba(238, 242, 255, 0.5) 100%);
  border: 1.5px solid #c4b5fd;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px -4px rgba(124, 58, 237, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: start !important;
}
.form_group_ttl_box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding-top: 10px;
}
#site_url_group .form_group_ttl {
  color: #5b21b6;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0 !important;
}
.site_url_badge_tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #7c3aed;
  background: #ede9fe;
  padding: 3px 8px;
  border-radius: 4px;
}
.form_group_main_cont {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form_url_wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.form_url_wrap .url_icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  pointer-events: none;
  opacity: 0.7;
}
.form_url_wrap input.form_style {
  padding-left: 42px !important;
  background: #ffffff !important;
  border-color: #c4b5fd !important;
  font-weight: 500;
}
.form_url_wrap input.form_style:focus {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18) !important;
}
.form_help_text {
  font-size: 13px;
  color: #6d28d9;
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 0;
  word-break: keep-all;
}

/* Summernote Lite 웹 에디터 스타일 커스텀 */
.editor_wrap {
  width: 100%;
}
.note-editor.note-frame {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  background: #ffffff !important;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.note-editor.note-frame:focus-within {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.15) !important;
}
.note-toolbar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 8px 10px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}
.note-btn-group {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
}
.note-btn {
  border-radius: 6px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 5px 9px !important;
  transition: all 0.15s ease !important;
}
.note-btn:hover,
.note-btn.active {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
.note-editable {
  min-height: 280px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  padding: 20px !important;
  color: #1e293b !important;
  background: #ffffff !important;
}
.note-editable:focus {
  outline: none !important;
}
.note-editable img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.note-placeholder {
  color: #94a3b8 !important;
  padding: 20px !important;
  font-size: 15px !important;
}
.note-statusbar {
  border-top: 1px solid #f1f5f9 !important;
  background: #f8fafc !important;
}

/* 첨부파일 영역 및 드롭존 스타일 */
.attach_group {
  margin-top: 24px;
}
.attach_dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  background: #f8fafc;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.attach_dropzone:hover,
.attach_dropzone.dragover {
  border-color: #6366f1;
  background: #eef2ff;
}
.attach_prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.attach_icon {
  color: #6366f1;
  margin-bottom: 2px;
}
.attach_text p {
  font-size: 15px;
  color: #334155;
  margin: 0;
}
.attach_text p strong {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
}
.attach_text span {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 4px;
  display: block;
}
.btn_file_choose {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 6px;
}
.btn_file_choose:hover {
  border-color: #6366f1;
  color: #4f46e5;
  background: #f5f3ff;
}
.attach_file_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
  justify-content: flex-start;
  text-align: left;
}
.attach_chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s;
}
.attach_chip:hover {
  border-color: #cbd5e1;
}
.attach_chip .chip_icon {
  font-size: 14px;
}
.attach_chip .chip_name {
  font-size: 13px;
  color: #1e293b;
  font-weight: 500;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attach_chip .chip_size {
  font-size: 11.5px;
  color: #94a3b8;
}
.attach_chip .chip_del {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s;
}
.attach_chip .chip_del:hover {
  color: #ef4444;
}

/* ==========================================================================
   실시간 사이트 간이 진단 위젯 (URL 실시간 분석 결과 카드)
   ========================================================================== */

/* URL 입력창 + 분석 버튼 래퍼 */
.form_url_wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form_url_wrap input.form_style {
  flex: 1;
}
.btn_diagnose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  height: 48px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px -2px rgba(124, 58, 237, 0.35);
}
.btn_diagnose:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px rgba(109, 40, 217, 0.45);
}
.btn_diagnose:active {
  transform: translateY(0);
}
.btn_diagnose svg {
  width: 16px;
  height: 16px;
}

/* 분석 중 로딩 스피너 박스 */
.diag_loading_box {
  display: none;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  margin-top: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.diag_spinner {
  width: 38px;
  height: 38px;
  border: 3.5px solid #f3f0ff;
  border-top-color: #7c3aed;
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: diagSpin 0.9s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
}
@keyframes diagSpin {
  to { transform: rotate(360deg); }
}
.diag_loading_box h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}
.diag_loading_box p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* 진단 결과 카드 */
.diag_result_box {
  display: none;
  background: #ffffff;
  border: 1.5px solid #c4b5fd;
  border-radius: 14px;
  padding: 22px;
  margin-top: 16px;
  box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.12);
  animation: diagFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes diagFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 결과 상단 헤더: 종합 점수 & 대상 사이트 */
.diag_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  gap: 12px;
}
.diag_target_info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.diag_target_badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #7c3aed;
  background: #f3f0ff;
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
}
.diag_site_url {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.diag_site_title {
  font-size: 13px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 종합 점수 배지 */
.diag_score_badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  text-align: center;
}
.diag_score_badge.score_good {
  background: #f0fdf4;
  border-color: #86efac;
}
.diag_score_badge.score_warning {
  background: #fffbeb;
  border-color: #fde68a;
}
.diag_score_badge.score_danger {
  background: #fef2f2;
  border-color: #fca5a5;
}
.diag_score_val {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.score_good .diag_score_val { color: #16a34a; }
.score_warning .diag_score_val { color: #d97706; }
.score_danger .diag_score_val { color: #dc2626; }
.diag_score_grade {
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 4px;
}
.score_good .diag_score_grade { color: #15803d; }
.score_warning .diag_score_grade { color: #b45309; }
.score_danger .diag_score_grade { color: #b91c1c; }

/* 5대 지표 그리드 */
.diag_items_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 640px) {
  .diag_items_grid {
    grid-template-columns: 1fr;
  }
}
.diag_item_card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  gap: 10px;
}
.diag_item_left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.diag_item_name {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}
.diag_item_val {
  font-size: 14px;
  color: #1e293b;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.diag_item_badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge_good {
  background: #dcfce7;
  color: #15803d;
}
.badge_warning {
  background: #fef3c7;
  color: #b45309;
}
.badge_danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* AI 요약 코멘트 박스 */
.diag_summary_box {
  background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%);
  border: 1px solid #ddd6fe;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.diag_summary_icon {
  font-size: 18px;
  line-height: 1.3;
}
.diag_summary_text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4338ca;
  font-weight: 500;
  margin: 0;
  word-break: keep-all;
}
.diag_action_row {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.btn_apply_to_content {
  background: #ffffff;
  border: 1px solid #c4b5fd;
  color: #6d28d9;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn_apply_to_content:hover {
  background: #f5f3ff;
  border-color: #8b5cf6;
}

@media (max-width: 767px) {
  .form_url_wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .form_url_wrap input.form_style {
    width: 100% !important;
    height: 52px !important;
    padding-left: 44px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .btn_diagnose {
    width: 100% !important;
    height: 48px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    justify-content: center !important;
  }
  .form_group_input_row {
    gap: 12px !important;
  }
  .diag_guide_notice_box {
    margin-bottom: 12px !important;
  }
  .form_help_text {
    margin-top: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }
}


/* ==========================================================================
   진단 결과 카드 100% Full-Width & 리셋 버튼 & 헤더 모달 팝업 스타일
   ========================================================================== */

/* 2열 전체 폭 100% 확장 래퍼 */
.diag_fullwidth_wrap {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  box-sizing: border-box;
  margin-top: 12px;
}
.form_group_input_row {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 리셋 버튼 */
.diag_target_top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.btn_diag_reset {
  background: #ffffff;
  border: 1px solid #d8b4fe;
  color: #7c3aed;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn_diag_reset:hover {
  background: #f3f0ff;
  border-color: #6d28d9;
}
.btn_diag_reset_sub {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn_diag_reset_sub:hover {
  border-color: #94a3b8;
  color: #0f172a;
  background: #f8fafc;
}

/* 상단 헤더 간편 사이트 진단 버튼 (슬림) */
.header-btn-diag {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff !important;
  border: 1px solid #6d28d9;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  padding: 0 10px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.25);
  font-family: inherit;
  white-space: nowrap;
}
.header-btn-diag:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(109, 40, 217, 0.35);
}
.header-btn-diag svg {
  color: #ffffff;
  width: 13px;
  height: 13px;
}

/* 모달 팝업 오버레이 및 창 */
.diag_modal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.diag_modal_window {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  border: 1px solid #e2e8f0;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.diag_modal_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(135deg, #faf5ff 0%, #f3f0ff 100%);
  border-radius: 16px 16px 0 0;
}
.diag_modal_title_group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.diag_modal_badge {
  font-size: 11px;
  font-weight: 700;
  color: #7c3aed;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  border: 1px solid #e9d5ff;
}
.diag_modal_head h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.diag_modal_close {
  background: none;
  border: none;
  font-size: 28px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}
.diag_modal_close:hover {
  color: #0f172a;
}
.diag_modal_body {
  padding: 24px;
}
.diag_modal_desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 14px 0;
}
.diag_modal_input_row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.diag_modal_input_wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.diag_modal_input_wrap .url_icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  opacity: 0.7;
  pointer-events: none;
}
.diag_modal_input_wrap input.form_style {
  padding-left: 42px !important;
  width: 100%;
}
.diag_modal_cta_box {
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 12px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.diag_modal_cta_txt strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 3px;
}
.diag_modal_cta_txt p {
  font-size: 13px;
  color: #c7d2fe;
  margin: 0;
}
.btn_modal_apply {
  background: #ffffff !important;
  color: #312e81 !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn_modal_apply:hover {
  background: #eef2ff !important;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .header-btn-diag {
    height: 36px;
    padding: 0 10px;
    font-size: 12.5px;
  }
}

/* 상세 AI 진단을 위한 간단 자가진단 안내 카드 */
.diag_guide_notice_box {
  width: 100%;
  margin-bottom: 14px;
  padding: 15px 18px;
  background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-left: 4px solid #7c3aed;
  border-radius: 10px;
  box-shadow: 0 2px 8px -2px rgba(124, 58, 237, 0.08);
}
.diag_guide_notice_head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.diag_guide_notice_badge {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: #7c3aed;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: -0.2px;
}
.diag_guide_notice_title {
  font-size: 14px;
  font-weight: 700;
  color: #312e81;
  letter-spacing: -0.3px;
}
.diag_guide_notice_text {
  font-size: 13px;
  color: #4338ca;
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
}
.diag_guide_notice_text strong {
  color: #1e1b4b;
}

/* 진단 결과 카드 내부의 상세 AI 진단 신청 콜아웃 */
.diag_deep_callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}
.diag_deep_callout .callout_icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.diag_deep_callout .callout_body {
  flex: 1;
  min-width: 0;
}
.diag_deep_callout .callout_title {
  font-size: 13.5px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 4px;
}
.diag_deep_callout .callout_desc {
  font-size: 12.5px;
  color: #15803d;
  line-height: 1.55;
  margin: 0;
  word-break: keep-all;
}
.diag_deep_callout .callout_desc strong {
  color: #14532d;
}

/* ============================================================
   모달 팝업 및 진단 카드 컴팩트 뷰 최적화 (텍스트 밀림 및 세로 짤림 방지)
   ============================================================ */
.diag_modal_window {
  max-width: 860px !important;
  max-height: 92vh !important;
  border-radius: 16px !important;
}
.diag_modal_head {
  padding: 16px 22px !important;
}
.diag_modal_body {
  padding: 18px 22px !important;
}
.diag_modal_desc {
  font-size: 13.5px !important;
  margin-bottom: 12px !important;
}
.diag_result_box {
  margin-top: 14px !important;
  padding: 18px !important;
}
.diag_header {
  margin-bottom: 12px !important;
}

/* 10대 지표 카드 그리드 및 컴팩트 스타일 */
.diag_items_grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 7px 10px !important;
  margin-top: 12px !important;
}
@media (max-width: 768px) {
  .diag_items_grid {
    grid-template-columns: 1fr !important;
  }
}
.diag_item_card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  min-height: 46px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}
.diag_item_left {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.diag_item_name {
  font-size: 11.5px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}
.diag_item_val {
  font-size: 13px !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.diag_item_badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}
.diag_summary_box {
  padding: 10px 14px !important;
  margin-top: 12px !important;
}
.diag_summary_text {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.diag_modal_cta_box {
  margin-top: 14px !important;
  padding: 14px 18px !important;
}


/* 간편 진단 항목 도움말 (항목 이름 클릭 시 쉬운 설명 펼침) */
.diag_help_hint {
  margin: 12px 0 0 !important;
  font-size: 12px !important;
  color: #64748b !important;
}
.diag_help_hint + .diag_items_grid {
  margin-top: 6px !important;
  align-items: start !important;
}
.diag_item_card.has_help {
  flex-wrap: wrap !important;
}
.diag_help_toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
}
.diag_help_toggle:hover,
.diag_help_toggle[aria-expanded="true"] {
  color: #1e5bd6 !important;
}
.diag_help_toggle:focus-visible {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 2px !important;
  border-radius: 3px !important;
}
.diag_help_icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 13px !important;
  height: 13px !important;
  border-radius: 50% !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
.diag_help_toggle:hover .diag_help_icon,
.diag_help_toggle[aria-expanded="true"] .diag_help_icon {
  background: #1e5bd6 !important;
  color: #fff !important;
}
.diag_item_card.help_open {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}
.diag_help_panel {
  flex-basis: 100% !important;
  margin-top: 6px !important;
  padding: 8px 10px !important;
  border-radius: 6px !important;
  background: #fff !important;
  border: 1px solid #dbeafe !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: #334155 !important;
}
.diag_help_panel[hidden] {
  display: none !important;
}
.diag_help_panel p {
  margin: 0 !important;
}
.diag_help_panel p + p {
  margin-top: 5px !important;
}
.diag_help_panel b {
  display: block !important;
  color: #1e3a8a !important;
  font-size: 11.5px !important;
}

/* 간편 진단 결과 탭 바 (핵심 지표 / 추가 점검) */
.badge_info {
  background: #f1f5f9;
  color: #475569;
}
.diag_tabbar {
  display: flex !important;
  gap: 4px !important;
  margin-top: 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.diag_tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  margin: 0 0 -1px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  background: none !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  cursor: pointer !important;
}
.diag_tab:hover {
  color: #1e293b !important;
}
.diag_tab.is_active {
  color: #1e5bd6 !important;
  border-bottom-color: #1e5bd6 !important;
}
.diag_tab:focus-visible {
  outline: 2px solid #3b82f6 !important;
  outline-offset: -2px !important;
  border-radius: 4px 4px 0 0 !important;
}
.diag_tab_count {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 6px !important;
  border-radius: 9px !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  justify-content: center !important;
}
.diag_tab.is_active .diag_tab_count {
  background: #dbeafe !important;
  color: #1e5bd6 !important;
}
.diag_tab_count.is_alert,
.diag_tab.is_active .diag_tab_count.is_alert {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}
.diag_tabbar + .diag_help_hint {
  margin-top: 8px !important;
}
.diag_help_hint ~ .diag_items_grid,
#modal_extra_panel .diag_items_grid {
  margin-top: 6px !important;
  align-items: start !important;
}
.diag_items_grid[hidden],
#modal_extra_panel[hidden] {
  display: none !important;
}
.diag_extra_note {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  padding: 7px 10px !important;
  background: #f8fafc !important;
  border-radius: 6px !important;
}

/* 문의하기 - 문의 및 직접 상담 안내 카드 */
.aside-contact .aside-main-tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f3f7ff;
  border: 1px solid #dbe6fb;
}
.aside-contact .aside-main-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.aside-contact .aside-tel {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.aside-contact .aside-tel:hover {
  color: var(--primary-dark, #143f9c);
}
.aside-contact-list {
  margin: 14px 0 0;
}
.aside-contact-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.5;
}
.aside-contact-row:first-child {
  border-top: 0;
  padding-top: 4px;
}
.aside-contact-row dt {
  font-size: 13.5px;
  color: var(--ink-3);
  white-space: nowrap;
}
.aside-contact-row dd {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.aside-contact-row dd a:hover {
  color: var(--primary);
}
.aside-contact-name {
  display: block;
  font-weight: 700;
}
.aside-contact-tel {
  display: block;
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.aside-contact-note {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* 헤더 무료 간편 사이트 진단 버튼 - 좁은 화면에서는 짧은 이름 */
.header-btn-diag .diag-lbl-short {
  display: none;
}
@media (max-width: 600px) {
  .header-btn-diag .diag-lbl-full {
    display: none;
  }
  .header-btn-diag .diag-lbl-short {
    display: inline;
  }
}

/* 모바일 헤더 한 줄 유지 (로고 축소, 초소형 화면은 상담 신청 아이콘만) */
@media (max-width: 600px) {
  .rn-header .container {
    gap: 8px !important;
  }
  .rn-logo {
    flex-shrink: 1;
    min-width: 0;
  }
  .rn-logo img {
    width: 140px !important;
  }
  .header-util {
    gap: 5px !important;
  }
  .header-btn-contact,
  .header-btn-diag {
    padding: 0 9px !important;
  }
  .menu-toggle {
    width: 36px !important;
    flex-shrink: 0;
  }
}
@media (max-width: 420px) {
  .rn-logo img {
    width: 118px !important;
  }
  .header-btn-contact span {
    display: none;
  }
}

/* 간편 진단 모달 - 진단 범위 안내 (로그인 페이지 미지원) */
.diag_scope_note {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #475569;
}
.diag_scope_note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #334155;
}
.diag_scope_note p {
  margin: 0;
}
.diag_scope_note p + p {
  margin-top: 4px;
}
.diag_scope_note a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
}

/* =========================================================
   모바일 전용 프리미엄 네비게이션 드로어 (Modern Tech Style)
   ========================================================= */

/* PC(961px 이상)에서는 완벽하게 숨김 */
@media (min-width: 961px) {
  .rn-mobile-nav-dim,
  .rn-mobile-drawer {
    display: none !important;
  }
}

/* 모바일/태블릿(960px 이하) 드로어 스타일링 */
@media (max-width: 960px) {
  /* 모바일 가로 스크롤 및 레이아웃 이탈 방지 (clip 지원 브라우저는 clip: hidden 과 달리 sticky 메뉴가 유지됨) */
  html, body {
    overflow-x: hidden !important;
    overflow-x: clip !important;
    max-width: 100vw !important;
  }

  /* 모바일에서는 데스크톱 GNB 완벽 숨김 */
  .gnb {
    display: none !important;
  }

  /* 모바일 헤더 1열 깔끔 정렬 */
  .rn-header {
    height: 60px !important;
  }
  .rn-header .container {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .rn-logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .rn-logo img {
    width: 125px !important;
    height: auto !important;
    display: block !important;
  }
  .header-util {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .header-btn-pdf {
    display: none !important; /* 모바일 헤더 공간 절약 (드로어 안에 탑재) */
  }
  .header-btn-contact,
  .header-btn-diag {
    height: 32px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
  }
  .menu-toggle {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    padding: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  /* 배경 블러 오버레이 */
  .rn-mobile-nav-dim {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  body.nav-open .rn-mobile-nav-dim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* 드로어 컨테이너 (우측 슬라이드 오프캔버스) */
  .rn-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    width: 86vw;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -14px 0 44px rgba(15, 23, 42, 0.22);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body.nav-open .rn-mobile-drawer {
    transform: translateX(0);
  }

  /* 상단 브랜드 헤더 */
  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
  }
  .mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-logo img {
    height: 28px;
    width: auto;
    display: block;
  }
  .mobile-brand-sub {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.01em;
  }
  .mobile-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-drawer-close:hover,
  .mobile-drawer-close:active {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: rotate(90deg);
  }

  /* 드로어 스크롤 바디 */
  .mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px 32px;
    padding-bottom: max(32px, env(safe-area-inset-bottom, 24px));
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* AI 간편 진단 퀵 배너 */
  .mobile-quick-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f7ff 0%, #f5f3ff 100%);
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 8px rgba(30, 91, 214, 0.06);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .mobile-quick-banner:active {
    transform: scale(0.985);
  }
  .quick-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e5bd6 0%, #4338ca 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(30, 91, 214, 0.25);
  }
  .quick-banner-text {
    flex: 1;
    min-width: 0;
  }
  .quick-banner-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
  }
  .quick-banner-top strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
  }
  .quick-pill {
    padding: 1px 6px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 10.5px;
    font-weight: 700;
  }
  .quick-banner-text p {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .quick-banner-arrow {
    color: #3b82f6;
    display: flex;
    align-items: center;
  }

  /* 네비게이션 그룹 */
  .mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-group-title {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
    padding-left: 4px;
  }
  .mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  /* 메뉴 아이템 카드 */
  .mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 13px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-menu-item:hover,
  .mobile-menu-item:active {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateX(3px);
  }
  .mobile-menu-item.active {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
    border-color: #93c5fd;
    box-shadow: 0 3px 12px rgba(30, 91, 214, 0.1);
  }

  /* 메뉴 아이콘 박스 */
  .menu-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
  }
  .menu-item-icon svg {
    width: 18px;
    height: 18px;
  }
  .home-icon {
    color: #1e5bd6;
    background: #eff6ff;
    border-color: #dbeafe;
  }
  .pf-icon {
    color: #059669;
    background: #ecfdf5;
    border-color: #a7f3d0;
  }
  .care-icon {
    color: #7c3aed;
    background: #f5f3ff;
    border-color: #ddd6fe;
  }
  .contact-icon {
    color: #ea580c;
    background: #fff7ed;
    border-color: #fed7aa;
  }
  .blog-icon {
    color: #0284c7;
    background: #f0f9ff;
    border-color: #bae6fd;
  }
  .mobile-menu-item:active .menu-item-icon {
    transform: scale(0.92);
  }

  /* 메뉴 텍스트 */
  .menu-item-content {
    flex: 1;
    min-width: 0;
  }
  .menu-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
  }
  .menu-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
  }
  .mobile-menu-item.active .menu-title {
    color: #1e5bd6;
  }
  .menu-desc {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 타원형 뱃지 제거 및 텍스트 중심 정리 */
  .item-badge,
  .quick-pill,
  .count-badge,
  .hot-badge,
  .reply-badge,
  .active-badge,
  .ext-badge {
    display: none !important;
  }

  .menu-arrow {
    color: #cbd5e1;
    display: flex;
    align-items: center;
  }
  .menu-arrow svg {
    width: 16px;
    height: 16px;
  }
  .mobile-menu-item.active .menu-arrow {
    color: #1e5bd6;
  }

  /* 빠른 액션 버튼 2열 */
  .mobile-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
  }
  .mobile-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 44px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .mobile-action-btn:active {
    transform: scale(0.98);
  }
  .mobile-action-btn.pdf-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #1e293b;
  }
  .mobile-action-btn.pdf-btn:hover {
    background: #f1f5f9;
  }
  .mobile-action-btn.inquiry-btn {
    background: linear-gradient(135deg, #1e5bd6 0%, #1749b0 100%);
    border: 1px solid #1e5bd6;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(30, 91, 214, 0.25);
  }
  .mobile-action-btn.inquiry-btn:hover {
    filter: brightness(1.05);
  }

  /* 하단 실시간 상담 창구 카드 */
  .mobile-contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .contact-card-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
  }
  .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 2s infinite;
  }
  @keyframes pulseDot {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
  }

  .contact-btn-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .contact-call-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.18s ease;
  }
  .contact-call-btn:active {
    transform: scale(0.985);
    background: #eff6ff;
    border-color: #93c5fd;
  }
  .call-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #1e5bd6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .contact-call-btn.director .call-btn-icon {
    color: #4f46e5;
    background: #eef2ff;
  }
  .call-btn-text {
    flex: 1;
    line-height: 1.25;
  }
  .call-label {
    display: block;
    font-size: 10.5px;
    color: #64748b;
    font-weight: 500;
  }
  .call-num {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
  }

  .contact-card-info {
    font-size: 11px;
    color: #64748b;
    text-align: center;
    margin: 0;
    line-height: 1.4;
  }

  /* 메뉴 오픈 시 스태거 등장 애니메이션 */
  @keyframes navDrawerItemIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  body.nav-open .mobile-quick-banner {
    animation: navDrawerItemIn 0.3s ease 0.05s both;
  }
  body.nav-open .mobile-menu-item:nth-child(1) {
    animation: navDrawerItemIn 0.3s ease 0.08s both;
  }
  body.nav-open .mobile-menu-item:nth-child(2) {
    animation: navDrawerItemIn 0.3s ease 0.12s both;
  }
  body.nav-open .mobile-menu-item:nth-child(3) {
    animation: navDrawerItemIn 0.3s ease 0.16s both;
  }
  body.nav-open .mobile-menu-item:nth-child(4) {
    animation: navDrawerItemIn 0.3s ease 0.20s both;
  }
  body.nav-open .mobile-menu-item:nth-child(5) {
    animation: navDrawerItemIn 0.3s ease 0.24s both;
  }
  body.nav-open .mobile-action-grid {
    animation: navDrawerItemIn 0.3s ease 0.28s both;
  }
  body.nav-open .mobile-contact-card {
    animation: navDrawerItemIn 0.3s ease 0.32s both;
  }
}


/* 간단 사이트 진단 모달 팝업 모바일 최적화 (URL 100% 위, 버튼 100% 아래, 결과 버튼 화면 맞춤) */
@media (max-width: 768px) {
  .diag_modal_window {
    width: 95% !important;
    max-width: 95% !important;
    max-height: 92vh !important;
    margin: 8px !important;
    border-radius: 14px !important;
  }
  .diag_modal_body {
    padding: 16px 14px !important;
  }
  .diag_modal_input_row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .diag_modal_input_wrap {
    width: 100% !important;
  }
  .diag_modal_input_wrap input.form_style {
    width: 100% !important;
    height: 50px !important;
    padding-left: 44px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  #btn_modal_diagnose {
    width: 100% !important;
    height: 48px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
    justify-content: center !important;
  }
  .diag_modal_cta_box {
    padding: 16px 14px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .btn_modal_apply {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: keep-all !important;
    text-align: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    border-radius: 8px !important;
  }
}

/* ==========================================================================
   포트폴리오 카테고리 탭 (모바일 세련된 수평 스크롤 칩 필터 & 데스크톱 프리미엄 UI)
   ========================================================================== */
.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: none !important;
  margin-bottom: 36px;
  position: relative;
}

/* 데스크톱 (961px 이상) */
@media (min-width: 961px) {
  .tabs {
    display: inline-flex;
    padding: 6px;
    background: #f1f5f9;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    gap: 4px;
    margin-bottom: 40px;
  }
  .tab {
    height: 42px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .tab:hover {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
  }
  .tab.active {
    color: #1e5bd6 !important;
    background: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  }
  .tab.active::after {
    display: none !important;
  }
  .tab em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 700;
    font-style: normal;
    transition: all 0.2s ease;
  }
  .tab.active em {
    background: #eff6ff !important;
    color: #1e5bd6 !important;
  }
}

/* 모바일 및 태블릿 (960px 이하) - 세련된 터치 수평 스크롤 칩 필터 */
@media (max-width: 960px) {
  .tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
    gap: 8px !important;
    padding: 6px 16px 14px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }
  .tabs::-webkit-scrollbar {
    display: none !important; /* Chrome / Safari */
  }
  .tab {
    flex-shrink: 0 !important;
    height: 40px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .tab:active {
    transform: scale(0.96) !important;
  }
  .tab.active {
    background: linear-gradient(135deg, #1e5bd6 0%, #2563eb 100%) !important;
    border-color: #1e5bd6 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(30, 91, 214, 0.28) !important;
  }
  .tab.active::after {
    display: none !important; /* 밑줄 제거 */
  }
  .tab em {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-style: normal !important;
  }
  .tab.active em {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
  }
}

/* 포트폴리오 상세 모달 갤러리 썸네일 가시성 최적화 */
.gallery {
  min-height: 0;
  max-height: 100%;
}
.gallery-main {
  min-height: 0;
  padding: 20px 24px;
}
.gallery-main img {
  max-height: 48vh !important;
  width: auto;
  object-fit: contain;
}
.gallery-thumbs {
  flex-shrink: 0;
  padding: 8px 16px 16px;
  gap: 8px;
}
.gallery-thumbs button {
  width: 68px;
  height: 48px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.gallery-thumbs button.active {
  border-color: #1e5bd6;
  box-shadow: 0 0 0 2px rgba(30, 91, 214, 0.25);
}

/* ---------- 포트폴리오 상세 페이지 (/portfolio/{id}) ---------- */
.pf-detail-meta { margin: 0 0 10px; }
.pf-detail-client { margin-top: 10px !important; font-size: 15px !important; color: var(--ink-3) !important; }
.pf-detail { padding-top: 56px; }
.pf-detail-h { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.pf-detail-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-detail-shot {
  display: grid; place-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-soft); cursor: zoom-in; transition: border-color .25s, box-shadow .25s;
}
.pf-detail-shot:hover { border-color: var(--primary); box-shadow: 0 10px 28px rgba(30, 91, 214, .1); }
.pf-detail-shot img { max-height: 420px; width: auto; object-fit: contain; }
.pf-detail-shot.is-main { grid-column: 1 / -1; padding: 32px; }
.pf-detail-shot.is-main img { max-height: 560px; }
.pf-detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 56px; align-items: start; }
.pf-detail-features .feature-group:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.pf-detail-features .feature-group h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.pf-detail-side { position: sticky; top: calc(var(--header-h) + 24px); }
.pf-detail-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pf-detail-keywords li {
  padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--primary);
  background: var(--primary-soft); border: 1px solid rgba(30, 91, 214, .15);
}
.pf-detail-cta { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.pf-detail-cta b { display: block; font-size: 16px; }
.pf-detail-cta p { margin: 6px 0 16px; font-size: 14px; color: var(--ink-3); }
.pf-detail-cta .btn { width: 100%; margin-top: 8px; }
.pf-detail-related { background: var(--bg-soft); border-top: 1px solid var(--line); }
.pf-detail-related .project { text-decoration: none; color: inherit; }
@media (max-width: 960px) {
  .pf-detail-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pf-detail-side { position: static; }
}
@media (max-width: 640px) {
  .pf-detail-shots { grid-template-columns: minmax(0, 1fr); }
  .pf-detail-shot, .pf-detail-shot.is-main { padding: 14px; }
}

/* 포트폴리오 카드는 상세 페이지 링크(<a>)로 렌더링 */
a.project { color: inherit; text-decoration: none; }

/* 팝업: 내용이 길면 오른쪽 설명 영역만 스크롤 (아래가 잘리지 않도록 높이 제한) */
.modal-dialog { grid-template-rows: minmax(0, 1fr); }
.modal-dialog .gallery, .modal-dialog .modal-body { min-height: 0; max-height: calc(100vh - 48px); }
.modal-dialog .modal-body { overscroll-behavior: contain; }
@media (max-width: 960px) {
  .modal-dialog { grid-template-rows: none; }
  .modal-dialog .gallery, .modal-dialog .modal-body { max-height: none; }
}

/* ---------- /sub/sub5 슬로건 강조 줄: 그라데이션 테두리 알약 + AI 아이콘 + 그라데이션 글씨 ---------- */
.page-title.page-title-sub5 .sub5-slogan {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 22px; padding: 8px 22px 8px 8px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, #60a5fa 0%, #6366f1 55%, #a855f7 100%) border-box;
  box-shadow: 0 10px 30px rgba(37, 99, 235, .12), 0 2px 6px rgba(37, 99, 235, .06);
  font-size: clamp(15.5px, 1.5vw, 18px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; color: var(--ink-2);
}
.sub5-slogan-ico {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); box-shadow: 0 4px 12px rgba(99, 102, 241, .35);
}
.sub5-slogan-ico svg { width: 18px; height: 18px; }
.sub5-slogan em, .sub5-slogan-b {
  font-style: normal; font-weight: 800;
  background: linear-gradient(100deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub5-slogan-sep { width: 1px; height: 18px; background: linear-gradient(180deg, transparent, #c7d2fe, transparent); }
.page-title.page-title-sub5 .sub5-slogan + .sub5-lead-text { margin-top: 16px; }
@media (max-width: 640px) {
  .page-title.page-title-sub5 .sub5-slogan {
    display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; margin-top: 16px; padding: 10px 16px 10px 10px; border-radius: 18px;
  }
  .sub5-slogan-ico { grid-row: span 2; align-self: center; }
  .sub5-slogan-sep { display: none; }
}

/* ---------- 자주 묻는 질문 ---------- */
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(30, 91, 214, .35); box-shadow: 0 8px 24px rgba(30, 91, 214, .07); }
.faq-item summary {
  position: relative; padding: 18px 52px 18px 22px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; margin-right: 10px; color: var(--primary); font-weight: 800; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { color: var(--primary); }
.faq-item p { margin: 0; padding: 0 22px 20px 44px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }

/* ---------- /sub/sub5 제공 서비스 카드: 그라데이션 아이콘 + 외곽선 번호 + 결과 강조 박스 ---------- */
#services .box { position: relative; overflow: hidden; padding: 30px 28px 26px; border-radius: 18px; border-color: #e3e9f6; }
#services .box:nth-child(1) { --c1: #38bdf8; --c2: #2563eb; }
#services .box:nth-child(2) { --c1: #818cf8; --c2: #4f46e5; }
#services .box:nth-child(3) { --c1: #fbbf24; --c2: #f97316; }
#services .box:nth-child(4) { --c1: #c084fc; --c2: #7c3aed; }
#services .box:nth-child(5) { --c1: #34d399; --c2: #0d9488; }
#services .box:nth-child(6) { --c1: #60a5fa; --c2: #1d4ed8; }
#services .box::before { height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
#services .box::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 170px; height: 170px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 18%, transparent), transparent 70%);
}
#services .box-head { align-items: center; justify-content: flex-start; gap: 10px; min-height: 48px; }
#services .svc-ico {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 10px 22px -8px var(--c2), inset 0 1px 0 rgba(255, 255, 255, .35);
}
#services .svc-ico svg { width: 24px; height: 24px; }
#services .box-no {
  position: absolute; right: 22px; top: 18px; font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px #d5deef; font-variant-numeric: tabular-nums; transition: -webkit-text-stroke-color .3s;
}
#services .box:hover .box-no { -webkit-text-stroke-color: var(--c2); }
#services .box-tag { position: relative; z-index: 1; color: var(--c2); background: color-mix(in srgb, var(--c1) 16%, #fff); }
#services .box h3 { position: relative; margin-top: 18px; font-size: 19px; line-height: 1.4; }
#services .box .dot-list li::before { background: var(--c2); opacity: .55; }
#services .box-result { padding-top: 20px; }
#services .box-result p {
  position: relative; padding: 14px 14px 14px 44px; border: 0; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: color-mix(in srgb, var(--c1) 10%, #f8fafc);
}
#services .box-result p::before {
  content: ""; position: absolute; left: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, var(--c1), var(--c2));
}
#services .box-result b { margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--c2); }

/* ---------- /sub/sub5 진행 절차: 번호 원 + 연결선 + 같은 높이의 단계 카드 ---------- */
#process .steps { position: relative; gap: 14px; grid-auto-rows: 1fr; border-top: 0; margin-top: 8px; }
#process .steps::before {
  content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 23px; height: 2px;
  background: linear-gradient(90deg, #60a5fa, #6366f1 50%, #a855f7); opacity: .45;
}
#process .step, #process .step + .step { position: relative; display: flex; flex-direction: column; padding: 0; border: 0; text-align: center; }
#process .step-no {
  position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #7c3aed);
  box-shadow: 0 0 0 6px var(--bg-soft), 0 10px 22px -8px rgba(79, 70, 229, .7);
}
#process .step-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; padding: 22px 16px 20px; border-radius: 16px;
  background: #fff; border: 1px solid #e3e9f6; box-shadow: 0 10px 24px -18px rgba(30, 64, 175, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
#process .step:hover .step-card { transform: translateY(-4px); border-color: rgba(99, 102, 241, .35); box-shadow: 0 18px 34px -18px rgba(79, 70, 229, .45); }
#process .step h3 { margin: 0; font-size: 17px; line-height: 1.4; }
#process .step p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
#process .step-out {
  margin-top: auto; padding: 5px 12px; border: 0; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--primary); background: var(--primary-soft);
}
#process .step p + .step-out { margin-top: auto; }
#process .step-card p { margin-bottom: 14px; }
@media (max-width: 1100px) and (min-width: 961px) {
  #process .steps { row-gap: 28px; }
  #process .steps::before { display: none; }
}
@media (max-width: 960px) {
  #process .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }
  #process .steps::before { display: none; }
  #process .step, #process .step + .step, #process .steps .step:nth-child(4) {
    flex-direction: row; align-items: stretch; gap: 16px; padding: 0; text-align: left; border: 0;
  }
  #process .step-no { margin: 14px 0 0; }
  #process .step:not(:last-child)::after {
    content: ""; position: absolute; left: 22px; top: 60px; bottom: -14px; width: 2px;
    background: linear-gradient(180deg, #60a5fa, #a78bfa); opacity: .5;
  }
  #process .step-card { align-items: flex-start; padding: 16px 18px; }
  #process .step-card p { margin-bottom: 10px; }
  #process .step:hover .step-card { transform: none; }
}

/* ---------- /sub/sub5 자체 서버 카드: 텍스트형 제목 ---------- */
.big-num.big-num-text .big-num-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #93c5fd; }
.big-num.big-num-text strong {
  margin-top: 10px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2;
  background: linear-gradient(90deg, #ffffff, #bcd4ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.big-num.big-num-text h3 { margin-top: 10px; font-size: 18px; color: rgba(255, 255, 255, .92); }

/* ---------- /sub/sub5 오픈 이후 관리 카드: 색상 아이콘 + 외곽선 번호 ---------- */
#maintenance .cols-2 { gap: 16px; }
#maintenance .care-card { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: 18px; border-color: #e3e9f6; }
#maintenance .care-card:nth-child(1) { --c1: #60a5fa; --c2: #2563eb; }
#maintenance .care-card:nth-child(2) { --c1: #fb7185; --c2: #e11d48; }
#maintenance .care-card:nth-child(3) { --c1: #a78bfa; --c2: #6d28d9; }
#maintenance .care-card:nth-child(4) { --c1: #fbbf24; --c2: #ea580c; }
#maintenance .care-card::before { height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
#maintenance .care-card::after {
  content: ""; position: absolute; right: -55px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 16%, transparent), transparent 70%);
}
#maintenance .care-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 10px 22px -8px var(--c2), inset 0 1px 0 rgba(255, 255, 255, .35);
}
#maintenance .care-ico svg { width: 23px; height: 23px; }
#maintenance .care-card .box-no {
  position: absolute; right: 20px; top: 16px; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px #d5deef; font-variant-numeric: tabular-nums; transition: -webkit-text-stroke-color .3s;
}
#maintenance .care-card:hover .box-no { -webkit-text-stroke-color: var(--c2); }
#maintenance .care-card h3 { position: relative; margin-top: 16px; font-size: 19px; }
#maintenance .care-card p { position: relative; margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--ink-3); }

/* 이런 요청도: 말풍선 + 답변 */
#maintenance .care-ask { align-self: center; }
#maintenance .care-ask .quote-list { gap: 12px; margin-top: 18px; }
#maintenance .care-ask .quote-list li {
  position: relative; padding: 14px 18px 14px 50px; border: 1px solid #dfe6f5; border-radius: 16px 16px 16px 4px;
  background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 6px 16px -10px rgba(30, 64, 175, .25);
}
#maintenance .care-ask .quote-list li:nth-child(2) { margin-left: 18px; }
#maintenance .care-ask .quote-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9.5h10M7 13.5h6'/%3E%3C/svg%3E") center / 14px no-repeat,
    linear-gradient(135deg, #93c5fd, #6366f1);
}
#maintenance .care-answer {
  position: relative; margin-top: 18px; padding: 14px 18px 14px 50px; border-radius: 16px 16px 4px 16px;
  font-weight: 700; color: #fff; background: linear-gradient(100deg, #2563eb, #6366f1 60%, #7c3aed);
  box-shadow: 0 12px 26px -12px rgba(79, 70, 229, .7);
}
#maintenance .care-answer::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: rgba(255, 255, 255, .22)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 640px) {
  #maintenance .care-ask .quote-list li:nth-child(2) { margin-left: 0; }
}

/* ---------- /sub/sub5 진행 절차 하단 안내: 무료 점검만 받아도 됨 ---------- */
#process .process-note {
  display: flex; align-items: center; gap: 14px; max-width: 920px; margin: 32px auto 0; padding: 16px 18px 16px 20px;
  border-radius: 16px; background: #fff; border: 1px solid rgba(99, 102, 241, .22);
  box-shadow: 0 12px 28px -20px rgba(79, 70, 229, .5);
}
#process .process-note-ico {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .8);
}
#process .process-note-ico svg { width: 20px; height: 20px; }
#process .process-note p { flex: 1; margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
#process .process-note p b { color: var(--ink); }
#process .process-note-link {
  flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap;
  background: linear-gradient(100deg, #2563eb, #6366f1); transition: box-shadow .25s, transform .25s var(--ease);
}
#process .process-note-link::after { content: " \2192"; }
#process .process-note-link:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .9); }
@media (max-width: 640px) {
  #process .process-note { flex-wrap: wrap; align-items: flex-start; margin-top: 24px; padding: 16px; }
  #process .process-note p { flex-basis: calc(100% - 52px); font-size: 14.5px; }
  #process .process-note-link { margin-left: 52px; }
}

/* ---------- /sub/sub5 진행 절차 단계 표시: PC 쉐브론 화살표 띠 / 태블릿·모바일 둥근 사각 배지 ---------- */
#process .step:nth-child(1) { --s1: #60a5fa; --s2: #3b82f6; }
#process .step:nth-child(2) { --s1: #5b8cf8; --s2: #4f6df0; }
#process .step:nth-child(3) { --s1: #6d83f6; --s2: #5b5bec; }
#process .step:nth-child(4) { --s1: #7d7af4; --s2: #6a4fe8; }
#process .step:nth-child(5) { --s1: #8f72f2; --s2: #7a45e4; }
#process .step:nth-child(6) { --s1: #a06bf0; --s2: #8b3fe0; }
#process .step-no { background: linear-gradient(135deg, var(--s1), var(--s2)); }
#process .step-no::before { content: "STEP"; font-size: 10px; font-weight: 700; letter-spacing: .12em; opacity: .8; }
#process .step-card { border-top: 3px solid var(--s2); }
@media (min-width: 1101px) {
  #process .steps { column-gap: 8px; }
  #process .steps::before { display: none; }
  #process .step-no {
    display: flex; gap: 6px; align-items: center; justify-content: center; width: calc(100% + 8px); height: 42px; margin: 0 0 14px;
    border-radius: 0; box-shadow: none; font-size: 16px; letter-spacing: .02em;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
    filter: drop-shadow(0 8px 12px rgba(79, 70, 229, .25));
  }
  #process .step:first-child .step-no { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); border-radius: 10px 0 0 10px; }
  #process .step:last-child .step-no { width: 100%; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%); border-radius: 0 10px 10px 0; }
}
@media (max-width: 1100px) {
  #process .step-no {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 52px; height: 52px; border-radius: 16px;
    font-size: 16px; line-height: 1; box-shadow: 0 0 0 5px var(--bg-soft), 0 10px 20px -8px var(--s2);
  }
  #process .step-no::before { font-size: 8.5px; }
}
@media (max-width: 960px) {
  #process .step-no { margin: 12px 0 0; }
  #process .step:not(:last-child)::after { left: 25px; top: 64px; }
}
