/* ── Form validation ── */
.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: var(--theme-color, #f41e1e) !important;
    box-shadow: 0 0 0 0.15rem rgba(244, 30, 30, 0.15);
}

/* ── Site alert modal ── */
body.site-alert-open {
    overflow: hidden;
}

.site-alert {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    pointer-events: none;
}

.site-alert[hidden] {
    display: none !important;
}

.site-alert:not([hidden]) {
    display: block;
}

.site-alert__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    cursor: pointer;
    pointer-events: auto;
}

.site-alert__dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: min(420px, calc(100vw - 2rem));
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
    pointer-events: auto;
    animation: siteAlertIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes siteAlertIn {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 16px)) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.site-alert__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--theme-color, #f41e1e), #ff6b6b);
    pointer-events: none;
}

.site-alert__icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0.25rem auto 0.75rem;
    color: var(--theme-color, #f41e1e);
    pointer-events: none;
}

.site-alert__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.site-alert__title {
    color: var(--title-color, #000);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 0.5rem;
    pointer-events: none;
}

.site-alert__message {
    color: var(--body-color, #6a6a6a);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
    pointer-events: none;
}

.site-alert__message ul {
    text-align: start;
    margin: 0;
    padding: 0 1.25rem 0 0;
    list-style: disc;
    pointer-events: none;
}

[dir="ltr"] .site-alert__message ul {
    padding: 0 0 0 1.25rem;
}

.site-alert__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.35rem;
    min-width: 170px;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    background: var(--theme-color, #f41e1e);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(244, 30, 30, 0.35);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 3;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-alert__btn:hover,
.site-alert__btn:focus {
    background: #d41919;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(244, 30, 30, 0.4);
    outline: none;
}

.site-alert__btn:active {
    transform: translateY(0);
}
