/* 도입 문의 페이지 — 레스토지니 홈페이지 문의 폼과 같은 항목·흐름 (2026-12) */
#header { background-color: #fff; border-bottom: 1px solid #ddd; }
.contact-container {
  max-width: 1200px; margin: 0 auto; padding: 220px 20px 120px;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start;
  word-break: keep-all; color: #222; font-family: "Pretendard", sans-serif;
}
.contact-intro { position: sticky; top: 140px; }
.contact-tag { display: inline-block; font-size: 13px; font-weight: 600; color: #5e5e5e; border: 1px solid #ddd; border-radius: 999px; padding: 6px 12px; }
.contact-intro h1 { font-size: 40px; font-weight: 700; margin: 18px 0 14px; }
.contact-desc { font-size: 17px; line-height: 1.7; color: #5e5e5e; }
.contact-steps { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid #e5e5e5; }
.contact-steps li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; padding: 16px 0; border-bottom: 1px solid #e5e5e5; }
.contact-steps span { grid-row: span 2; font-weight: 700; color: #ababab; font-size: 15px; }
.contact-steps strong { font-size: 16px; }
.contact-steps em { font-style: normal; font-size: 14px; color: #71727a; margin-top: 2px; }

.contact-form-wrap form, .success { border: 1px solid #e5e5e5; border-radius: 16px; padding: 32px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.contact-form-wrap .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: #333; }
.field.full { margin-top: 20px; }
.field b { color: #e5484d; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: #222; background: #fff;
  border: 1px solid #d9d9d9; border-radius: 8px; padding: 12px 14px; width: 100%; box-sizing: border-box;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #222; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.field [aria-invalid="true"] { border-color: #e5484d; }
.notice { margin-top: 24px; background: #f9f9f9; border-radius: 10px; padding: 18px 20px; font-size: 13px; color: #5e5e5e; line-height: 1.6; }
.notice-title { font-weight: 700; color: #333; margin: 0 0 8px; }
.notice dl { display: grid; grid-template-columns: 72px 1fr; gap: 4px 12px; margin: 0; }
.notice dt { font-weight: 600; color: #333; }
.notice dd { margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: #333; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #222; }
.check a { color: #5e5e5e; text-decoration: underline; margin-left: 4px; }
.error { margin: 16px 0 0; color: #e5484d; font-size: 14px; }
.submit { margin-top: 24px; width: 100%; height: 54px; border: 0; border-radius: 8px; background: #222; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.submit:disabled { opacity: .6; cursor: wait; }
.submit.ghost { background: #fff; color: #222; border: 1px solid #222; width: auto; padding: 0 28px; }
.success { text-align: center; padding: 48px 32px; }
.success .mark { font-size: 32px; margin: 0; }
.success h2 { font-size: 20px; margin: 8px 0 12px; }
.success p { color: #5e5e5e; }

@media (max-width: 1024px) {
  .contact-container { grid-template-columns: 1fr; gap: 40px; padding-top: 160px; }
  .contact-intro { position: static; }
}
@media (max-width: 640px) {
  .contact-container { padding: 120px 16px 80px; }
  .contact-intro h1 { font-size: 30px; }
  .contact-form-wrap form, .success { padding: 22px 18px; }
  .contact-form-wrap .grid { grid-template-columns: 1fr; }
}
