/* ════════════════════════════════════════════════
   당일대출론
   SUIT Variable / weight: 500·600·700 only
════════════════════════════════════════════════ */

:root {
  --accent:       #ff6b2c;
  --accent-hover: #e85a1e;
  --dark:         #111;
  --bg:           #fff;
  --bg-alt:       #f6f6f6;
  --border:       #ddd;
  --text:         #222;
  --text-sub:     #555;
  --text-mute:    #999;
  --error:        #d63031;
  --success:      #00b894;
  --font: 'SUIT Variable', 'SUIT', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── 공통 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font); font-weight: 700; border: none; cursor: pointer;
  text-decoration: none; transition: background .15s;
}
.btn--nav { background: var(--accent); color: #fff; font-size: 15px; padding: 11px 24px; border-radius: 6px; }
.btn--nav:hover { background: var(--accent-hover); }
.btn--submit { width: 100%; background: var(--accent); color: #fff; font-size: 18px; padding: 17px; border-radius: 8px; margin-top: 4px; }
.btn--submit:hover:not(:disabled) { background: var(--accent-hover); }
.btn--submit:disabled { opacity: .45; cursor: not-allowed; }
.btn--cta { background: var(--accent); color: #fff; font-size: 17px; padding: 16px 40px; border-radius: 8px; }
.btn--cta:hover { background: var(--accent-hover); }
.btn--modal { background: var(--accent); color: #fff; font-size: 16px; padding: 13px 40px; border-radius: 8px; margin-top: 18px; }
.btn--modal:hover { background: var(--accent-hover); }
.hidden { display: none !important; }

/* ══════ 헤더 ══════ */
.header {
  background: var(--bg);
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
}
.header__inner { display: flex; justify-content: space-between; align-items: center; }
.header__nav { display: flex; align-items: center; gap: 18px; }
.header__badge { font-size: 13px; font-weight: 500; color: var(--text-mute); display: flex; align-items: center; gap: 5px; }
.header__badge i { color: var(--accent); font-size: 11px; }
.logo { font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -.8px; }
.logo span { color: var(--accent); }
.logo--footer { color: #fff; font-size: 22px; }
.logo--footer span { color: var(--accent); }

/* ══════ 히어로 ══════ */
.hero {
  background: var(--dark);
  padding: 72px 0 80px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.hero__h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
}
.hero__h1 em { font-style: normal; color: var(--accent); }
.hero__desc {
  font-size: 19px;
  font-weight: 500;
  color: #888;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* 히어로 수치 */
.hero__facts {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
}
.hero__fact { display: flex; flex-direction: column; }
.hero__fact-num {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.hero__fact-label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-top: 4px;
}

/* 히어로 리스트 */
.hero__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.hero__list li {
  font-size: 16px;
  font-weight: 500;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__list i { color: var(--accent); font-size: 13px; }

/* ══════ 폼 카드 ══════ */
.form-card {
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.form-card__head {
  background: var(--accent);
  padding: 16px 22px;
  color: #fff;
}
.form-card__head h2 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.form-card__head p { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); }
.form-card__head strong { color: #fff; font-weight: 700; }

form { padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 12px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: 15px; font-weight: 600; color: var(--text-sub); }
.req { color: var(--accent); }
.fg input, .fg select {
  border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font); font-size: 16px; font-weight: 500;
  padding: 12px 14px; color: var(--text);
  background: #fafafa; outline: none; transition: border-color .15s;
}
.fg input:focus, .fg select:focus { border-color: var(--accent); background: #fff; }

.phone-group { display: flex; align-items: center; gap: 6px; }
.phone-group input {
  flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font); font-size: 16px; font-weight: 500;
  padding: 12px 4px; text-align: center; color: var(--text);
  background: #fafafa; outline: none; transition: border-color .15s;
}
.phone-group input:focus { border-color: var(--accent); background: #fff; }
.phone-sep { font-size: 16px; color: var(--text-mute); }

.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  cursor: pointer; border: 1px solid var(--border); border-radius: 6px;
  padding: 9px 16px; font-size: 15px; font-weight: 600;
  color: var(--text-sub); background: #fafafa;
  transition: all .12s; user-select: none;
}
.chip input[type="radio"] { display: none; }
.chip:has(input:checked) { border-color: var(--accent); background: var(--accent); color: #fff; }

.agree-line {
  display: flex; gap: 8px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--text-mute); align-items: flex-start;
}
.agree-line input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.tlink { color: var(--accent); text-decoration: underline; font-weight: 600; }
.err { font-size: 13px; color: var(--error); min-height: 14px; font-weight: 500; }

/* 폼 스텝 */
#formStep1, #formStep2 { display: flex; flex-direction: column; gap: 12px; }
.form-btns { display: flex; gap: 8px; }
.btn--prev {
  background: none; border: 1px solid var(--border); color: var(--text-sub);
  font-size: 15px; padding: 15px 20px; border-radius: 8px; white-space: nowrap;
}
.btn--prev:hover { border-color: var(--text-mute); color: var(--text); }
.form-btns .btn--submit { flex: 1; }
.input-error { border-color: var(--error) !important; }

/* ══════ 섹션 타이틀 ══════ */
.sec-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; text-align: center;
  color: var(--text); margin-bottom: 48px;
  letter-spacing: -.3px; line-height: 1.4;
}
.sec-title em { font-style: normal; color: var(--accent); }
.sec-title--light { color: #fff; }
.sec-title--light em { color: var(--accent); }

/* ══════ 대상자 ══════ */
.target { padding: 88px 0; }
.target__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.target__card {
  padding: 36px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.target__card:last-child { border-right: none; }
.target__icon { color: var(--accent); font-size: 32px; margin-bottom: 16px; }
.target__card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.target__card p { font-size: 15px; font-weight: 500; color: var(--text-mute); line-height: 1.7; }

/* ══════ 절차 ══════ */
.steps { background: var(--bg-alt); padding: 88px 0; }
.steps__row {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0;
}
.step { text-align: center; padding: 0 28px; flex: 1; max-width: 220px; }
.step__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--dark); color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step__num { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 6px; display: block; }
.step h3 { font-size: 17px; font-weight: 700; color: var(--text); }
.step__arrow { color: #ccc; font-size: 16px; margin-top: 22px; }

/* ══════ 후기 ══════ */
.reviews { padding: 88px 0; }
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 2px solid var(--text);
}
.review {
  padding: 32px 28px; font-style: normal;
  border-bottom: 1px solid #eee; border-right: 1px solid #eee;
}
.review:nth-child(3n) { border-right: none; }
.review__stars { color: var(--accent); font-size: 15px; letter-spacing: 0; margin-bottom: 12px; }
.review p { font-size: 17px; font-weight: 500; color: var(--text-sub); line-height: 1.75; margin-bottom: 14px; }
.review footer { font-size: 14px; font-weight: 500; color: var(--text-mute); }

/* ══════ 하단 CTA ══════ */
.bottom-cta { background: var(--dark); padding: 64px 0; }
.bottom-cta__inner { text-align: center; }
.bottom-cta h2 { font-size: clamp(22px, 3.5vw, 32px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.bottom-cta p { font-size: 17px; font-weight: 500; color: #666; margin-bottom: 28px; }

/* ══════ 푸터 ══════ */
.footer { background: #080808; padding: 48px 0 24px; }
.footer__top {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.04);
}
.footer__left { display: flex; flex-direction: column; gap: 14px; }
.footer__company p { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.22); line-height: 2; }
.footer__privacy-btn {
  background: none; border: 1px solid rgba(255,255,255,.08); border-radius: 4px;
  color: rgba(255,255,255,.3); font-size: 13px; font-weight: 500; font-family: var(--font);
  padding: 8px 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; width: fit-content;
  transition: color .15s;
}
.footer__privacy-btn:hover { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.15); }
.footer__right { display: flex; align-items: flex-start; }
.footer__warning {
  font-size: 15px; font-weight: 600;
  color: #e74c3c; line-height: 2;
  padding: 20px 22px;
  background: rgba(231,76,60,.04);
  border-left: 3px solid rgba(231,76,60,.3);
}
.footer__warning i { margin-right: 4px; }
.footer__bottom { padding-top: 20px; }
.footer__rate p { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.18); line-height: 2; margin-bottom: 2px; }
.footer__copy { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.08); margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.03); }

/* ══════ 모달 ══════ */
.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.modal {
  background: #fff; border-radius: 12px;
  padding: 48px 40px; text-align: center;
  max-width: 380px; width: 90%;
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.modal__icon { font-size: 48px; margin-bottom: 14px; color: var(--success); }
.modal h3 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.modal p { font-size: 17px; font-weight: 500; color: var(--text-sub); line-height: 1.7; }

.modal--privacy { max-width: 500px; padding: 0; text-align: left; }
.modal__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; border-bottom: 1px solid #eee;
}
.modal__header h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.modal__header i { color: var(--accent); }
.modal__close { background: none; border: none; font-size: 20px; color: var(--text-mute); cursor: pointer; }
.modal__close:hover { color: var(--text); }
.modal__body {
  padding: 24px; font-size: 15px; font-weight: 500; color: var(--text-sub);
  line-height: 2.2; display: flex; flex-direction: column; gap: 4px;
}
.privacy__sub { opacity: .5; margin-top: 6px; }

/* ══════ 카카오 플로팅 ══════ */
.kakao-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 80px; height: 80px; transition: transform .15s;
}
.kakao-float:hover { transform: translateY(-2px); }
.kakao-float img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ══════ 애니메이션 ══════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp .45s ease both; }

/* ══════ 반응형 ══════ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { text-align: center; }
  .hero__facts { justify-content: center; }
  .hero__list { justify-content: center; }
  .form-card { max-width: 440px; margin: 0 auto; }
  .target__grid { grid-template-columns: 1fr 1fr; }
  .target__card:nth-child(2) { border-right: none; }
  .target__card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .reviews__grid { grid-template-columns: 1fr; }
  .review { border-right: none; }
  .header__badge { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 44px 0 56px; }
  .hero__h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero__facts { flex-wrap: wrap; gap: 20px 32px; }
  .hero__fact-num { font-size: 26px; }
  .target__grid { grid-template-columns: 1fr; }
  .target__card { border-right: none; border-bottom: 1px solid var(--border); }
  .target__card:last-child { border-bottom: none; }
  .steps__row { flex-direction: column; gap: 0; }
  .step__arrow { transform: rotate(90deg); }
  .step { max-width: none; padding: 16px 0; }
  .phone-group input { padding: 10px 3px; font-size: 15px; }
}
