/* Elegant Minimal 404 Page */
.contractor-404-page {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: #fafafa;
}

.contractor-404-page::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -140px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 154, 43, 0.18), rgba(217, 154, 43, 0));
    pointer-events: none;
}

.contractor-404-page::after {
    content: "";
    position: absolute;
    left: -160px;
    bottom: -180px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 17, 17, 0.07), rgba(17, 17, 17, 0));
    pointer-events: none;
}

.contractor-404-page__heading {
    position: relative;
    max-width: 900px;
    margin-bottom: 50px;
    z-index: 2;
}

.contractor-404-page .section-title__tagline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(217, 154, 43, 0.12);
    color: #9a6818;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contractor-404-page .section-title__tagline strong {
    color: #111111;
}

.contractor-404-page .section-title__title {
    max-width: 850px;
    margin-bottom: 16px;
    color: #111111;
    font-size: 44px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.contractor-404-page .section-title__text {
    max-width: 850px;
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
}

.contractor-404-page__row {
    position: relative;
    align-items: stretch;
    z-index: 2;
}

.contractor-404-page__content,
.contractor-404-page__card {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.07);
}

.contractor-404-page__content {
    padding: 42px 40px;
}

.contractor-404-page__eyebrow {
    display: inline-flex;
    padding: 8px 13px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    color: #111111;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contractor-404-page__content h1 {
    margin: 0 0 10px;
    color: #d99a2b;
    font-size: clamp(90px, 13vw, 160px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.contractor-404-page__content h3,
.contractor-404-page__card h3 {
    margin: 0 0 14px;
    color: #111111;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.contractor-404-page__content p,
.contractor-404-page__card p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.75;
}

.contractor-404-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.contractor-404-page__btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 16px;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    transition: all 0.25s ease;
}

.contractor-404-page__btn:hover {
    background: #d99a2b;
    border-color: #d99a2b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(217, 154, 43, 0.26);
}

.contractor-404-page__btn span {
    transition: transform 0.25s ease;
}

.contractor-404-page__btn:hover span {
    transform: translateX(4px);
}

.contractor-404-page__link {
    display: inline-flex;
    align-items: center;
    color: #111111;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid rgba(217, 154, 43, 0.45);
    transition: all 0.25s ease;
}

.contractor-404-page__link:hover {
    color: #d99a2b;
    border-color: #d99a2b;
}

/* Right Card */
.contractor-404-page__card {
    padding: 38px 36px;
}

.contractor-404-page__service-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
}

.contractor-404-page__service-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 17px;
    background: #f8f8f8;
    border: 1px solid rgba(17, 17, 17, 0.07);
    color: #222222;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contractor-404-page__service-list a:hover {
    background: #D99A2B;
    border-color: #111111;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.contractor-404-page__service-list a span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(217, 154, 43, 0.14);
    color: #d99a2b;
    font-size: 15px;
    transition: all 0.25s ease;
}

.contractor-404-page__service-list a:hover span {
    background: #d99a2b;
    color: #ffffff;
}

.contractor-404-page__phone-box {
    margin-top: 28px;
    padding: 22px;
    border-radius: 20px;
    background: #111111;
    color: #ffffff;
}

.contractor-404-page__phone-box span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contractor-404-page__phone-box a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contractor-404-page__phone-box a i {
    color: #d99a2b;
}

.contractor-404-page__phone-box a:hover {
    color: #d99a2b;
}

/* Responsive */
@media (max-width: 991px) {
    .contractor-404-page {
        padding: 85px 0;
    }

    .contractor-404-page .section-title__title {
        font-size: 36px;
    }

    .contractor-404-page__content {
        margin-bottom: 24px;
    }
}

@media (max-width: 575px) {
    .contractor-404-page {
        padding: 70px 0;
    }

    .contractor-404-page .section-title__title {
        font-size: 30px;
    }

    .contractor-404-page .section-title__text {
        font-size: 15px;
    }

    .contractor-404-page__content,
    .contractor-404-page__card {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .contractor-404-page__content h3,
    .contractor-404-page__card h3 {
        font-size: 25px;
    }

    .contractor-404-page__actions,
    .contractor-404-page__btn {
        width: 100%;
    }

    .contractor-404-page__btn {
        justify-content: center;
    }
}
.contractor-404-page__service-list li a img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
.contractor-404-page__service-list li a::after {
    background-color: #D99A2B !important;
}