/* Captcha */
.captcha-field {
  margin-bottom: 10px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-image {
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  display: block;
}

.captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
  transition: color .12s, border-color .12s;
  flex-shrink: 0;
}

.captcha-refresh:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Contact / Fitting 공용 폼 */
.contact-form {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 16px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

input[type="text"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 8px 9px;
  font-family: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-consent {
  margin: 8px 0 10px;
  color: var(--muted);
}

.form-consent input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  vertical-align: middle;
  cursor: pointer;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.required {
  color: #c25050;
}

.form-hint {
  color: var(--muted);
}

.form-result {
  padding: 14px 18px;
  border-radius: 10px;
  line-height: 1.5;
}

.form-result-success {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(34, 139, 34, 0.18);
}

.form-result-success p {
  margin: 0 0 10px;
}

.form-result-success p:last-child {
  margin-bottom: 0;
}

.form-result-success .form-result-title {
  font-weight: 600;
  margin-bottom: 14px;
}

.form-result-success a {
  color: inherit;
  text-decoration: underline;
}

.form-result-error {
  background: rgba(200, 50, 50, 0.08);
  color: #a03030;
  border: 1px solid rgba(200, 50, 50, 0.18);
}

/* 섹션 설명 텍스트 */
.section-desc {
  margin: 0 0 20px;
  color: var(--muted);
}

/* Kakao section */
.kakao-box {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.kakao-text {
  color: var(--muted);
}

.kakao-text p {
  margin-top: 0;
  margin-bottom: 6px;
}

.kakao-text ul {
  margin: 0;
  padding-left: 16px;
}

.kakao-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.kakao-note {
  margin: 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 720px) {
  .form-row {
    flex-direction: column;
  }
  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .kakao-box {
    flex-direction: column;
  }
  .kakao-actions {
    align-items: flex-start;
  }
}
