/* =====================================================================
   도입문의 페이지 상단 — 인트로 + 진행 절차 4단계 (Figma node 3452-14042)
===================================================================== */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 120px;
}

.contact-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 120px max(var(--pad-x), calc((100% - 1400px) / 2)) 60px;
  text-align: center;
}
.contact-intro-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.contact-intro-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  border-radius: 999px;
  border: 1.2px solid #3cc8a1;
  background: #e8f9f4;
  color: #29a984;
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.contact-intro-title {
  font-family: 'SUIT', sans-serif;
  font-size: 47px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.61px;
  color: #111111;
  word-break: keep-all;
}
.contact-intro-desc {
  font-family: 'SUIT', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.72;
  color: #777777;
  word-break: keep-all;
}

.contact-steps {
  position: relative;
  width: 100%;
  max-width: 980px;
  display: flex;
}
.contact-steps-line {
  position: absolute;
  top: 24.5px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #e4edf5;
  z-index: 0;
}
.contact-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
}
.contact-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  border: 2.4px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-family: 'SUIT', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 17px;
}
.contact-step-title {
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 6px;
}
.contact-step-desc {
  font-family: 'SUIT', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  color: #aaaaaa;
}

@media (max-width: 900px) {
  .contact-intro { padding: 60px max(var(--pad-x), calc((100% - 1400px) / 2)) 40px; gap: 40px; }
  .contact-intro-title { font-size: 30px; }
  .contact-intro-desc { font-size: 15px; }
  .contact-steps { flex-wrap: wrap; row-gap: 32px; }
  .contact-steps-line { display: none; }
  .contact-step { flex: 1 1 45%; }
}

/* =====================================================================
   담당자 도입 효과 카드 4종 (Figma node 3452-14087)
===================================================================== */
.contact-benefits {
  width: 100%;
  padding: 140px max(var(--pad-x), calc((100% - 1400px) / 2)) 100px;
  text-align: center;
}
.contact-benefits-title {
  font-family: 'SUIT', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.32px;
  color: #000000;
  margin-bottom: 8px;
}
.contact-benefits-subtitle {
  font-family: 'SUIT', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #aaaaaa;
  margin-bottom: 40px;
}
.contact-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 890px;
  margin: 0 auto;
}
.contact-benefit-card {
  text-align: left;
  padding: 29px;
  border-radius: 20px;
  border: 1.8px solid #eef2f6;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}
.contact-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e8f9f4;
  color: var(--blue);
  margin-bottom: 17px;
}
.contact-benefit-icon svg {
  width: 22px;
  height: 22px;
}
.contact-benefit-title {
  font-family: 'SUIT', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}
.contact-benefit-desc {
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.63;
  color: #888888;
  word-break: keep-all;
}
.contact-benefit-stat {
  margin-top: 12px;
  font-family: 'SUIT', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  word-break: keep-all;
}

@media (max-width: 900px) {
  .contact-benefits { padding: 80px max(var(--pad-x), calc((100% - 1400px) / 2)) 60px; }
  .contact-benefits-title { font-size: 26px; }
  .contact-benefits-subtitle { font-size: 15px; margin-bottom: 28px; }
  .contact-benefits-grid { grid-template-columns: 1fr; }
  .contact-benefit-card { padding: 24px; }
}

/* =====================================================================
   도입 전 걱정되는 점 Q&A 4종 (Figma node 3452-14135)
===================================================================== */
.contact-concerns {
  width: 100%;
  padding: 80px max(var(--pad-x), calc((100% - 1400px) / 2)) 100px;
  text-align: center;
}
.contact-concerns-title {
  font-family: 'SUIT', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.32px;
  color: #000000;
  margin-bottom: 10px;
}
.contact-concerns-subtitle {
  font-family: 'SUIT', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #aaaaaa;
  margin-bottom: 40px;
}
.contact-concerns-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 890px;
  margin: 0 auto;
}
.contact-concern {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 27px;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  text-align: left;
}
.contact-concern-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff0e8;
  color: #e07030;
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 800;
}
.contact-concern-body {
  flex: 1;
  min-width: 0;
}
.contact-concern-q {
  font-family: 'SUIT', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  word-break: keep-all;
}
.contact-concern-a {
  margin-top: 7px;
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #888888;
  word-break: keep-all;
}

