/* BA Enquiry Card – polished styles, while preserving all five original themes. */
.ba-enquiry-wrapper {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    font-family: inherit;
    box-sizing: border-box;
}
.ba-enquiry-wrapper *,
.ba-enquiry-wrapper *::before,
.ba-enquiry-wrapper *::after { box-sizing: border-box; }

.ba-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    border-radius: 20px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.ba-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 13px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none !important;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.ba-btn:hover { transform: translateY(-2px); text-decoration: none !important; }
.ba-btn:focus-visible,
.ba-social-link:focus-visible {
    outline: 3px solid rgba(59,130,246,.55);
    outline-offset: 3px;
}
.ba-btn svg { display: block; width: 18px !important; height: 18px !important; flex: 0 0 18px; }
.ba-btn span { display: inline-block; }

.ba-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 8px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.22);
}
.ba-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50%;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ba-social-link:hover { transform: translateY(-2px); }
.ba-social-link svg,
.ba-social-link i,
.ba-social-link .elementor-icon svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    font-size: 16px !important;
    margin: 0 auto;
}

/* Popup */
body.ba-popup-open { overflow: hidden; }
.ba-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15,23,42,.72);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.ba-popup-content {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: auto;
    padding: 34px 28px 28px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.ba-popup-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: -18px -12px 8px 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.ba-popup-close:hover { background: #e2e8f0; color: #0f172a; }
.ba-form-loading,
.ba-form-error { padding: 18px; text-align: center; color: #475569; }
.ba-form-error { color: #b91c1c; }

/* Style 5: Gradient Blue */
.style-5 .ba-card {
    background: linear-gradient(140deg, #172554 0%, #1d4ed8 55%, #3b82f6 100%);
    box-shadow: 0 16px 38px rgba(30,58,138,.25);
}
.style-5 .ba-btn-quote { background: #fff; color: #1e3a8a; box-shadow: 0 5px 14px rgba(15,23,42,.12); }
.style-5 .ba-btn-quote:hover { background: #eff6ff; box-shadow: 0 8px 18px rgba(15,23,42,.16); }
.style-5 .ba-btn-info { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.28); }
.style-5 .ba-btn-info:hover { background: rgba(255,255,255,.19); }
.style-5 .ba-btn-whatsapp { background: #10b981; color: #fff; box-shadow: 0 5px 14px rgba(5,150,105,.2); }
.style-5 .ba-btn-whatsapp:hover { background: #059669; }
.style-5 .ba-social-link { background: rgba(255,255,255,.15); color: #fff; }
.style-5 .ba-social-link:hover { background: #fff; color: #2563eb; }

/* Style 1: Red Classic */
.style-1 .ba-card { background: linear-gradient(145deg,#e90006,#bd0005); box-shadow: 0 12px 32px rgba(233,0,6,.22); }
.style-1 .ba-btn-quote { background: #fff; color: #171717; }
.style-1 .ba-btn-quote:hover { background: #f5f5f5; }
.style-1 .ba-btn-info { background: rgba(0,0,0,.17); color: #fff; border-color: rgba(255,255,255,.28); }
.style-1 .ba-btn-info:hover { background: rgba(0,0,0,.27); }
.style-1 .ba-btn-whatsapp { background: #25d366; color: #fff; }
.style-1 .ba-social-link { background: rgba(255,255,255,.16); color: #fff; }
.style-1 .ba-social-link:hover { background: #fff; color: #d00005; }

/* Style 2: Dark Neon */
.style-2 .ba-card { background: linear-gradient(145deg,#0f172a,#111827); border: 1px solid #263449; box-shadow: 0 12px 32px rgba(15,23,42,.24); }
.style-2 .ba-btn-quote { background: linear-gradient(90deg,#2563eb,#3b82f6); color: #fff; }
.style-2 .ba-btn-info { background: #1e293b; color: #cbd5e1; border-color: #334155; }
.style-2 .ba-btn-whatsapp { background: #059669; color: #fff; }
.style-2 .ba-socials { border-color: #334155; }
.style-2 .ba-social-link { background: #1e293b; color: #38bdf8; }
.style-2 .ba-social-link:hover { background: #38bdf8; color: #0f172a; }

/* Style 3: Glass Light */
.style-3 .ba-card { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 12px 34px rgba(15,23,42,.10); }
.style-3 .ba-btn-quote { background: #111827; color: #fff; }
.style-3 .ba-btn-info { background: #f1f5f9; color: #0f172a; border-color: #e2e8f0; }
.style-3 .ba-btn-whatsapp { background: #25d366; color: #fff; }
.style-3 .ba-socials { border-color: #e2e8f0; }
.style-3 .ba-social-link { background: #fff; color: #334155; box-shadow: 0 2px 8px rgba(15,23,42,.10); }

/* Style 4: Minimal White */
.style-4 .ba-card { background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 12px 32px rgba(15,23,42,.07); }
.style-4 .ba-btn-quote { background: #333; color: #fff; }
.style-4 .ba-btn-info { background: #f5f5f5; color: #333; border-color: #e5e7eb; }
.style-4 .ba-btn-whatsapp { background: #fff; color: #128c4a; border-color: #25d366; }
.style-4 .ba-socials { border-color: #e5e7eb; }
.style-4 .ba-social-link { background: #f5f5f5; color: #555; }
.style-4 .ba-social-link:hover { background: #e9eef5; }

@media (max-width: 767px) {
    .ba-card { padding: 21px; border-radius: 17px; gap: 10px; }
    .ba-btn { min-height: 46px; padding: 12px 14px; }
    .ba-popup-overlay { padding: 12px; }
    .ba-popup-content { max-height: 94vh; padding: 30px 18px 20px; border-radius: 16px; }
}
