/* Marketing popup — fixed full-screen overlay, RTL, centered card. */
.fc-mpop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999900;
    direction: rtl;
    font-family: "Heebo", "Segoe UI", Arial, sans-serif;
    animation: fcMpopFade 180ms ease-out;
}

.fc-mpop-overlay.is-open { display: flex; }

@keyframes fcMpopFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fc-mpop {
    background: #ffffff;
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    padding: 28px 24px 22px;
    position: relative;
    animation: fcMpopRise 220ms ease-out;
}

@keyframes fcMpopRise {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.fc-mpop__close {
    position: absolute;
    top: 10px;
    left: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    border-radius: 50%;
    transition: background 120ms;
}
.fc-mpop__close:hover { background: #f1f5f9; }

.fc-mpop__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.fc-mpop__lead {
    margin: 0 0 18px;
    font-size: 15px;
    color: #475569;
    line-height: 1.55;
}

.fc-mpop__field {
    margin-bottom: 12px;
}

.fc-mpop__field input[type="text"],
.fc-mpop__field input[type="tel"],
.fc-mpop__field input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 120ms, box-shadow 120ms;
}
.fc-mpop__field input:focus {
    outline: none;
    border-color: #0061ab;
    box-shadow: 0 0 0 3px rgba(0, 97, 171, 0.15);
}
.fc-mpop__field input.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.fc-mpop__hp {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.fc-mpop__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0 16px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}
.fc-mpop__consent input { margin-top: 3px; flex-shrink: 0; cursor: pointer; }

.fc-mpop__submit {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #0061ab, #00a3e0);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 120ms, box-shadow 120ms, opacity 120ms;
    box-shadow: 0 8px 20px rgba(0, 97, 171, 0.25);
}
.fc-mpop__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 97, 171, 0.32);
}
.fc-mpop__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    background: #94a3b8;
}
.fc-mpop__submit:disabled:hover { transform: none; box-shadow: none; }

.fc-mpop__error {
    margin: 0 0 10px;
    color: #dc2626;
    font-size: 13px;
    min-height: 18px;
}

.fc-mpop__success {
    text-align: center;
    padding: 18px 8px 8px;
}
.fc-mpop__success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
}
.fc-mpop__success h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
}
.fc-mpop__success p { margin: 0; color: #475569; font-size: 14px; }
