@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('montserrat-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.idodoc-home-hero {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    min-height: clamp(380px, 48.4vw, 600px);
    padding: clamp(40px, 5.2vw, 75px) 20px 55px;
    background: #1c5198;
    color: #fff;
    text-align: center;
}

.idodoc-home-hero__background {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.idodoc-home-hero__inner {
    max-width: 1200px;
    margin-inline: auto;
}

.idodoc-home-hero #idodoc-home-title {
    margin: 0;
    color: inherit;
    font: 700 clamp(24px, 2.92vw, 42px) / 1.33 'Montserrat', 'Open Sans', sans-serif;
    letter-spacing: normal;
    text-transform: none;
}

.idodoc-home-hero #idodoc-home-title span {
    display: block;
}

.idodoc-home-hero__brand {
    margin-bottom: clamp(29px, 4vw, 58px);
    font: 700 clamp(44px, 5.28vw, 76px) / .74 'Roboto Slab', Georgia, serif;
}

.idodoc-home-hero__detail {
    margin-top: clamp(6px, 1.12vw, 16px);
    font-weight: 600;
}

.idodoc-home-hero__services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: clamp(32px, 4.59vw, 66px);
}

.idodoc-home-hero__services > * {
    box-sizing: border-box;
    padding: 13px 35px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .84);
    color: #000;
    font: 400 19px / 23px Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    text-decoration: none;
}

.idodoc-home-hero__services a:hover,
.idodoc-home-hero__services a:focus-visible {
    background: #fff;
    color: #000;
}

.idodoc-home-hero__services a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 777px) {
    .idodoc-home-hero {
        min-height: clamp(156px, 48.45vw, 376px);
        padding: clamp(17px, 5.9vw, 46px) 12px 28px;
    }

    .idodoc-home-hero #idodoc-home-title,
    .idodoc-home-hero__services {
        font-size: clamp(12px, 3.34vw, 26px);
        line-height: 1.38;
    }

    .idodoc-home-hero__brand {
        margin-bottom: clamp(14px, 4.5vw, 35px);
        font-size: clamp(21px, 6.15vw, 48px);
    }

    .idodoc-home-hero__detail {
        margin-top: clamp(3px, 1.28vw, 10px);
    }

    .idodoc-home-hero__services {
        display: block;
        margin-top: clamp(12px, 4.1vw, 32px);
        font-family: 'Montserrat', 'Open Sans', sans-serif;
        font-weight: 700;
    }

    .idodoc-home-hero__services > * {
        padding: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        letter-spacing: normal;
        white-space: nowrap;
    }

    .idodoc-home-hero__services > :not(:last-child)::after {
        content: '.';
    }

    .idodoc-home-hero__services a:hover,
    .idodoc-home-hero__services a:focus-visible {
        background: transparent;
        color: inherit;
        text-decoration: underline;
    }
}
