.home-standards {
    --standards-green: #1aad19;
    overflow: hidden;
    padding: 100px 0;
    background: #fff;
    color: #111;
}

.home-standards *,
.home-standards *::before,
.home-standards *::after {
    box-sizing: border-box;
}

.home-standards__inner {
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}

.home-standards__heading {
    text-align: center;
}

.home-standards__heading h2 {
    margin: 0;
    color: #111;
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
}

.home-standards__heading p {
    margin: 20px 0 0;
    color: #484848;
    font-size: 14px;
    line-height: 14px;
}

.home-standards__body {
    display: flex;
    width: 1200px;
    height: 460px;
    margin-top: 59px;
    justify-content: space-between;
}

.home-standards__nav {
    position: relative;
    width: 240px;
    height: 460px;
    flex: 0 0 240px;
    overflow: hidden;
    padding: 46px 0 0 30px;
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(26, 173, 25, .02), rgba(26, 173, 25, .08)),
        #f6f8f7;
}

.home-standards__nav::after {
    position: absolute;
    right: -40px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border: 22px solid rgba(26, 173, 25, .045);
    border-radius: 44px;
    content: '';
    transform: rotate(45deg);
    pointer-events: none;
}

.home-standards__nav-title {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0;
    color: #111;
    font-size: 26px;
    font-weight: 700;
    line-height: 36px;
    height: 62px;
}

.home-standards__tabs {
    position: relative;
    z-index: 2;
    width: 159px;
    margin: 46px 0 0 21px;
}

.home-standards__tab {
    position: relative;
    display: block;
    width: 139px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #787878;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 50px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: color .25s ease, font-weight .25s ease;
}

.home-standards__tab::after {
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--standards-green);
    content: '';
    transform: translateX(-50%);
    transition: width .25s ease;
}

.home-standards__tab.is-active {
    color: var(--standards-green);
    font-weight: 700;
}

.home-standards__tab.is-active::after {
    width: 30px;
}

.home-standards__visual {
    position: relative;
    width: 940px;
    height: 460px;
    flex: 0 0 940px;
    overflow: hidden;
    border-radius: 16px;
    background: #eef2ef;
}

.home-standards__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .55s ease;
}

.home-standards__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.home-standards__slide::before {
    position: absolute;
    inset: -18px;
    background: var(--standards-image) center / cover no-repeat;
    content: '';
    filter: blur(16px);
    opacity: .42;
    transform: scale(1.05);
}

.home-standards__slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 28, 16, .12), transparent 42%, rgba(9, 28, 16, .04));
    content: '';
}

.home-standards__slide img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-standards__dots {
    position: absolute;
    right: 0;
    bottom: 30px;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.home-standards__dot {
    width: 5px;
    height: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    cursor: pointer;
}

.home-standards__dot.is-active {
    background: var(--standards-green);
    box-shadow: none;
}

@media (max-width: 1263px) {
    .home-standards__inner {
        width: min(960px, calc(100% - 48px));
    }

    .home-standards__body {
        width: 100%;
        height: auto;
    }

    .home-standards__nav {
        width: 230px;
        flex-basis: 230px;
    }

    .home-standards__visual {
        width: calc(100% - 250px);
        flex-basis: calc(100% - 250px);
    }
}

@media (max-width: 767px) {
    .home-standards {
        padding: 46px 0 54px;
    }

    .home-standards__inner {
        width: calc(100% - 32px);
    }

    .home-standards__heading h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .home-standards__heading p {
        margin-top: 9px;
        font-size: 14px;
        line-height: 1.65;
    }

    .home-standards__body {
        display: block;
        margin-top: 30px;
    }

    .home-standards__nav {
        width: 100%;
        height: auto;
        padding: 24px 20px 20px;
        border-radius: 14px 14px 0 0;
    }

    .home-standards__nav-title {
        height: auto;
        font-size: 22px;
        line-height: 1.4;
        text-align: center;
    }

    .home-standards__tabs {
        display: grid;
        width: 100%;
        margin: 20px 0 0;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .home-standards__tab {
        width: 100%;
        height: 38px;
        font-size: 14px;
        line-height: 38px;
        text-align: center;
    }

    .home-standards__tab::after {
        top: auto;
        bottom: 0;
        left: 50%;
    }

    .home-standards__tab.is-active::after {
        width: 28px;
    }

    .home-standards__visual {
        width: 100%;
        height: auto;
        aspect-ratio: 940 / 460;
        border-radius: 0 0 14px 14px;
    }

    .home-standards__dots {
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-standards__slide,
    .home-standards__tab::after {
        transition: none !important;
    }
}
