.page-404 .search-shell {
    margin-top: 0;
    padding: 1.4rem 0 0.4rem;
}

.page-404 .service-search {
    max-width: none;
    padding: 1rem 1.1rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
    box-shadow: 0 16px 36px rgba(13, 40, 82, 0.08);
    border: 1px solid rgba(217, 227, 239, 0.88);
}

.page-404 .service-search__form {
    gap: 0.75rem;
    padding: 0.5rem 0.7rem;
    border-radius: 1rem;
    background: #f6f9fd;
    border: 1px solid rgba(220, 229, 240, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.page-404 .service-search__form input {
    min-width: 0;
    padding: 0.35rem 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    appearance: none;
    -webkit-appearance: none;
    font-size: 0.98rem;
    font-weight: 700;
}

.page-404 .service-search__form input::-webkit-search-decoration,
.page-404 .service-search__form input::-webkit-search-cancel-button,
.page-404 .service-search__form input::-webkit-search-results-button,
.page-404 .service-search__form input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

.page-404 .lista-search__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.page-404 .lista-search__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    background: rgba(47, 134, 222, 0.08);
    color: #315489;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-404 .lista-search__eyebrow i {
    color: #2f86de;
}

.page-404 .lista-search__hint {
    margin: 0;
    color: #78869c;
    font-size: 0.94rem;
    line-height: 1.6;
}

.page-404 .lista-shell {
    padding: 1.15rem 0 4rem;
}

.page-404 .lista-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
    color: #77859b;
    font-size: 0.92rem;
}

.page-404 .lista-breadcrumb a {
    color: #53719b;
    text-decoration: none;
}

.page-404 .lista-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
    gap: 1.5rem;
    align-items: start;
}

.page-404 .lista-main {
    min-width: 0;
}

.page-404 .lista-heading {
    margin-bottom: 1.25rem;
}

.page-404 .lista-heading__copy h1 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #2a3d56;
}

.page-404 .lista-heading__copy p {
    margin: 0.55rem 0 0;
    max-width: 52rem;
    color: #657791;
    font-size: 1.06rem;
    line-height: 1.75;
}

.page-404 .lista-heading__icon {
    color: var(--portal-spectrum);
}

.page-404 .lista-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(220, 229, 240, 0.92);
    box-shadow: 0 14px 28px rgba(13, 40, 82, 0.05);
}

.page-404 .lista-toolbar__label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #35517a;
    font-size: 0.9rem;
    font-weight: 800;
}

.page-404 .lista-toolbar__feedback {
    margin: 0;
    color: #7a8aa0;
    font-size: 0.94rem;
    text-align: right;
}

.page-404 .notfound-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 250, 255, 0.95) 100%),
        url("../images/pmp-hero-pattern.svg") right -3rem bottom -3rem / 16rem no-repeat;
    border: 1px solid rgba(220, 229, 240, 0.92);
    box-shadow: 0 22px 48px rgba(13, 40, 82, 0.08);
}

.page-404 .notfound-card__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 134, 222, 0.12) 0%, rgba(239, 106, 76, 0.12) 100%);
    color: #315489;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-404 .notfound-card h2 {
    margin: 1.15rem 0 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #25364d;
}

.page-404 .notfound-card__lead {
    margin: 0.95rem 0 0;
    max-width: 48rem;
    color: #60728c;
    font-size: 1.08rem;
    line-height: 1.8;
}

.page-404 .notfound-card__tips {
    display: grid;
    gap: 0.75rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.page-404 .notfound-card__tips li {
    position: relative;
    padding-left: 1.15rem;
    color: #6d7d93;
    line-height: 1.7;
}

.page-404 .notfound-card__tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: linear-gradient(90deg, #2f86de 0%, #ef6a4c 100%);
}

.page-404 .notfound-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.45rem;
}

.page-404 .notfound-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.page-404 .notfound-link {
    --tone: var(--par-blue);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.4rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(220, 229, 240, 0.92);
    box-shadow: 0 18px 34px rgba(13, 40, 82, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-404 .notfound-link:hover,
.page-404 .notfound-link:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(47, 134, 222, 0.22);
    box-shadow: 0 24px 44px rgba(13, 40, 82, 0.1);
    outline: none;
}

.page-404 .notfound-link::before {
    content: '';
    display: block;
    width: 4.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--tone);
}

.page-404 .notfound-link__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 252, 0.98));
    color: var(--tone);
    font-size: 1.35rem;
}

.page-404 .notfound-link h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
    color: #2d425d;
}

.page-404 .notfound-link p {
    margin: 0.7rem 0 0;
    color: #6f8198;
    line-height: 1.65;
}

.page-404 .notfound-link__arrow {
    margin-top: auto;
    color: var(--tone);
    font-size: 1.05rem;
}

.page-404 .lista-side {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 1rem;
}

.page-404 .lista-side__card {
    padding: 1.45rem;
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(220, 229, 240, 0.92);
    box-shadow: 0 18px 36px rgba(13, 40, 82, 0.06);
}

.page-404 .lista-side__label {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(47, 134, 222, 0.08);
    color: #315489;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-404 .lista-side__card h3 {
    margin: 1rem 0 0.8rem;
    color: #26384e;
    font-size: 1.12rem;
    font-weight: 800;
}

.page-404 .lista-side__card p {
    margin: 0;
    color: #687991;
    line-height: 1.75;
}

.page-404 .lista-side__links {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.page-404 .lista-side__links a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: #fff;
    color: #3d5574;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(220, 229, 240, 0.92);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-404 .lista-side__links a:hover,
.page-404 .lista-side__links a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(47, 134, 222, 0.24);
    box-shadow: 0 14px 26px rgba(13, 40, 82, 0.08);
}

@media (max-width: 1199.98px) {
    .page-404 .lista-layout {
        grid-template-columns: 1fr;
    }

    .page-404 .lista-side {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .page-404 .lista-search__intro,
    .page-404 .lista-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-404 .notfound-card {
        padding: 1.35rem;
        border-radius: 1.5rem;
        background-size: 12rem;
        background-position: right -2rem bottom -2rem;
    }

    .page-404 .notfound-links {
        grid-template-columns: 1fr;
    }

    .page-404 .lista-toolbar__feedback {
        text-align: left;
    }
}
