:root {
  --blue: #1d5cff;
  --blue-dark: #1548d6;
  --blue-soft: #eef3ff;
  --navy: #0b2a6f;
  --ink: #16191f;
  --ink2: #333a45;
  --muted: #5f6875;
  --muted2: #8a929e;
  --line: #e5e8ec;
  --gray-50: #f7f8fa;
  --gray-100: #f0f2f5;
  --red: #e5484d;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 28px; border-radius: 10px; font-size: 17px; font-weight: 700; white-space: nowrap; transition: background .18s var(--ease), transform .18s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { opacity: .6; }
.btn-white { background: #fff; color: var(--ink); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 8px; }
.btn-full { width: 100%; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.top .logo img { height: 40px; width: auto; }
.top-r { display: flex; align-items: center; gap: 16px; }
.top-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; }
.top-tel i { font-size: 15px; color: var(--blue); }

/* 히어로 */
.hero { background: var(--gray-50); padding: 64px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.kicker { font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.hero h1 { font-size: 56px; line-height: 1.22; font-weight: 800; letter-spacing: -.03em; }
.hero h1 em, .h em { font-style: normal; color: var(--blue); }
.hero .desc { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 520px; }
.points { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.points li { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--ink2); }
.points i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.hero-ph { margin-top: 36px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--gray-100); }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

/* 신청 카드 */
.apply-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: grid; gap: 18px; box-shadow: 0 12px 36px rgba(15, 23, 42, .08); }
.hero .apply-card { position: sticky; top: 92px; }
.apply-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.apply-card .sub { margin-top: -10px; font-size: 15px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .lab { font-size: 15px; font-weight: 700; color: var(--ink2); }
.req { color: var(--blue); margin-left: 2px; }
.input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #a9b0ba; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 92, 255, .14); }
.input.err { border-color: var(--red); }
.choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--muted); transition: all .15s; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.agree { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.agree input { position: absolute; opacity: 0; }
.agree .box { flex: none; width: 22px; height: 22px; border: 1px solid #c3c9d2; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 12px; transition: all .15s; }
.agree input:checked + .box { background: var(--blue); border-color: var(--blue); color: #fff; }
.agree a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }
.apply-card .alt { text-align: center; font-size: 15px; color: var(--muted); margin-top: -4px; }
.apply-card .alt a { font-weight: 800; color: var(--ink); }

/* 섹션 공통 */
.sec { padding: 96px 0; }
.sec.gray { background: var(--gray-50); }
.h { font-size: 38px; line-height: 1.32; font-weight: 800; letter-spacing: -.02em; margin-bottom: 40px; }
.hs { margin: -24px 0 36px; font-size: 18px; color: var(--muted); }

.pain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain li { display: flex; align-items: flex-start; gap: 18px; padding: 28px; border-radius: 14px; background: var(--gray-50); }
.pain .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pain b { display: block; font-size: 20px; font-weight: 800; line-height: 1.4; }
.pain p { margin-top: 4px; font-size: 16px; color: var(--muted); }

.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat article { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feat .ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray-100); }
.feat .ph img { width: 100%; height: 100%; object-fit: cover; }
.feat h3 { padding: 26px 26px 0; font-size: 21px; font-weight: 800; }
.feat p { padding: 10px 26px 28px; font-size: 16px; color: var(--muted); }

.price { background: var(--navy); color: #fff; }
.price-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.price .h { margin-bottom: 18px; }
.price .h em { color: #9ccbff; }
.price p { font-size: 18px; color: rgba(255, 255, 255, .78); margin-bottom: 32px; max-width: 480px; }
.price ol { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 32px; }
.price ol li { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.price ol li:last-child { border-bottom: 0; }
.price ol b { font-size: 18px; }
.price ol span { font-size: 15px; color: rgba(255, 255, 255, .68); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.cases img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--gray-100); }
.cases figcaption { padding-top: 12px; font-size: 18px; font-weight: 700; }
.cases figcaption span { display: block; font-size: 14px; color: var(--blue); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; }
.steps .no { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.steps b { font-size: 19px; font-weight: 800; }
.steps p { margin-top: 6px; font-size: 16px; color: var(--muted); }

.faq-wrap { max-width: 860px; }
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item .q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-size: 19px; font-weight: 700; }
.faq-item .q i { flex: none; font-size: 14px; color: var(--muted2); transition: transform .25s var(--ease); }
.faq-item.open .q i { transform: rotate(180deg); }
.faq-item .a { max-height: 0; overflow: hidden; transition: max-height .28s var(--ease); }
.faq-item .a p { padding: 0 4px 26px; font-size: 17px; color: var(--muted); line-height: 1.75; }

.last { background: var(--gray-50); scroll-margin-top: 68px; }
.last-in { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.last .h { margin-bottom: 16px; }
.last-tx p { font-size: 18px; color: var(--muted); }
.big-tel { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 44px; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.big-tel i { font-size: 30px; }
.kakao { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 16px; height: 48px; padding: 0 20px; border-radius: 10px; background: #fee500; color: #191919; font-size: 16px; font-weight: 700; }

.foot { background: #12151b; color: #a4abb6; padding: 48px 0 44px; font-size: 14px; line-height: 1.9; }
.foot img { height: 40px; width: auto; margin-bottom: 20px; }
.foot b { color: #d6dae0; }
.foot .links { margin-top: 14px; display: flex; gap: 20px; }
.foot .links a { color: #d6dae0; font-weight: 600; }
.foot .copy { margin-top: 14px; color: #6e7683; }

.bottom-bar { display: none; }

.pp-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .2s var(--ease), visibility .2s; }
.pp-modal.open { visibility: visible; opacity: 1; }
.pp-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.pp-card { position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 18px; padding: 36px 28px 28px; text-align: center; transform: translateY(12px) scale(.98); transition: transform .22s var(--ease); }
.pp-modal.open .pp-card { transform: none; }
.pp-icon { width: 60px; height: 60px; margin: 0 auto 18px; }
.pp-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.pp-icon .c { opacity: .14; fill: currentColor; stroke: none; }
.pp-icon.ok { color: var(--blue); }
.pp-icon.err { color: var(--red); }
.pp-card h3 { font-size: 21px; font-weight: 800; }
.pp-card p { margin-top: 10px; font-size: 16px; color: var(--muted); white-space: pre-line; }
.pp-card button { margin-top: 26px; width: 100%; height: 52px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; }

@media (max-width: 960px) {
  .top .wrap { height: 60px; }
  .top .logo img { height: 32px; }
  .top-r .btn { display: none; }
  .top-tel { font-size: 17px; }
  .hero { padding: 36px 0 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 38px; }
  .hero .desc { font-size: 16px; margin-top: 14px; }
  .points { margin-top: 18px; flex-direction: column; gap: 8px; }
  .points li { font-size: 16px; }
  .hero-ph { margin-top: 24px; border-radius: 14px; }
  .hero .apply-card { position: static; }
  .apply-card { padding: 26px 20px; border-radius: 16px; }
  .apply-card h2 { font-size: 21px; }
  .sec { padding: 64px 0; }
  .h { font-size: 27px; margin-bottom: 28px; }
  .hs { font-size: 16px; margin: -16px 0 26px; }
  .pain { grid-template-columns: 1fr; gap: 10px; }
  .pain li { padding: 22px 20px; gap: 14px; }
  .pain .ic { width: 46px; height: 46px; font-size: 18px; }
  .pain b { font-size: 18px; }
  .pain p { font-size: 15px; }
  .feat { grid-template-columns: 1fr; gap: 14px; }
  .feat h3 { font-size: 19px; padding: 22px 22px 0; }
  .feat p { padding: 8px 22px 24px; font-size: 15px; }
  .price-in { grid-template-columns: 1fr; gap: 32px; }
  .price p { font-size: 16px; margin-bottom: 24px; }
  .price ol { padding: 6px 24px; }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .cases figcaption { font-size: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps li { padding: 22px 18px; }
  .steps b { font-size: 17px; }
  .steps p { font-size: 15px; }
  .faq-item .q { font-size: 17px; padding: 20px 2px; }
  .faq-item .a p { font-size: 16px; }
  .last-in { grid-template-columns: 1fr; gap: 28px; }
  .last-tx p { font-size: 16px; }
  .big-tel { font-size: 34px; margin-top: 22px; }
  .big-tel i { font-size: 24px; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .bottom-bar {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    transition: transform .25s var(--ease);
  }
  .bottom-bar.hide { transform: translateY(110%); }
  .bottom-bar a { height: 54px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 700; }
  .bottom-bar .b-call { border: 1px solid var(--line); }
  .bottom-bar .b-form { background: var(--blue); color: #fff; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; }
}
