/* ===============================
   Inquiry Floating Button
================================ */

.inquiry-float-wrap {
    position: fixed;
    right: 20px;
    bottom: 30%;
    z-index: 9998;
    display: block;
}

.inquiry-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 18px 0 14px;
    border: none;
    border-radius: 999px;
    background: #fcc803;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.inquiry-float-btn:hover {
    background: #f5c200;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
}

.inquiry-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: #0f172a;
}

.inquiry-float-svg {
    width: 17px;
    height: 17px;
    display: block;
}

.inquiry-float-svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inquiry-float-text {
    white-space: nowrap;
}

.inquiry-float-arrow {
    font-size: 24px;
    line-height: 1;
    margin-top: -2px;
}


/* ===============================
   Popup Overlay
================================ */

.inquiry-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.inquiry-popup.is-active {
    display: flex;
}

.inquiry-popup-panel {
    position: relative;
    width: 100%;
    max-width: 768px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(16px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.inquiry-popup.is-active .inquiry-popup-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* ===============================
   Close Button
================================ */

.inquiry-popup-close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 20;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.inquiry-popup-close-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.inquiry-popup-close-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inquiry-popup-close:hover {
    background: #fcc803;
    color: #0f172a;
    transform: rotate(90deg);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}


/* ===============================
   Form Box
================================ */

.inquiry-form-box {
    max-width: 768px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d9e3ef;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

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

.inquiry-form-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.inquiry-form-head p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.inquiry-message {
    margin-bottom: 24px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}


/* ===============================
   Form Layout
================================ */

.inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.inquiry-form-full {
    grid-column: span 2;
}

.inquiry-form-item label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
}

.required {
    color: #ef4444;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.inquiry-form input {
    height: 48px;
    padding: 0 16px;
}

.inquiry-form textarea {
    min-height: 120px;
    padding: 16px;
    resize: vertical;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #94a3b8;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: #fcc803;
    box-shadow: 0 0 0 3px rgba(252, 200, 3, 0.22);
}


/* ===============================
   Submit Button
================================ */

.inquiry-submit-btn {
    width: 100%;
    height: 56px;
    border: 1px solid #fcc803;
    border-radius: 8px;
    background: #fcc803;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.inquiry-submit-btn:hover {
    background: #f5c200;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.inquiry-submit-btn:active {
    transform: translateY(1px);
}


/* ===============================
   Mobile
================================ */

@media (max-width: 767px) {
    .inquiry-float-wrap {
        display: none;
    }

    .inquiry-popup {
        padding: 0 14px;
    }

    .inquiry-popup-panel {
        max-height: 88vh;
    }

    .inquiry-form-box {
        padding: 32px 20px 24px;
        border-radius: 12px;
    }

    .inquiry-form-head {
        margin-bottom: 28px;
    }

    .inquiry-form-head h2 {
        font-size: 24px;
    }

    .inquiry-form-head p {
        font-size: 14px;
    }

    .inquiry-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .inquiry-form-full {
        grid-column: span 1;
    }

    .inquiry-submit-btn {
        height: 52px;
        font-size: 16px;
    }
}