/* 시안 B 전용 추가 스타일 (style.css 위에 덧씌움) */

/* ---------- hero B ---------- */
.hero-b h1 { font-size: 52px; }
.hero-b .jp { font-size: 15px; color: var(--mute); margin: -4px 0 0; letter-spacing: 0.04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px;
  font-size: 14px; font-weight: 500; background: #fff;
}
.chips li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.hero-b .hero-lead { font-size: 18px; color: var(--sub); margin-top: 24px; }

/* ---------- pains ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px 30px 32px; position: relative; }
.pain .q { font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--warn); letter-spacing: .1em; }
.pain h3 { font-size: 19px; line-height: 1.55; margin: 10px 0 12px; }
.pain p { font-size: 14.5px; color: var(--sub); }
.pain .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--warn-soft); display: grid; place-items: center; margin-bottom: 20px; }
.pain .ico svg { width: 26px; height: 26px; stroke: var(--warn); }
.solve {
  margin-top: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.solve::before {
  content: ""; width: 1px; height: 48px; background: linear-gradient(var(--line), var(--brand));
}
.solve p { font-size: 22px; font-weight: 700; line-height: 1.6; }
.solve p em { font-style: normal; color: var(--brand); }

/* ---------- compare ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 14px; color: var(--sub); font-weight: 600; border-bottom: 1px solid var(--ink); }
.compare thead th.us { color: var(--brand); }
.compare tbody th { width: 20%; font-weight: 600; color: var(--sub); font-size: 14px; }
.compare td { width: 40%; color: var(--sub); }
.compare td.us { color: var(--ink); font-weight: 500; background: var(--brand-soft); }
.compare thead th.us { background: var(--brand-soft); border-radius: 10px 10px 0 0; }
.compare tr:last-child td.us { border-radius: 0 0 10px 10px; }
.compare .mark { display: inline-block; font-family: var(--font-en); font-weight: 700; margin-right: 8px; }
.compare td .mark { color: var(--mute); }
.compare td.us .mark { color: var(--brand); }
.compare-wrap { overflow-x: auto; }

/* ---------- case B ---------- */
.case-nums.four { grid-template-columns: repeat(4, 1fr); }
.case-nums.four b { font-size: 34px; }
.tbd {
  display: inline-block; font-size: 12px; font-weight: 600; color: #b42318;
  border: 1px dashed #e4a19a; background: #fdf3f2; border-radius: 4px; padding: 1px 8px; margin-top: 8px;
}
.case-nums b.tbd-num { color: var(--mute); }

/* ---------- credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.cred { border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; display: flex; gap: 14px; align-items: center; background: #fff; }
.cred .seal {
  flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 14px;
}
.cred b { display: block; font-size: 14.5px; }
.cred span { font-size: 12.5px; color: var(--mute); }
.cred.pending { border-style: dashed; background: transparent; }
.cred.pending .seal { border-style: dashed; color: var(--mute); border-color: var(--mute); font-size: 12px; }
.creds-title { font-size: 15px; font-weight: 700; margin-top: 56px; }
.creds-title + .creds { margin-top: 16px; }

/* ---------- CTA 3 ---------- */
.cta3 { background: var(--bg-soft); padding: 112px 0; }
.cta3 .opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opt { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px 30px; display: flex; flex-direction: column; }
.opt.main { border: 2px solid var(--brand); position: relative; }
.opt.main .rec { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.opt .stage { font-size: 13px; color: var(--brand); font-weight: 600; }
.opt h3 { font-size: 21px; margin: 6px 0 10px; }
.opt p { font-size: 14.5px; color: var(--sub); margin-bottom: 28px; }
.opt .btn { margin-top: auto; width: 100%; }
.opt .ico { width: 44px; height: 44px; margin-bottom: 18px; }
.opt .ico svg { width: 40px; height: 40px; stroke: var(--brand); }
.tel-row { margin-top: 36px; text-align: center; font-size: 15px; color: var(--sub); }
.tel-row b { font-family: var(--font-en); font-size: 24px; color: var(--ink); margin: 0 10px; letter-spacing: .02em; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pains, .cta3 .opts { grid-template-columns: 1fr; }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .case-nums.four { grid-template-columns: repeat(2, 1fr); }
  .case-nums.four li:nth-child(3) { border-left: 0; }
  .case-nums.four li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero-b h1 { font-size: 34px; }
  .solve p { font-size: 18px; }
  .creds { grid-template-columns: 1fr; }
  .case-nums.four { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 12px; font-size: 13.5px; }
  .compare { min-width: 520px; }
  .cta3 { padding: 72px 0; }
  .tel-row b { display: block; margin: 4px 0; }
}

.hero-b { padding-bottom: 96px; }
@media (max-width: 640px) { .hero-b { padding-bottom: 64px; } }

/* case 4열 숫자 한 줄 유지 */
.case-nums.four li { padding: 36px 28px; }
.case-nums.four b { font-size: 32px; white-space: nowrap; }

/* 모바일 비교표: 표 대신 카드형으로 */
@media (max-width: 640px) {
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
  .compare tbody th { width: 100%; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14.5px; padding: 14px 16px; }
  .compare td { width: 100%; }
  .compare td { border-bottom: 0; padding: 12px 16px; }
  .compare td::before { content: "일반 전력 가시화"; display: block; font-size: 11.5px; color: var(--mute); font-weight: 600; margin-bottom: 2px; }
  .compare td.us::before { content: "AI-ELEX"; color: var(--brand); }
  .compare tr:last-child td.us { border-radius: 0; }
}
