.quick-access__blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.quick-access__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff !important;
}

.quick-access__block:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(76, 175, 80, 0.5);
}

.quick-access__picture {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-access__picture img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.quick-access__title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* Адаптивность */
@media(max-width: 992px) {
    .quick-access__blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 576px) {
    .quick-access__blocks {
        grid-template-columns: 1fr;
    }
    
    .quick-access__block {
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px;
    }
    
    .quick-access__picture {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .quick-access__title {
        text-align: left;
        font-size: 16px;
    }
}

.error-page__content {
    width: 100%;
    max-width: 720px;
    text-align: center;
    height: 55vh;
}

.error-page__code {
    color: var(--primary-color);
    font-size: clamp(112px, 24vw, 200px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
}

.error-page__title {
    margin-top: 24px;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    line-height: 1.3;
}

.error-page__title::before {
    content: "";
    display: block;
    width: 32px;
    height: 4px;
    margin: 0 auto 24px;
    background: var(--second-primary);
}

.error-page__text {
    max-width: 440px;
    margin: 20px auto 32px;
    color: #526565;
    font-size: 16px;
    line-height: 1.7;
}

.error-page .error-page__home {
    display: inline-block;
    max-width: 100%;
    color: var(--text-primary);
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
}

.error-page a:focus-visible {
    outline: 3px solid var(--second-primary);
    outline-offset: 6px;
}

.error-page .error-page__home:focus-visible {
    outline-color: var(--primary-color);
}

@media (max-width: 480px) {
    .error-page__header {
        padding: 20px 24px;
    }

    .error-page__logo img {
        width: 130px;
    }

    .error-page__main {
        padding: 40px 24px;
    }
}
