.service-hero {
    display: grid;
    width: 100%;
    min-height: min(760px, calc(100svh - 92px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    background: #f8f7f3;
    color: #141414;
    font-family: "Inter Display", "Inter", sans-serif;
}

.service-hero * {
    box-sizing: border-box;
    font-family: inherit;
}

.service-hero__copy {
    display: flex;
    min-width: 0;
    align-items: stretch;
    justify-content: center;
    padding: clamp(38px, 5vw, 64px) clamp(30px, 5vw, 76px);
}

.service-hero__copy-inner {
    display: flex;
    width: min(100%, 510px);
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
}

.service-hero__main {
    width: 100%;
}

.service-hero__back {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #eeede6;
    color: #18201e;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 160ms ease;
}

.service-hero__back:hover,
.service-hero__back:focus-visible {
    background: #e4e3da;
    color: #18201e;
}

.service-hero__back svg {
    width: 17px;
    height: 17px;
    fill: #1f514c;
}

.service-hero h1 {
    max-width: 620px;
    margin: 0;
    color: #111;
    font-size: clamp(42px, 5.2vw, 66px);
    font-weight: 550;
    letter-spacing: -0.065em;
    line-height: 0.99;
}

.service-hero__description {
    max-width: 550px;
    margin: 24px 0 0;
    color: #5e625f;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 400;
    line-height: 1.65;
}

.service-hero__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-top: 30px;
    padding: 0 20px;
    border-radius: 6px;
    background: #1F514A;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.service-hero__button:hover,
.service-hero__button:focus-visible {
    transform: translateY(-2px);
    background: white;
    color: #1F514A;
}

.service-hero__button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.service-hero__trust {
    display: flex;
    width: 100%;
    max-width: 410px;
    align-items: center;
    gap: 11px;
    margin-top: 56px;
    color: #464c49;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.service-hero__avatars {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding-left: 2px;
}

.service-hero__avatars img {
    width: 39px;
    height: 39px;
    border: 2px solid #f8f7f3;
    border-radius: 50%;
    background: #dce5df;
    object-fit: cover;
    object-position: center 32%;
}

.service-hero__avatars img + img {
    margin-left: -11px;
}

.service-hero__trust-copy {
    display: grid;
    gap: 2px;
}

.service-hero__trust-copy strong {
    color: #151a18;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.2;
}

.service-hero__trust-copy span {
    color: #646a67;
    font-size: 12px;
    line-height: 1.35;
}

.service-hero__visual {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: #d3dedb;
}

.service-hero__image,
.service-hero__image-shade {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.service-hero__image {
    object-fit: cover;
    object-position: center;
}

.service-hero__image-shade {
    background: linear-gradient(180deg, rgba(10, 30, 31, 0.04) 20%, rgba(10, 30, 31, 0.52) 100%);
}

.service-hero__visual-frame {
    position: absolute;
    inset: 9% 29% 7% 7%;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 20%, #1f514ac8 120%);
    border-radius: 18px;
    pointer-events: none;
}

.service-hero__visual-tag {
    position: absolute;
    top: -1px;
    left: -1px;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px 0 12px 0;
    background: rgba(255, 255, 255, 0.94);
    color: #17201d;
    font-size: 15px;
    font-weight: 550;
}

.service-hero__visual-tag span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1f514c;
}

.service-hero__features {
    position: absolute;
    top: 34%;
    left: -14px;
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-hero__features li {
    display: flex;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    color: #17201d;
    font-size: 14px;
    font-weight: 550;
    white-space: nowrap;
}

.service-hero__features svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    padding: 3px;
    border-radius: 4px;
    background: #1f514c;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.service-hero__feature-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: auto;
    min-height: 150px;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 30px 24px;
    color: #fff;
}

.service-hero__feature-card > svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    fill: none;
    stroke: #a3e6b2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.service-hero__feature-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.service-hero__feature-card p {
    max-width: 300px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.5;
}

.service-hero__back:focus-visible,
.service-hero__button:focus-visible {
    outline: 3px solid #1f514c;
    outline-offset: 3px;
}

@media (min-width: 1450px) {
    .service-hero__copy {
        justify-content: flex-end;
    }

    .service-hero__copy-inner {
        margin-right: clamp(20px, 4vw, 72px);
    }
}

@media (max-width: 900px) {
    .service-hero {
        min-height: 600px;
    }

    .service-hero__copy {
        padding: 38px 28px;
    }

    .service-hero h1 {
        font-size: clamp(38px, 5.6vw, 56px);
    }

    .service-hero__visual-frame {
        inset: 28px;
    }

    .service-hero__features {
        left: -12px;
    }
}

@media (max-width: 640px) {
    .service-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-hero__copy {
        padding: 38px 24px 34px;
    }

    .service-hero__back {
        margin-bottom: 22px;
    }

    .service-hero h1 {
        font-size: clamp(40px, 10vw, 58px);
    }

    .service-hero__description {
        margin-top: 18px;
        font-size: 15px;
    }

    .service-hero__button {
        min-height: 50px;
        margin-top: 24px;
    }

    .service-hero__trust {
        margin-top: 40px;
    }

    .service-hero__visual {
        min-height: 450px;
    }

    .service-hero__visual-frame {
        inset: 22px;
        border-radius: 13px;
    }

    .service-hero__features {
        left: -10px;
        gap: 7px;
    }

    .service-hero__features li {
        min-height: 33px;
        padding: 0 8px;
        font-size: 11px;
    }

    .service-hero__feature-card {
        left: 0;
        right: 0;
        width: auto;
        padding: 19px 16px 16px;
    }
}

@media (max-width: 380px) {
    .service-hero__copy {
        padding-right: 18px;
        padding-left: 18px;
    }

    .service-hero__visual {
        min-height: 390px;
    }

    .service-hero__visual-frame {
        inset: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-hero__back,
    .service-hero__button {
        transition: none;
    }
}
