/* 문의하기 모달 */

body.iq-open { overflow: hidden; }

.iq-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}

.iq-modal {
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
    animation: iqPop .18s ease-out;
}

@keyframes iqPop {
    from { transform: translateY(12px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.iq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
}
.iq-title { font-size: 18px; font-weight: 800; color: #0f172a; }
.iq-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
}
.iq-close:hover { color: #475569; }

.iq-body {
    padding: 20px 22px;
    overflow-y: auto;
}
.iq-desc { font-size: 13px; color: #64748b; margin: 0 0 16px; }

.iq-field { margin-bottom: 14px; }
.iq-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.iq-req { color: #ef4444; }
.iq-field input,
.iq-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    font-family: inherit;
}
.iq-field textarea { min-height: 96px; resize: vertical; }
.iq-field input:focus,
.iq-field textarea:focus {
    outline: none;
    border-color: #6d28d9;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, .15);
}

.iq-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.iq-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    margin-top: 4px;
}
.iq-agree input { width: 16px; height: 16px; accent-color: #6d28d9; }

/* 허니팟 — 화면 밖 숨김 (봇 탐지) */
.iq-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.iq-msg {
    margin-top: 12px;
    font-size: 13px;
    color: #b91c1c;
    min-height: 18px;
}

.iq-footer {
    display: flex;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid #e2e8f0;
}
.iq-btn {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}
.iq-btn.primary { background: #6d28d9; color: #fff; }
.iq-btn.primary:hover:not(:disabled) { background: #5b21b6; }
.iq-btn.primary:disabled { opacity: .6; cursor: not-allowed; }
.iq-btn.secondary { background: #f1f5f9; color: #475569; }
.iq-btn.secondary:hover { background: #e2e8f0; }

.iq-done {
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.iq-done-msg { font-size: 15px; font-weight: 600; color: #0f172a; line-height: 1.6; }
.iq-done .iq-btn { flex: none; min-width: 140px; }

@media (max-width: 480px) {
    .iq-row2 { grid-template-columns: 1fr; }
}
