/* FAQ */
.faq-content {
  max-width: 900px;
}

.faq-head {
  text-align: center;
  margin-bottom: 40px;
}

.faq-head .ko {
  font-size: clamp(32px, 3.4vw, 42px);
  color: #e8890c;
}

.faq-head .en {
  margin-top: 8px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--color-navy);
}

.faq-head .line {
  margin: 18px auto 0;
  width: 40px;
  height: 2px;
  background: #e8890c;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  word-break: keep-all;
}

.faq-question:hover {
  color: #e8890c;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.7;
  word-break: keep-all;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.faq-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  background: #ff8c02;
  background: linear-gradient(
    90deg,
    rgba(255, 140, 2, 1) 0%,
    rgba(255, 179, 71, 1) 100%
  );
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-modal[hidden] {
  display: none !important;
}

.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.faq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 27, 62, 0.55);
}

.faq-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px 24px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(1, 27, 62, 0.2);
}

.faq-modal-title {
  margin-bottom: 20px;
  color: var(--color-navy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.faq-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
}

.faq-modal-close:hover {
  background: #f3f4f6;
  color: var(--color-navy);
}

.faq-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.faq-field label {
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.faq-field input,
.faq-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  font: inherit;
  color: var(--color-navy);
  background: #fff;
}

.faq-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.faq-field input:focus,
.faq-field textarea:focus {
  outline: 2px solid rgba(255, 140, 2, 0.35);
  border-color: #ff8c02;
}

.faq-submit {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border-radius: 10px;
  background: var(--color-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.faq-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.faq-form-msg {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}

.faq-form-msg.is-error {
  color: #c62828;
}

.faq-form-msg.is-ok {
  color: #1b7f3a;
}

body.faq-modal-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .faq-question {
    padding: 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 14px;
  }
}
