.koct-hero {
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 244px 0 70px;
    font-family: inherit;
}

.koct-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 50%;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1;
    background-color: #4f9fac;
    background-image: url("hero_bg.png");
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
}

.koct-hero-card,
.koct-hero-badges {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.koct-hero *,
.koct-hero *::before,
.koct-hero *::after {
    box-sizing: border-box;
}

.koct-hero-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 74px 24px 70px 44px;
    border-radius: 32px;
    min-height: 528px;
    background: url("hero_card.png") center / 100% 100% no-repeat;
    box-shadow: 0 30px 60px -30px rgba(20, 60, 70, 0.35);
    overflow: visible;
}

.koct-hero-left {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    padding: 0 415px 0 0;
}

.koct-hero-title {
    margin: 0 0 28px;
    max-width: 700px;
    color: #000;
    font-size: 55px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.koct-hero-tags {
    display: flex;
    flex-flow: row wrap;
    gap: 11px;
    margin: 0 0 40px;
}

.koct-hero-tags a {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    background: #000;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

.koct-hero-tags a:hover {
    background: #2e8ba2;
    color: #000;
}

.koct-hero-desc {
    margin: 0 0 44px;
    max-width: 610px;
    color: #2f3e45;
    font-size: 17px;
    line-height: 1.41;
    font-weight: 400;
}

.koct-hero-cta {
    margin-top: auto;
}

.koct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 46px;
    border-radius: 100px;
    background: #000;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

.koct-btn:hover {
    background: #2e8ba2;
    color: #000;
}

.koct-hero-right {
    position: absolute;
    top: -32px;
    right: 24px;
    width: 381px;
    margin: 0;
}

.koct-hero-photo {
    width: 100%;
    line-height: 0;
    filter: drop-shadow(0 22px 26px rgba(20, 60, 70, 0.22));
}

.koct-hero-girl {
    display: block;
    width: 100%;
    height: auto;
}

.koct-hero-badges {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 36px;
    margin-top: 18px;
    padding: 0;
}

.koct-hero-badges a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
    transition: opacity .25s ease;
}

.koct-hero-badges a:hover {
    opacity: 0.8;
}

.koct-hero-badges img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0);
}

body.home .koct-hero .koct-hero-badges img {
    border-radius: 0 !important;
}

body.home .koct-hero .koct-hero-photo img {
    border-radius: 0 !important;
}

@media (max-width: 991px) {
    .koct-hero {
        padding-top: 240px;
    }

    .koct-hero-card {
        flex-direction: column;
        gap: 32px;
        padding: 44px 36px 40px;
        border-radius: 32px;
        min-height: 0;
        overflow: visible;
    }

    .koct-hero-title {
        font-size: 46px;
    }

    .koct-hero-left {
        padding-right: 0;
        align-self: auto;
    }

    .koct-hero-right {
        position: static;
        order: -1;
        width: 100%;
        max-width: 340px;
        margin: -72px auto 0;
        top: auto;
        right: auto;
    }

    .koct-hero-badges {
        justify-content: center;
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .koct-hero {
        padding-top: 50px;
    }
}

@media (max-width: 600px) {
    .koct-hero {
        padding-bottom: 40px;
    }

    .koct-hero-card {
        padding: 32px 22px 30px;
        border-radius: 26px;
    }

    .koct-hero-title {
        font-size: 34px;
        margin-bottom: 22px;
    }

    .koct-hero-tags {
        gap: 8px;
        margin-bottom: 24px;
    }

    .koct-hero-tags a {
        font-size: 12px;
        padding: 8px 16px;
    }

    .koct-hero-desc {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .koct-btn {
        width: 100%;
        padding: 18px 28px;
        font-size: 16px;
    }

    .koct-hero-badges {
        gap: 18px 22px;
    }

    .koct-hero-badges img {
        height: 40px;
    }
}
