/* ============================================================
   Floating contact buttons + Enquiry popups + form states
   Brand: gold gradient (#D4AF37 -> #F5B841) on dark (#0C0F16 / #101820)
   ============================================================ */

/* ---------- Floating buttons ---------- */
.enq-float {
    position: fixed;
    right: 18px;
    top: 65%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9990;
}

.enq-float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.enq-float-btn svg {
    width: 26px;
    height: 26px;
    display: block;
}

.enq-float-btn:hover,
.enq-float-btn:focus-visible {
    transform: scale(1.1);
    box-shadow: 0 0 18px rgba(245, 184, 65, 0.45);
    outline: none;
}

.enq-float-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.enq-float-email {
    background: linear-gradient(135deg, #D4AF37, #F5B841);
    color: #0C0F16;
}

.enq-float-call {
    background: linear-gradient(135deg, #1A1F2E, #0C0F16);
    color: #F5B841;
    border: 2px solid #D4AF37;
}

@media (max-width: 768px) {
    .enq-float {
        right: 10px;
        gap: 10px;
    }

    .enq-float-btn {
        width: 44px;
        height: 44px;
    }

    .enq-float-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ---------- Popup overlay ---------- */
html.enq-lock,
html.enq-lock body {
    overflow: hidden;
}

.enq-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(5, 7, 12, 0.78);
    backdrop-filter: blur(4px);
    animation: enqFade 0.2s ease;
}

.enq-overlay[hidden] {
    display: none;
}

@keyframes enqFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes enqRise {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.enq-modal {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    background: #101820;
    color: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-top: 4px solid #D4AF37;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    padding: 22px 22px 20px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
    text-align: left;
    animation: enqRise 0.25s ease;
}

.enq-modal-lg {
    max-width: 580px;
}

.enq-modal *,
.enq-form * {
    box-sizing: border-box;
}

.enq-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #B0B0B0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.enq-close svg {
    width: 16px;
    height: 16px;
}

.enq-close:hover,
.enq-close:focus-visible {
    background: #D4AF37;
    color: #0C0F16;
    outline: none;
}

.enq-head {
    padding-right: 30px;
    margin-bottom: 14px;
}

.enq-modal .enq-head h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
    color: #F5B841;
    margin: 0 0 4px;
}

.enq-head p {
    margin: 0;
    font-size: 0.85rem;
    color: #B0B0B0;
}

/* ---------- Popup form fields ---------- */
.enq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.enq-full {
    grid-column: 1 / -1;
}

.enq-modal .enq-input {
    display: block;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.92rem;
    color: #FFFFFF;
    background: #1A1F2E;
    border: 1px solid #2E2E2E;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.enq-modal textarea.enq-input {
    height: 72px;
    padding: 10px 12px;
    resize: none;
}

.enq-modal select.enq-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D4AF37' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.enq-modal select.enq-input:has(option[value=""]:checked) {
    color: #8a8f99;
}

.enq-modal select.enq-input option {
    background: #101820;
    color: #FFFFFF;
}

.enq-modal .enq-input::placeholder {
    color: #8a8f99;
}

.enq-modal .enq-input:focus {
    outline: none;
    border-color: #F5B841;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.enq-form .enq-invalid,
.enq-modal .enq-input.enq-invalid {
    border-color: #ff6b6b;
}

.enq-submit {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 14px;
    padding: 0 20px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg, #D4AF37, #F5B841);
    color: #0C0F16;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.enq-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.enq-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

/* Screen-reader only labels */
.enq-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Honeypot - off screen */
.enq-hp {
    position: absolute !important;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Error + Thank You (popups and page forms) ---------- */
.enq-form {
    position: relative;
}

.enq-error {
    margin: 10px 0 0;
    padding: 8px 12px;
    font-size: 0.85rem;
    line-height: 1.35;
    color: #ffb4b4;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.45);
    border-radius: 6px;
}

.enq-error[hidden] {
    display: none;
}

.enq-success {
    text-align: center;
    padding: 18px 6px 6px;
    animation: enqRise 0.3s ease;
}

.enq-done .enq-head {
    display: none;
}

.enq-success[hidden] {
    display: none;
}

.enq-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D4AF37, #F5B841);
    color: #0C0F16;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.enq-success-icon svg {
    width: 32px;
    height: 32px;
}

.enq-success h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #F5B841;
    margin: 0 0 8px;
}

.enq-success p {
    margin: 0 auto 18px;
    max-width: 340px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #B0B0B0;
}

.enq-success .enq-submit {
    display: inline-block;
    width: auto;
    min-width: 140px;
    margin-top: 0;
}

/* ---------- Bigger screens: Email form fields in pairs ---------- */
@media (min-width: 600px) {
    .enq-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Very small screens: tighter spacing ---------- */
@media (max-width: 360px), (max-height: 600px) {
    .enq-overlay {
        padding: 8px;
    }

    .enq-modal {
        max-height: calc(100vh - 16px);
        padding: 16px 14px 14px;
    }

    .enq-head {
        margin-bottom: 10px;
    }

    .enq-modal .enq-head h3 {
        font-size: 1.1rem;
    }

    .enq-head p {
        font-size: 0.78rem;
    }

    .enq-grid {
        gap: 7px;
    }

    .enq-modal .enq-input {
        height: 38px;
        font-size: 0.88rem;
    }

    .enq-modal textarea.enq-input {
        height: 58px;
        padding: 8px 12px;
    }

    .enq-submit {
        height: 40px;
        margin-top: 10px;
    }
}
