.errp-section {
    min-height: calc(100vh - 420px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: #f6f8fb;
}

.errp-card {
    max-width: 640px;
    text-align: center;
}

.errp-code {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: 6rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 60%, var(--brand-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.errp-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(155deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
    color: var(--brand-gold-bright);
    box-shadow: 0 12px 26px rgba(11, 31, 58, .22);
}

.errp-icon .icon {
    width: 30px;
    height: 30px;
}

.errp-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    font-size: 1.75rem;
    color: var(--brand-navy);
    margin-bottom: .75rem;
}

.errp-text {
    color: #6b7385;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.errp-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.errp-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--brand-navy);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: .85rem 1.75rem;
    border-radius: .75rem;
    box-shadow: 0 12px 24px rgba(11, 31, 58, .22);
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease;
}

.errp-btn:hover,
.errp-btn:focus {
    background: var(--brand-navy-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.errp-btn .icon {
    width: 16px;
    height: 16px;
}

.errp-btn-secondary {
    background: #fff;
    color: var(--brand-navy);
    border: 1px solid #dde3ec;
    box-shadow: none;
}

.errp-btn-secondary:hover {
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
}

.errp-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
}

.errp-links a {
    font-size: .82rem;
    font-weight: 700;
    color: var(--brand-navy);
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 999px;
    padding: .5rem 1rem;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(11, 31, 58, .06);
    transition: transform .15s ease, box-shadow .15s ease;
}

.errp-links a:hover,
.errp-links a:focus {
    color: var(--brand-navy);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(11, 31, 58, .12);
}

.errp-ref {
    margin-top: 1.5rem;
    font-size: .78rem;
    color: #9aa1b3;
}

.errp-ref code {
    background: #eef1f6;
    color: var(--brand-navy);
    padding: .15rem .45rem;
    border-radius: .35rem;
}

@media (max-width: 575.98px) {
    .errp-code {
        font-size: 4rem;
    }

    .errp-title {
        font-size: 1.35rem;
    }
}
