.hr-services { scroll-margin-top: 90px; }
.hr-services__cards { display: flex; gap: 12px; }
.hr-service {
    --reveal: 50%;
    position: relative;
    isolation: isolate;
    flex: 1 1 0;
    min-width: 0;
    height: 560px;
    overflow: hidden;
    border-radius: 24px;
    background: #161c18;
    color: #fff;
    transition: flex-grow 550ms cubic-bezier(.22,.65,.25,1);
}
.hr-service.is-open { flex-grow: 3.8; }
.hr-service__visual { position: absolute; inset: 0; pointer-events: none; }
.hr-service--comparison.is-open .hr-service__visual { pointer-events: auto; touch-action: pan-y; cursor: ew-resize; }
.hr-service__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hr-service__visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, #0008, transparent 32%, #07110d55 50%, #07110df5 86%);
}
.hr-service__before { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.hr-service:not(.is-open) .hr-service__before,
.hr-service:not(.is-open) .hr-service__divider { visibility: hidden; }
.hr-service__divider { position: absolute; top: 100px; bottom: 240px; left: var(--reveal); width: 2px; background: #fffc; transform: translateX(-50%); }
.hr-service__divider > span { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #17211b; box-shadow: 0 2px 12px #0004; }
.hr-service__toggle { position: absolute; inset: 0; width: 100%; padding: 20px; color: inherit; text-align: left; cursor: pointer; border-radius: inherit; }
.hr-service__toggle:focus-visible { outline: 3px solid #ff823e; outline-offset: -4px; }
.hr-service__number { position: absolute; top: 20px; left: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ff5100; font-size: 12px; }
.hr-service__name { position: absolute; left: 18px; right: 12px; bottom: 54px; font-size: clamp(17px,1.6vw,24px); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
.hr-service__name > span { display: block; margin-top: 5px; font-size: 13px; letter-spacing: 0; }
.hr-service__plus { position: absolute; left: 20px; bottom: 20px; font-size: 22px; line-height: 1; }
.hr-service.is-open .hr-service__toggle { height: 92px; bottom: auto; }
.hr-service.is-open .hr-service__name { left: 65px; top: 22px; bottom: auto; font-size: 24px; }
.hr-service.is-open .hr-service__name > span { font-size: 12px; }
.hr-service.is-open .hr-service__plus { display: none; }
.hr-service__details { position: absolute; inset: auto 0 0; padding: 24px; }
.hr-service__details[hidden] { display: none; }
.hr-service__details h3 { font-size: clamp(23px,2vw,30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 10px; text-wrap: balance; }
.hr-service__details p { font-size: 13px; line-height: 1.5; color: #e3e7e4; margin: 0 0 14px; }
.hr-service__details a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding-top: 12px; border-top: 1px solid #ffffff38; font-size: 14px; color: #fff; }
.hr-service__details a:hover { color: #ffad77; }
.hr-service__details a:focus-visible,
.hr-service__compare input:focus-visible { outline: 2px solid #ff975d; outline-offset: 4px; }
.hr-service__compare { margin: 0 0 14px; }
.hr-service__compare label { display: flex; justify-content: space-between; font-size: 11px; }
.hr-service__compare input { display: block; width: 100%; height: 32px; margin: 0; accent-color: #ff6925; cursor: ew-resize; }
.hr-service__disclosure { display: block; color: #e0ddd4; font-size: 10px; line-height: 1.3; }
@media (max-width: 900px) {
    .hr-services__cards { flex-direction: column; }
    .hr-service { flex: none; width: 100%; height: 84px; transition: none; scroll-margin-top: 90px; }
    .hr-service.is-open { flex: none; height: 530px; }
    .hr-service__name { left: 70px; top: 23px; bottom: auto; font-size: 22px; }
    .hr-service__name > span { display: inline; margin-left: 6px; font-size: 14px; }
    .hr-service__plus { left: auto; right: 20px; bottom: 30px; }
    .hr-service__number { top: 25px; }
    .hr-service.is-open .hr-service__name { left: 70px; }
    .hr-service.is-open .hr-service__name > span { display: block; margin-left: 0; }
    .hr-service__details h3 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .hr-service { transition: none; }
}
