/* ── Footer ── */
footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; }
.footer-logo { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.footer-sub { font-size: 14px; color: var(--text-tertiary); }
.footer-links { display: flex; gap: 32px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-secondary); }
.footer-col a:hover { text-decoration: underline; }
.footer-copy { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-tertiary); }

/* ── Bottom Bar ── */
.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: rgba(30,24,64,0.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); transform: translateY(100%);
  animation: slideUp 0.4s 0.3s both; display: none;
}
.bottom-bar.visible { display: block; }
.bb-collapsed { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.bb-label { display: flex; flex-direction: column; flex-shrink: 0; }
.bb-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.bb-desc { font-size: 14px; color: var(--text-tertiary); }
.bb-input {
  flex: 1; padding: 12px 16px; font-size: 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-sub); color: var(--text-secondary); outline: none; cursor: pointer; font-family: inherit;
}
.bb-input::placeholder { color: var(--text-secondary); }
.bb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.bb-btn { padding: 12px 20px; font-size: 14px; }
.bb-kakao { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 14px; font-weight: 600; border-radius: 8px; background: #F7E600; color: #3C1E1E; }
.bb-phone { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 14px; font-weight: 600; border-radius: 8px; border: 1px solid var(--border); color: var(--text-primary); }
.bb-expanded { padding: 20px 0; }
.bb-expanded-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.bb-close { font-size: 14px; color: var(--text-tertiary); }
.bb-form-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.bb-form-row input, .bb-form-row select, .bb-expanded textarea {
  padding: 12px 16px; font-size: 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-sub); color: var(--text-primary); outline: none; font-family: inherit; width: 100%;
}
.bb-form-row input::placeholder, .bb-expanded textarea::placeholder { color: var(--text-secondary); }
.bb-form-row select { color: var(--text-secondary); }
.bb-form-row select option { background: var(--bg-sub); color: var(--text-primary); }
@media (max-width: 767px) {
  .bb-collapsed { flex-wrap: wrap; }
  .bb-input { order: 3; width: 100%; }
  .bb-kakao, .bb-phone { display: none; }
  .bb-form-row { grid-template-columns: 1fr; }
}

/* ── Floating ── */
.floating-btns {
  position: fixed; z-index: 50; bottom: 100px; right: 24px;
  display: none; flex-direction: column; align-items: center; gap: 12px;
}
.floating-btns.visible { display: flex; animation: fadeIn 0.4s both; }
.fab { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform 0.2s; }
.fab:hover { transform: scale(1.05); }
.fab-phone { background: #4CAF50; color: #fff; box-shadow: 0 2px 12px rgba(76,175,80,0.4); }
.fab-kakao { background: #FEE500; color: #3C1E1E; box-shadow: 0 2px 12px rgba(254,229,0,0.4); }
.fab-kakao-text { font-size: 13px; font-weight: 900; letter-spacing: -0.5px; color: #3C1E1E; }
.fab-insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; box-shadow: 0 2px 12px rgba(214,36,159,0.4); font-size: 22px; }
.fab-blog { background: #03C75A; color: #fff; box-shadow: 0 2px 12px rgba(3,199,90,0.4); }
.fab-blog-text { font-size: 12px; font-weight: 800; letter-spacing: -0.3px; color: #fff; }

.fab-top { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.15); color: #FFFFFF; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: flex-start; justify-content: flex-start; padding: 20vh 0 0 10vw;
  background: rgba(0,0,0,0.5); animation: fadeIn 0.3s both;
}
.modal-overlay.open { display: flex; }
.modal {
  width: 100%; max-width: 384px; border-radius: 16px; padding: 28px;
  background: var(--bg-card); box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative; animation: modalIn 0.35s cubic-bezier(0.25,0.1,0.25,1) both;
}
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 16px; color: var(--text-tertiary); }
.modal-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.modal-badge { padding: 4px 12px; font-size: 12px; font-weight: 600; border-radius: 50px; background: var(--btn-gradient); color: var(--bg-main); }
.modal-date { font-size: 12px; font-weight: 500; color: var(--brand-dark); }
.modal-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.modal-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.modal-progress { margin-bottom: 24px; }
.modal-progress-header { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; }
.modal-progress-header span:first-child { color: var(--text-secondary); }
.modal-progress-count { font-weight: 600; color: var(--brand-light); }
.modal-bar { height: 8px; border-radius: 50px; background: var(--bg-sub); }
.modal-bar-fill { height: 100%; border-radius: 50px; background: var(--btn-gradient); animation: barFill 1s 0.3s cubic-bezier(0.25,0.1,0.25,1) both; }
.modal-cta { width: 100%; margin-bottom: 16px; }
.modal-actions { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--text-tertiary); }
.modal-actions button:hover { text-decoration: underline; }

/* ── Common CTA ── */
.section-cta { padding: 80px 0; }
.cta-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 48px; overflow: hidden; position: relative; }
.cta-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--btn-gradient); }
.cta-inner { display: flex; gap: 48px; align-items: center; }
.cta-left { flex: 1; }
.cta-right { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 240px; }
.cta-eyebrow { font-size: 13px; font-weight: 600; color: var(--brand-dark); margin-bottom: 12px; }
.cta-title { font-size: clamp(22px, 3vw, 28px); font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 12px; }
.cta-sub { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.cta-progress { width: 100%; }
.cta-progress-bar { height: 6px; border-radius: 50px; background: var(--bg-sub); margin-bottom: 8px; }
.cta-progress-fill { height: 100%; width: 30%; border-radius: 50px; background: var(--btn-gradient); }
.cta-progress-info { display: flex; justify-content: space-between; font-size: 12px; }
.cta-progress-count { font-weight: 600; color: var(--brand-light); }
.cta-progress-remain { color: var(--text-secondary); }
.cta-btn-main { width: 100%; padding: 16px; font-size: 15px; text-align: center; }
.btn-cta-kakao { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-size: 14px; font-weight: 600; border-radius: 8px; background: #F7E600; color: #3C1E1E; transition: opacity 0.2s; }
.btn-cta-kakao:hover { opacity: 0.9; }
.cta-disclaimer { font-size: 11px; color: var(--text-secondary); text-align: center; line-height: 1.5; margin-top: 4px; }
.cta-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-trust-item { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.cta-trust-item i { color: var(--brand-light); font-size: 11px; }

@media (max-width: 767px) {
  .cta-box { padding: 32px 24px; }
  .cta-inner { flex-direction: column; gap: 32px; }
  .cta-right { width: 100%; min-width: unset; }
}

/* ── Responsive Footer ── */
@media (max-width: 767px) { .footer-inner { flex-direction: column; } }

/* 푸터 로고 이미지 */
.footer-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* 푸터 SNS */
.footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-sns a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 14px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-sns a:hover {
  color: var(--brand-light);
  border-color: var(--brand-light);
}
.fab-sms { background: #2196F3; color: #fff; box-shadow: 0 2px 12px rgba(33,150,243,0.4); }
