/* =========================================================
   대관 문의 페이지 (inquiry.html) — home.css · sub.css 위에 얹어 사용
   ========================================================= */

.req-mark { color: var(--point-ink); font-weight: 900; }

/* 대관 예약 안내 (예약 전 확인사항 3가지) */
.iq-notice {
  max-width: 980px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
  border-top: 2px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}
.iq-notice-head {
  padding: 14px 0 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--point-ink);
}
.iq-notice ol { list-style: none; counter-reset: iq; }
.iq-notice li {
  counter-increment: iq;
  position: relative;
  padding: 14px 0 14px 44px;   /* 왼쪽 번호(01·02·03) 자리 */
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  word-break: keep-all;
}
.iq-notice li + li { border-top: 1px solid var(--line-soft); }
.iq-notice li::before {
  content: counter(iq, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--display);
  font-weight: 900;
  color: var(--point);
}
/* 핵심 문구 — 글자색은 그대로, 형광펜처럼 아래쪽에 옅은 빨간 띠 */
.iq-notice em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(transparent 64%, rgba(214, 48, 49, 0.22) 64%);
  padding: 0 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- 입력 칸 ---------- */
.iq-form { max-width: 980px; }
.iq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px clamp(16px, 2vw, 28px);
}
.iq-field { display: flex; flex-direction: column; gap: 8px; }
.iq-full { grid-column: 1 / -1; }
.iq-lab { font-weight: 700; font-size: 15px; }

.iq-field input,
.iq-field select,
.iq-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;            /* 16px 미만이면 아이폰에서 입력할 때 화면이 확대됨 */
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.iq-field select {
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.iq-field textarea { resize: vertical; min-height: 160px; }
.iq-field input::placeholder,
.iq-field textarea::placeholder { color: #9a9a9a; }
.iq-field input:focus,
.iq-field select:focus,
.iq-field textarea:focus {
  outline: none;
  border-color: var(--point);
  box-shadow: 0 0 0 3px rgba(232, 134, 58, 0.25);
}

/* 스팸 방지 숨김 칸 — 화면 밖으로 */
.iq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 개인정보 동의 ---------- */
.iq-consent {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
}
.iq-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
}
.iq-check input { width: 22px; height: 22px; accent-color: var(--point); flex-shrink: 0; }
.iq-policy { margin-top: 10px; font-size: 14px; color: var(--mute); }
.iq-policy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.iq-policy ul { margin-top: 10px; display: grid; gap: 4px; }
.iq-policy b { color: var(--ink); margin-right: 6px; }

/* ---------- 보내기 ---------- */
.iq-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
.form-submit { height: 56px; padding: 0 32px; font-size: 16px; }
.form-submit[disabled] { opacity: 0.55; cursor: wait; }
.iq-alt { font-size: 14px; color: var(--mute); font-weight: 500; }
.iq-alt a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 결과 안내 메시지 (보낸 뒤에만 나타남) */
.form-msg { display: none; margin-top: 20px; padding: 14px 18px; font-weight: 700; line-height: 1.6; }
.form-msg.show { display: block; }
.form-msg.ok { background: #eaf6ea; border-left: 4px solid #2e8b3d; }
.form-msg.err { background: #fdecec; border-left: 4px solid #c62828; }

/* 상단 '대관 문의' 버튼 — 지금 이 페이지임을 표시 */
.hd-cta[aria-current="page"] { background: var(--ink); color: var(--bg); }

@media (max-width: 760px) {
  .iq-grid { grid-template-columns: 1fr; gap: 20px; }
  .iq-submit-row { flex-direction: column; align-items: stretch; }
  .form-submit { justify-content: center; width: 100%; }
  .iq-alt { text-align: center; }
}
