/* junhee-contact.css — 홈 Contact Us(현업 의견·건의 접수) 섹션. home.css 는 수정하지 않고 이 파일에서만 꾸민다.
   홈 디자인(Noto Sans KR, .button-blue, 카드 radius 10~12px, --ink/--muted/--line 토큰)에 맞춘다. 모바일은 1열. */
#contact {
  scroll-margin-top: 10px; /* html 의 scroll-padding-top(95px)에 더해져 고정 헤더 아래에 멈춘다 */
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-top: 1px solid #edf0f5;
}
.junhee-contact .contact-heading {
  align-items: flex-end;
}
.junhee-contact .contact-heading h2 {
  color: #182f44;
  letter-spacing: -0.055em;
}
.junhee-contact .contact-heading .section-description {
  max-width: 440px;
}
.contact-form {
  background: #fff;
  border: 1px solid #e2e8f1;
  border-radius: 12px;
  padding: 36px 40px 30px;
  box-shadow: 0 9px 27px #152d5610;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.contact-field-full {
  grid-column: 1 / -1;
}
.contact-field > span {
  font-size: 12px;
  font-weight: 650;
  color: #2c3d52;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.contact-field em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  color: #326bff;
  background: #edf3ff;
  border-radius: 999px;
  padding: 1px 7px;
}
.contact-field em.optional {
  color: #6e7b8e;
  background: #f1f4f8;
}
.contact-field small {
  margin-left: auto;
  font-size: 11px;
  color: #8a97a8;
  font-weight: 500;
}
.contact-field small.over {
  color: #d7263d;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  font: inherit;
  font-size: 14px;
  color: #18263a;
  background: #fbfcfe;
  border: 1px solid #d9e0ea;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 46px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.7;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: #326bff;
  box-shadow: 0 0 0 4px #326bff22;
}
.contact-field.invalid input,
.contact-field.invalid select,
.contact-field.invalid textarea {
  border-color: #d7263d;
  box-shadow: 0 0 0 4px #d7263d1a;
}
.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #4a5a6e;
  line-height: 1.7;
  padding: 12px 14px;
  background: #f7f9fc;
  border: 1px solid #e5eaf2;
  border-radius: 10px;
}
.contact-consent input {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  accent-color: #326bff;
  flex-shrink: 0;
}
.contact-consent em {
  font-style: normal;
  color: #8a97a8;
}
.contact-consent.invalid {
  border-color: #d7263d;
}
/* 스팸 방지용 숨김 입력 (사람은 보지 못하고 채우지도 않는다) */
.contact-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.contact-status {
  font-size: 13px;
  line-height: 1.6;
  color: #4a5a6e;
  min-height: 1.6em;
  flex: 1 1 260px;
}
.contact-status.ok {
  color: #0f7a4f;
  font-weight: 650;
}
.contact-status.error {
  color: #d7263d;
  font-weight: 600;
}
.contact-actions .button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.contact-note {
  margin-top: 18px;
  font-size: 11px;
  color: #94a0b1;
  line-height: 1.7;
}
@media (max-width: 850px) {
  .junhee-contact .contact-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .contact-form {
    padding: 26px 22px 22px;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-actions .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    transition: none;
  }
}
