.hiring-overview {
    position: relative;
    overflow: hidden;
    padding: 72px 24px 68px;
    background: #1f514a url("../images/how-it-works/bg-vector.avif") center / cover no-repeat;
    color: #fff;
    font-family: "Inter Display", "Inter", sans-serif;
}

.hiring-overview::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(31, 81, 74, 0.88);
    content: "";
    pointer-events: none;
}

.hiring-overview-container {
    position: relative;
    z-index: 1;
    width: min(100%, 1160px);
    margin: 0 auto;
}

.hiring-overview-header {
    max-width: 700px;
    margin-bottom: 34px;
}

.hiring-overview-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(181, 224, 145, 0.18);
    color: #c4e5a0;
    font-size: 0.78rem;
    font-weight: 600;
}

.hiring-overview-header h2 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.hiring-overview-header p {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
    line-height: 1.55;
}

.hiring-overview-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 58px;
}

.hiring-overview-step-rule {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 16px;
}

.hiring-overview-step-number {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    place-items: center;
    border-radius: 7px;
    background: #fff;
    color: #1f514a;
    font-size: 0.83rem;
    font-weight: 700;
}

.hiring-overview-step-track {
    display: block;
    height: 1px;
    flex: 1;
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.18);
}

.hiring-overview-step-track span {
    display: block;
    width: 0;
    height: 100%;
    background: #c4e5a0;
    transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hiring-overview-steps.is-animated .hiring-overview-step:nth-child(1) .hiring-overview-step-track span {
    width: 100%;
}

.hiring-overview-steps.is-animated .hiring-overview-step:nth-child(2) .hiring-overview-step-track span {
    width: 100%;
    transition-delay: 900ms;
}

.hiring-overview-steps.is-animated .hiring-overview-step:nth-child(3) .hiring-overview-step-track span {
    width: 100%;
    transition-delay: 1800ms;
}

.hiring-overview-step h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hiring-overview-step p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    line-height: 1.55;
}

.hiring-overview-cta {
    position: relative;
    display: grid;
    min-height: clamp(360px, 46.5vw, 540px);
    overflow: hidden;
    place-items: end center;
    border-radius: 14px;
    isolation: isolate;
    background: #152b28;
}

.hiring-overview-cta-image,
.hiring-overview-cta-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hiring-overview-cta-image {
    z-index: 0;
    overflow: hidden;
}

.hiring-overview-cta-image img {
    z-index: 0;
    object-fit: cover;
    object-position: center 42%;
    transform: none;
}

.hiring-overview-cta-image::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgb(8 18 16 / 11%), rgba(8, 18, 16, 0.3)), linear-gradient(0deg, rgb(8 18 16 / 20%), transparent 70%);
    content: "";
}

.hiring-overview-cta-content {
    position: relative;
    z-index: 3;
    width: min(100% - 40px, 850px);
    padding: 40px 0 48px;
    text-align: center;
}

.hiring-overview-cta-content h3 {
    margin: 0 auto 30px;
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.2;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hiring-overview-cta-content a {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 29px;
    border-radius: 999px;
    background: #fff;
    color: #285b54;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease;
}

.hiring-overview-cta-content a svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: #a8d678;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.hiring-overview-cta-content a:hover,
.hiring-overview-cta-content a:focus-visible {
    transform: translateY(-2px);
    background: #f5faed;
    color: #193f3a;
}

.hiring-overview-cta-content a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.65);
    outline-offset: 4px;
}

@media (max-width: 767.98px) {
    .hiring-overview {
        padding: 58px 20px 52px;
    }

    .hiring-overview-header {
        margin-bottom: 28px;
    }

    .hiring-overview-header p {
        font-size: 0.92rem;
    }

    .hiring-overview-steps {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 38px;
    }

    .hiring-overview-step-rule {
        margin-bottom: 12px;
    }

    .hiring-overview-cta {
        min-height: 360px;
    }

    .hiring-overview-cta-content {
        width: min(100% - 32px, 520px);
        padding-bottom: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hiring-overview-step-track span {
        width: 100%;
        transition: none;
    }

    .hiring-overview-cta-image img {
        transform: none;
    }

    .hiring-overview-cta-content a {
        transition: none;
    }
}
