.qef-wrapper {
    max-width: 820px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
}
.qef-form .qef-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    margin-bottom: 18px;
}
.qef-form .qef-cell-full {
    grid-column: 1 / -1;
}
.qef-form .qef-cell-half {
    grid-column: span 1;
}
.qef-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    color: #1a1a1a;
}
.qef-form label .req {
    color: #e11d1d;
}
.qef-form input[type="text"],
.qef-form input[type="email"],
.qef-form input[type="tel"],
.qef-form input[type="number"],
.qef-form input[type="url"],
.qef-form textarea,
.qef-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    font-family: "Montserrat", sans-serif;
}
.qef-form textarea {
    resize: vertical;
}
.qef-form input:focus,
.qef-form select:focus,
.qef-form textarea:focus {
    outline: none;
    border-color: #e11d1d;
    box-shadow: 0 0 0 2px rgba(225,29,29,0.15);
}
.qef-form .qef-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}
.qef-form .qef-checkbox-label input {
    width: auto;
}
.qef-form .qef-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}
.qef-form .qef-submit {
    width: 100%;
    background: #e11d1d;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s ease;
    text-transform:uppercase;
}
.qef-form .qef-submit:hover {
    background: #c81616;
}
.qef-form .qef-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.qef-form .qef-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.qef-form .qef-message.success {
    background: #e9f9ee;
    color: #16803c;
    border: 1px solid #bdeecb;
}
.qef-form .qef-message.error {
    background: #fdeaea;
    color: #b91c1c;
    border: 1px solid #f6c2c2;
}
@media (max-width: 640px) {
    .qef-form .qef-grid {
        grid-template-columns: 1fr;
    }
    .qef-form .qef-cell-half {
        grid-column: 1 / -1;
    }
}
