/* =====================================================
   SHARED ENQUIRY FORM STYLES
   Used by: contact.php form + enquiry modal popup
   ===================================================== */

/* ── Form wrapper ──────────────────────────────── */
.lm-enq-form {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.09);
    font-family: 'Poppins', sans-serif;
    width: 100%;
}
.lm-enq-form__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.lm-enq-form__subtitle {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 26px;
}

/* ── Field groups ──────────────────────────────── */
.lm-enq-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.lm-enq-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.lm-enq-form__group.full {
    grid-column: 1 / -1;
}
.lm-enq-form__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #444;
}

/* ── Inputs & textarea ─────────────────────────── */
.lm-enq-form__input,
.lm-enq-form__textarea,
.lm-enq-form__select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    color: #1a1a2e;
    background: #fafafa;
    outline: none;
    transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
    -webkit-appearance: none;
    appearance: none;
}
.lm-enq-form__input::placeholder,
.lm-enq-form__textarea::placeholder {
    color: #bbb;
    font-size: 0.85rem;
}
.lm-enq-form__input:focus,
.lm-enq-form__textarea:focus,
.lm-enq-form__select:focus {
    border-color: #f15d30;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(241,93,48,0.10);
}
.lm-enq-form__textarea {
    resize: vertical;
    min-height: 90px;
    max-height: 200px;
}

/* Input with icon wrapper */
.lm-enq-form__input-wrap {
    position: relative;
}
.lm-enq-form__input-wrap i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 0.82rem;
    pointer-events: none;
    transition: color 0.2s;
}
.lm-enq-form__input-wrap .lm-enq-form__input {
    padding-left: 36px;
}
.lm-enq-form__input-wrap:focus-within i {
    color: #f15d30;
}

/* ── Submit button ─────────────────────────────── */
.lm-enq-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 24px;
    margin-top: 6px;
    background: linear-gradient(135deg, #f15d30 0%, #d44a20 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(241,93,48,0.30);
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}
.lm-enq-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(241,93,48,0.42);
    background: linear-gradient(135deg, #e04520 0%, #c73a10 100%);
}
.lm-enq-form__submit:active {
    transform: translateY(0);
}

/* ── Form Message ──────────────────────────────── */
.lm-enq-form__msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.lm-enq-form__msg.success {
    background: #eef6f1;
    color: #1a4731;
    border: 1px solid #c6dece;
}
.lm-enq-form__msg.error {
    background: #fff0eb;
    color: #d44a20;
    border: 1px solid #fbd2c5;
}

/* ── Enquiry Modal ─────────────────────────────── */
.lm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,18,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lm-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.lm-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.lm-modal-overlay.active .lm-modal {
    transform: translateY(0) scale(1);
}
.lm-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #eee;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    font-size: 0.9rem;
    transition: all 0.2s;
    z-index: 1;
}
.lm-modal__close:hover {
    background: #fff0eb;
    border-color: #f15d30;
    color: #f15d30;
}
.lm-modal .lm-enq-form {
    border-radius: 20px;
    box-shadow: none;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 576px) {
    .lm-enq-form {
        padding: 24px 18px;
    }
    .lm-enq-form__row {
        grid-template-columns: 1fr;
    }
}
