.toast-stack {
    position: fixed;
    z-index: 100000;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(390px, calc(100vw - 32px));
    pointer-events: none;
}
.site-toast {
    --toast-color: #a24036;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 14px 18px 18px;
    border: 1px solid #e8e1d9;
    border-left: 4px solid var(--toast-color);
    border-radius: 12px;
    background: #fff;
    color: #24201c;
    box-shadow: 0 12px 48px rgba(30, 22, 15, .18);
    pointer-events: auto;
    animation: toast-enter .22s ease-out both;
}
.site-toast--success { --toast-color: #39755c; }
.site-toast__icon {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--toast-color);
    font: 600 18px/1 Arial, sans-serif;
}
.site-toast__content { flex: 1; min-width: 0; }
.site-toast__title { display: block; margin: 1px 0 6px; font-size: 15px; line-height: 1.35; font-weight: 600; }
.site-toast__text { margin: 0; color: #6c6259; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.site-toast__close {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: -5px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8b7e70;
    cursor: pointer;
    font: 24px/1 Arial, sans-serif;
}
.site-toast__close:hover { background: #f5f1ec; color: #24201c; }
.site-toast__close:focus-visible { outline: 2px solid #aa9174; outline-offset: 2px; }
.site-toast.is-leaving { animation: toast-leave .18s ease-in both; }
.ajax_form .is-invalid { outline: 1px solid #a24036; outline-offset: -1px; }
.ajax_form .btn.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: wait; opacity: .75; }
.ajax_form .btn.is-loading::after { content: ''; flex: 0 0 14px; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: form-spin .7s linear infinite; }
@keyframes toast-enter { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-leave { to { opacity: 0; transform: translateX(16px); } }
@keyframes form-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .toast-stack { top: 16px; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .site-toast, .site-toast.is-leaving { animation: none; } .ajax_form .btn.is-loading::after { animation-duration: 1.5s; } }
.services-intro__layout[hidden] { display: none; }
.services-intro__content, .service-support__content { min-width: 0; }

.service-situations__text ul { margin: 0; padding-left: 1.5rem; list-style: disc; }
.service-situations__text > :first-child { margin-top: 0; }
.service-situations__text > :last-child { margin-bottom: 0; }
@media (max-width: 992px) { .service-situations__text ul { padding-left: 1.3125rem; } }

.lawyers__list { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; }

.box404 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: calc(100% - 2.5rem);
    max-width: 80rem;
    min-height: 32rem;
    margin: 2.5rem auto 5rem;
    padding: 5rem 1.5rem;
    overflow: hidden;
    border: 1px solid #e6ded3;
    background: radial-gradient(ellipse at 50% 40%, #fff 0, #f8f5f1 75%);
    text-align: center;
}
.box404::before,
.box404::after {
    content: '';
    display: block;
    width: 3.75rem;
    height: 1px;
    flex-shrink: 0;
    background: #aa9174;
}
.box404 > div:first-child {
    padding-right: .06em;
    color: #aa9174;
    font-size: clamp(9rem, 24vw, 20rem);
    font-weight: 500;
    line-height: .85;
    letter-spacing: -.06em;
    font-variant-numeric: lining-nums;
}
.box404 > div:last-child {
    margin-top: .5rem;
    color: #26221e;
    font-size: clamp(.875rem, 2vw, 1.25rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .22em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .box404 {
        min-height: 23rem;
        margin: 1.875rem auto 3.75rem;
        padding: 3.75rem 1rem;
        gap: 1.75rem;
    }
    .box404 > div:last-child { letter-spacing: .16em; }
}

/* Scroll reveals: content remains readable with reduced motion. */
.wow { --animate-duration: .8s; }
@media (prefers-reduced-motion: reduce) {
    .wow { visibility: visible !important; animation: none !important; transform: none !important; }
}

.menu-backdrop { display: none; }
@media (max-width: 992px) {
    .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 14;
        background: rgba(0, 0, 0, .5);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }
    body.menu-open .menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .menu-backdrop { transition: none; }
}
