:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --navy: #0b1f5a;
  --blue: #2563eb;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Noto Sans KR', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrap {
  width: min(920px, 100%);
  margin: 0 auto;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 18px;
  margin: 14px 0;
}

.card-in {
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.h1 {
  margin: 10px 0 8px;
  font-size: 26px;
  line-height: 1.25;
}
.h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 1.5;
}
.center {
  text-align: center;
}

.hl {
  color: var(--blue);
  font-weight: 800;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
}

.btn {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  border-radius: 14px;
  padding: 12px 14px;
  width: 100%;
  transition: transform 0.06s ease;
}
.btn:active {
  transform: scale(0.99);
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
}
.btn-xl {
  padding: 14px 16px;
  font-size: 16px;
}
.btn-pill {
  border-radius: 999px;
  max-width: 520px;
}

.hero {
  overflow: hidden;
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-photo {
  min-height: 220px;
  background: linear-gradient(
      90deg,
      rgba(11, 31, 90, 0.5),
      rgba(11, 31, 90, 0.25)
    ),
    url('/assets/imgs/hero.jpg') center/cover no-repeat;
}
.hero-copy {
  padding: 16px 18px 18px;
}

.check {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.check li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 12px 40px;
  position: relative;
  background: #fff;
  font-weight: 700;
}
.check li::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.cta p {
  margin: 0 0 12px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.checklist li {
  padding-left: 28px;
  position: relative;
  font-weight: 700;
}
.checklist li::before {
  content: '☑';
  position: absolute;
  left: 0;
  top: 0;
}

.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.form .field {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}
.form .field span {
  font-weight: 800;
  font-size: 13px;
}
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
input:focus,
select:focus {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.tel {
  display: grid;
  grid-template-columns: 100px 14px 1fr 14px 1fr;
  align-items: center;
  gap: 6px;
}
.dash {
  text-align: center;
  color: var(--muted);
}

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(100, 116, 139, 0.45);
  border-radius: 14px;
  background: rgba(100, 116, 139, 0.06);
}
.agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.notice {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #0b1f5a;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px;
  background: #fff;
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
}
.faq-body {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.floating {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 246, 251, 0.85);
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(10px);
  z-index: 60;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-photo {
    min-height: 360px;
    filter: blur(0px);
  }
  .two {
    grid-template-columns: 1fr 1fr;
  }
}

/* 강조 카드 */
.highlight-card {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border: 2px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

/* 제목 강조 */
.highlight-title {
  text-align: center;
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.highlight-title .accent {
  color: #2563eb;
  font-weight: 900;
}

/* 체크리스트 업그레이드 */
.highlight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.highlight-list li {
  position: relative;
  padding: 14px 14px 14px 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-weight: 700;
  line-height: 1.4;
  font-size: 24px;
}

.highlight-list li::before {
  content: '✔';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

/* 하단 문구 CTA 느낌 */
.highlight-desc {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  text-align: center;
  font-size: 24px;
  line-height: 1.5;
  color: #0b1f5a;
}

/* 사례 섹션 */
.cases {
  border: 2px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.cases-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.cases-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  white-space: nowrap;
}

.cases-grid {
  margin-top: 6px;
}

.case {
  border: 1px solid rgba(100, 116, 139, 0.18);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.pill {
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
}
.pill-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.pill-navy {
  background: rgba(11, 31, 90, 0.12);
  color: #0b1f5a;
}

.case-main {
  padding: 12px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.14);
  margin: 10px 0 10px;
  text-align: center;
}

.case-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.case-num .from {
  color: #334155;
  font-size: 16px;
  opacity: 0.9;
}
.case-num .arrow {
  color: #2563eb;
  font-size: 16px;
}
.case-num .to {
  color: #0b1f5a;
  font-size: 20px;
}

.case-sub {
  margin: 6px 0 0;
  color: #0b1f5a;
  font-weight: 800;
}

.case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(100, 116, 139, 0.35);
}
.case-foot .label {
  font-size: 12px;
  font-weight: 900;
  color: #64748b;
}
.case-foot .value {
  font-weight: 900;
  color: #0f172a;
}

.cases-note {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* ===== 진행과정(눈에 확 띄게) ===== */
.process {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  margin: 14px 0;
  background: #fff;
}

.process-head {
  padding: 18px 16px 16px;
  background: linear-gradient(135deg, #0b1f5a, #1d4ed8);
  color: #fff;
  text-align: center;
}

.process-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 8px;
}

.process-title {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.3px;
  font-weight: 900;
}

.process-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #f6f9ff;
}

.p-step {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(100, 116, 139, 0.22);
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.p-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #0b1f5a;
  background: rgba(11, 31, 90, 0.1);
  border: 1px solid rgba(11, 31, 90, 0.16);
}

.p-icon {
  width: 56px;
  height: 56px;
  margin: 6px auto 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 90, 0.06);
  color: #0b1f5a;
}

.p-icon svg {
  width: 30px;
  height: 30px;
}

.p-text {
  font-size: 18px;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 800;
}
.p-text b {
  font-weight: 1000;
  color: #0b1f5a;
}

.p-pill {
  margin: 10px auto 0;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 1000;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

/* 3번 강조(이미지처럼 가운데 카드 강조) */
.p-step.is-highlight {
  border: 2px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
  transform: translateY(-2px);
}

/* 데스크탑에서 4열 */
@media (min-width: 860px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .p-step {
    min-height: 210px;
  }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 32px;
  padding: 28px 16px calc(28px + env(safe-area-inset-bottom));
  background: #0f172a;
  color: #cbd5f5;
}

.footer-inner {
  max-width: 920px;
  margin: 0 auto;
}

.footer-info {
  font-size: 13px;
  line-height: 1.7;
}

.footer-info p {
  margin: 2px 0;
}

.footer-info b {
  color: #ffffff;
  font-weight: 700;
}

.footer-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
}

.cta-check {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 920px;
  margin: 24px auto;

  padding: 22px 16px;
  border-radius: 20px;

  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;

  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

/* active (눌렀을 때) */
.cta-check:active {
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.18),
    inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 모바일 대응 */
@media (max-width: 480px) {
  .cta-check {
    font-size: 20px;
    padding: 18px 14px;
    border-radius: 16px;
  }
}

#apply {
  scroll-margin-top: 150px; /* 원하는 만큼 조절 */
}
