.service-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: clamp(620px, 100svh, 760px);
    background: var(--service-dark);
    color: #fbf9fa;
}

.service-hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(
        90deg,
        rgba(38, 40, 42, 1) 0%,
        rgba(38, 40, 42, 0.95) 45%,
        rgba(38, 40, 42, 0.5) 100%
    );
}

.service-hero__media {
    position: absolute;
    inset: 0 0 0 34%;
}

.service-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero__layout {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 0;
    padding: 120px 0 92px;
}

.service-hero__content {
    max-width: 800px;
}

.service-hero__title {
    max-width: 21ch;
    margin: 0;
    color: #fbf9fa;
    font-family: var(--font-aeonik);
    font-size: 3.9rem;
    font-weight: 400;
    line-height: 1.06;
    text-wrap: balance;
}

.service-hero__body {
    max-width: 620px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-inter);
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    line-height: 1.42;
    text-wrap: pretty;
}

.service-hero__body p {
    margin: 0;
}

.service-hero__body p:last-child {
    margin-bottom: 0;
}

.service-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.service-hero .hr-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 1.5rem;
    border-radius: 6px;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.service-hero .hr-hero__cta:hover,
.service-hero .hr-hero__cta:focus-visible {
    text-decoration: none;
}

.service-hero .hr-hero__cta:focus-visible {
    outline: 2px solid #f25d21;
    outline-offset: 3px;
}

.service-hero .hr-hero__cta:active {
    transform: none;
}

.service-hero .hr-hero__cta--btn-primary {
    background: #f25d21;
    border: 1px solid transparent;
    box-shadow: none;
    color: #fff;
}

.service-hero .hr-hero__cta--btn-primary:hover,
.service-hero .hr-hero__cta--btn-primary:focus-visible {
    background: #d94f18;
    border-color: transparent;
    color: #fff;
}

.service-hero .hr-hero__cta--btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    color: #fff;
}

.service-hero .hr-hero__cta--btn-secondary:hover,
.service-hero .hr-hero__cta--btn-secondary:focus-visible {
    background: #e16736;
    border-color: #e16736;
    color: #fff;
}

@media (max-width: 900px) {
    .service-hero {
        min-height: 560px;
    }

    .service-hero__layout {
        padding: 104px 0 72px;
    }

    .service-hero__title {
        max-width: 18ch;
        font-size: 3rem;
    }
}

@media (max-width: 620px) {
    .service-hero {
        min-height: 500px;
    }

    .service-hero__layout {
        padding: 96px 0 56px;
    }

    .service-hero__media {
        inset: 0;
        opacity: 0.5;
    }

    .service-hero__title {
        max-width: none;
        font-size: clamp(2.05rem, 9vw, 2.45rem);
        line-height: 1.06;
    }

    .service-hero__body {
        margin-top: 22px;
        font-size: 1rem;
    }

    .service-hero__actions {
        width: 100%;
    }

    .service-hero .hr-hero__cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-hero .hr-hero__cta {
        transition: none;
    }
}