@media (max-width: 900px) {
  .contact-concerns { padding: 80px max(var(--pad-x), calc((100% - 1400px) / 2)) 60px; }
  .contact-concerns-title { font-size: 26px; }
  .contact-concerns-subtitle { font-size: 15px; margin-bottom: 28px; }
  .contact-concern { gap: 14px; padding: 18px; }
}

/* =====================================================================
   도입문의 폼 카드 (Figma node 3452-14174)
===================================================================== */
.contact-wrap {
  width: 100%;
  max-width: 890px;
}

.contact-form-card {
  width: 100%;
  padding: 52px 52px 44px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid #e4edf5;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.contact-form-head {
  text-align: center;
  margin-bottom: 39px;
}
.contact-form-title {
  font-family: 'SUIT', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #111111;
}
.contact-form-subtitle {
  margin-top: 7px;
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #aaaaaa;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #444444;
}
.req {
  color: #e07030;
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid #e0e6ee;
  border-radius: 12px;
  padding: 17px;
  font-size: 15px;
  font-family: 'SUIT', sans-serif;
  color: var(--black);
  background: #fafbfd;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-input {
  height: 56px;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(17, 17, 17, 0.5);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-textarea {
  resize: vertical;
  min-height: 117px;
  line-height: 1.5;
}
.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #e5484d;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #d8dfe8;
  background: var(--white);
  color: #373737;
  font-family: 'SUIT', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.choice-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.choice-btn.is-selected {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'SUIT', sans-serif;
  font-size: 14px;
  color: #999999;
  line-height: 1.5;
  cursor: pointer;
}
.form-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.8px solid #d0d8e4;
  background: var(--white);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-checkbox input:checked {
  background: var(--blue);
  border-color: var(--blue);
}
.form-checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent-row {
  margin-bottom: 18px;
}
.privacy-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--black);
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}

.alert-modal-message.is-success {
  color: var(--blue);
}
.alert-modal-message.is-error {
  color: #e5484d;
}

.form-submit-btn {
  width: 100%;
  height: 63px;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: var(--white);
  font-family: 'SUIT', sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 19px rgba(60, 200, 161, 0.27);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(60, 200, 161, 0.35);
}
.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-urgent {
  margin-top: 24px;
  text-align: center;
  font-family: 'SUIT', sans-serif;
  font-size: 13px;
  color: #bbbbbb;
}
.contact-urgent a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.contact-urgent a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-form-card { padding: 32px 24px; border-radius: 20px; }
  .contact-form-title { font-size: 20px; }
  .contact-form-head { margin-bottom: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ── 개인정보 처리방침 모달 ── */
.privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.privacy-modal.is-open {
  display: flex;
}
.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.5);
}
.privacy-modal-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
}
.privacy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.privacy-modal-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}
.privacy-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f2f2f2;
  color: var(--black);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.privacy-modal-close:hover {
  background: #e5e5e5;
}
.privacy-modal-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dark);
}
.privacy-modal-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 8px;
}
.privacy-modal-body h3:first-child {
  margin-top: 0;
}
.privacy-modal-body p {
  margin-bottom: 4px;
}

/* ── 필수 입력 안내 알럿 모달 ── */
.alert-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.alert-modal.is-open {
  display: flex;
}
.alert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.5);
}
.alert-modal-panel {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px 24px;
  text-align: center;
}
.alert-modal-message {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 24px;
}
.alert-modal-confirm {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.alert-modal-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(2, 165, 144, 0.3);
}

@media (max-width: 640px) {
  .contact-page { padding: 48px 20px 96px; }
  .contact-form { gap: 24px; }
  .privacy-modal-panel { padding: 24px; }
}
