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

@font-face {
    font-family: "BIS Inter";
    src: url("inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.bis-portal {
    --bis-dark: #123542;
    --bis-deep: #1b4959;
    --bis-accent: #ff951f;
    --bis-light: #f2f9fb;
    --bis-mist: #e1eef1;
    --bis-line: #dceaed;
    --bis-field-line: #7b919e;
    --bis-text: #3e3e3e;
    --bis-white: #fff;
    --bis-gutter: clamp(22px, 5.56vw, 80px);
    margin: 0;
    background: var(--bis-white);
    color: var(--bis-dark);
    font: 400 16px/1.5 "BIS Inter", Arial, sans-serif;
}

.bis-portal *, .bis-portal *::before, .bis-portal *::after {
    box-sizing: border-box;
}

.bis-portal h1, .bis-portal h2, .bis-portal p {
    margin: 0;
}

.bis-portal a {
    color: inherit;
    text-decoration: none;
}

.bis-portal a:hover {
    text-decoration: underline;
    text-underline-offset: 0.23em;
}

.bis-portal :focus-visible {
    outline: 2px solid var(--bis-deep);
    outline-offset: 3px;
}

.bis-footer :focus-visible {
    outline-color: var(--bis-accent);
}

.bis-portal [hidden] {
    display: none !important;
}

.bis-wrap {
    width: min(100% - 2 * var(--bis-gutter), 1280px);
    margin-inline: auto;
}

.bis-skip {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 15px;
    border-radius: 4px;
    background: var(--bis-white);
    transform: translateY(-150%);
}

.bis-skip:focus { transform: none; }

.bis-header {
    position: relative;
    z-index: 2;
    background: var(--bis-white);
}

.bis-header__inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.bis-logo {
    position: relative;
    display: block;
    width: 98px;
    height: 45px;
    flex-shrink: 0;
}

.bis-logo__mark, .bis-logo__dot {
    position: absolute;
    display: block;
    max-width: none;
}

.bis-logo__mark { inset: 0 auto auto 0; }
.bis-logo__dot { inset: 4.59% auto auto 41.08%; }

.bis-logo__name {
    position: absolute;
    left: 50px;
    top: 4.2px;
    font-size: 10.6px;
    font-weight: 400;
    line-height: 12.65px;
}

.bis-header__nav, .bis-header__actions {
    display: flex;
    align-items: center;
}

.bis-header__nav {
    gap: clamp(14px, 2vw, 29px);
    font-size: 15px;
    font-weight: 500;
}

.bis-header__actions { justify-content: flex-end; gap: 16px; }
.bis-header__phone { white-space: nowrap; font-weight: 600; }

.bis-icon { display: block; max-width: none; flex-shrink: 0; }
.bis-header__phone .bis-icon, .bis-menu-toggle { display: none; }

.bis-company-menu { position: relative; }

.bis-company-menu summary {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    list-style: none;
    cursor: pointer;
}

.bis-company-menu summary::-webkit-details-marker { display: none; }

.bis-company-menu__links {
    position: absolute;
    top: calc(100% + 12px);
    left: -14px;
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--bis-line);
    border-radius: 5px;
    background: var(--bis-white);
}

.bis-company-menu__links a { display: block; padding: 8px 10px; }

.bis-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--bis-light);
}

.bis-hero__image {
    position: absolute;
    inset: 0 max(0px, (100% - 1440px) / 2) 0 max(19.83%, (100% - 1440px) / 2 + 285.6px);
    z-index: -1;
    background:
        linear-gradient(90deg, #f2f9fb 0%, rgb(242 249 251 / 98%) 23%, rgb(242 249 251 / 84%) 45%, rgb(242 249 251 / 56%) 63%, rgb(242 249 251 / 33%) 83%, rgb(242 249 251 / 25%) 100%),
        url("portal-hero.png") center / cover no-repeat;
}

.bis-hero__content {
    display: grid;
    align-content: start;
    gap: 27px;
    padding-block: 47px 57px;
}

.bis-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    font-size: 16px;
    font-weight: 600;
}

.bis-breadcrumbs a, .bis-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bis-hero__rule {
    width: 54px;
    height: 3px;
    background: var(--bis-accent);
}

.bis-hero__copy { display: grid; gap: 21px; }

.bis-portal h1 {
    color: var(--bis-dark);
    font-size: 58px;
    font-weight: 600;
    line-height: 63px;
    letter-spacing: -0.02em;
}

.bis-hero__copy p, .bis-entry__copy p {
    max-width: 730px;
    color: var(--bis-text);
    font-size: 18px;
    line-height: 27px;
}

.bis-entry { background: var(--bis-light); }

.bis-entry__inner {
    display: grid;
    grid-template-columns: minmax(0, 510px) minmax(0, 546px);
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    padding-block: 72px;
}

.bis-entry__copy { display: grid; gap: 12px; }

.bis-entry h2 {
    color: var(--bis-dark);
    font-size: 40px;
    font-weight: 600;
    line-height: 46px;
    letter-spacing: -0.02em;
}

.bis-entry__card {
    display: grid;
    justify-items: start;
    gap: 15px;
    padding: 28px;
    border: 1px solid var(--bis-line);
    border-radius: 5px;
    background: var(--bis-white);
}

.bis-entry__instruction { color: var(--bis-text); }

.bis-entry__domain {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--bis-line);
    border-radius: 4px;
    background: var(--bis-light);
    color: var(--bis-deep);
    font-size: 15px;
    font-weight: 500;
}

.bis-portal .bis-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 4px;
    background: var(--bis-accent);
    color: var(--bis-dark);
    font: 600 16px/22px "BIS Inter", Arial, sans-serif;
    cursor: pointer;
}

.bis-portal .bis-button:hover { background: #ffab48; text-decoration: none; }
.bis-portal .bis-button:disabled { opacity: 0.68; cursor: wait; }

.bis-text-link { min-height: 40px; font-size: 16px; font-weight: 600; }

.bis-footer {
    padding-block: 44px;
    background: var(--bis-dark);
    color: var(--bis-white);
}

.bis-footer__main {
    display: grid;
    grid-template-columns: minmax(265px, 360px) minmax(130px, 180px) minmax(155px, 180px);
    gap: clamp(28px, 5.62vw, 81px);
}

.bis-footer__main nav, .bis-footer__contact {
    display: grid;
    justify-items: start;
    align-content: start;
    gap: 9px;
}

.bis-footer__links { font-size: 14px; font-weight: 500; }
.bis-footer__contact { color: var(--bis-mist); font-size: 14px; }
.bis-footer__contact .bis-logo { color: var(--bis-white); }
.bis-footer .bis-footer__phone { color: var(--bis-white); font-size: 18px; font-weight: 600; }

.bis-footer__legal {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid rgb(225 238 241 / 42%);
    color: var(--bis-mist);
    font-size: 13px;
    line-height: 19px;
}

.bis-dialog {
    position: fixed;
    inset: 0;
    z-index: 10;
    width: min(550px, 100% - 44px);
    max-height: calc(100dvh - 44px);
    margin: auto;
    padding: 26px 28px;
    overflow: auto;
    border: 0;
    border-radius: 6px;
    background: var(--bis-white);
    color: var(--bis-dark);
}

.bis-dialog::backdrop { background: rgb(27 73 89 / 86%); }
.bis-dialog[open]:not(:modal) { box-shadow: 0 0 0 120vmax rgb(27 73 89 / 86%); }
.bis-dialog[open] { display: grid; gap: 13px; }

.bis-dialog__head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 8px;
}

.bis-dialog__head h2 {
    color: var(--bis-dark);
    font-size: 35px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: -0.02em;
}

.bis-dialog__head .bis-dialog__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 4px;
}

.bis-dialog__close:hover { background: var(--bis-light); }
.bis-dialog > p { color: var(--bis-text); font-size: 15px; line-height: 23px; }
.bis-request { display: grid; justify-items: start; gap: 13px; margin: 0; }

.bis-field {
    display: grid;
    gap: 5px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.bis-field input, .bis-field textarea {
    min-height: 48px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--bis-field-line);
    border-radius: 4px;
    background: var(--bis-white);
    color: var(--bis-text);
    font: 400 16px/22px "BIS Inter", Arial, sans-serif;
}

.bis-field textarea { min-height: 92px; resize: vertical; }

.bis-consent {
    display: flex;
    align-items: start;
    gap: 8px;
    font-size: 13px;
}

.bis-consent input { margin-top: 4px; accent-color: var(--bis-deep); }
.bis-consent label a { text-decoration: underline; text-underline-offset: 0.17em; }

.bis-feedback {
    padding: 10px 12px;
    border-radius: 4px;
    background: var(--bis-light);
    color: var(--bis-dark);
    font-size: 14px;
}

.bis-feedback--error { background: #fff3e1; color: #732d1b; }

.bis-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

@media (max-width: 800px) {
    body.bis-portal { --bis-gutter: 22px; }

    .bis-header__inner {
        min-height: 66px;
        grid-template-columns: 1fr auto;
        gap: 0;
    }

    .bis-header__actions { grid-column: 2; grid-row: 1; }

    .bis-header__phone, .bis-menu-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
    }

    .bis-header__phone span { display: none; }
    .bis-header__phone .bis-icon { display: block; }

    .bis-menu-toggle {
        display: none;
        border: 0;
        border-radius: 4px;
        background: var(--bis-light);
        cursor: pointer;
    }

    .bis-portal--interactive .bis-menu-toggle { display: grid; }

    .bis-header__nav {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-bottom: 12px;
    }

    .bis-portal--interactive .bis-header__nav { display: none; }
    .bis-portal--interactive .bis-header__nav.is-open { display: flex; }
    .bis-header__nav > a, .bis-company-menu > summary { padding-block: 12px; }

    .bis-company-menu__links {
        position: static;
        padding: 0 0 0 12px;
        border: 0;
    }

    .bis-hero__image {
        inset-inline: 0;
        background: none;
    }

    .bis-hero__image::before {
        position: absolute;
        inset: 0 0 0 -84px;
        background: url("portal-hero.png") center center / cover no-repeat;
        content: "";
    }

    .bis-hero__image::after {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgb(242 249 251 / 99.5%) 0%, rgb(242 249 251 / 95%) 34%, rgb(242 249 251 / 84%) 58%, rgb(242 249 251 / 71%) 80%, rgb(242 249 251 / 40%) 100%);
        content: "";
    }

    .bis-hero__content { gap: 18px; padding-block: 30px 36px; }
    .bis-breadcrumbs { min-height: 40px; font-size: 15px; }
    .bis-hero__rule { width: 38px; }
    .bis-hero__copy { gap: 13px; }
    .bis-portal h1 { font-size: clamp(29px, 9.2vw, 36px); line-height: 1.085; }
    .bis-hero__copy p, .bis-entry__copy p { font-size: 16px; line-height: 24px; }
    .bis-entry__inner { grid-template-columns: 1fr; gap: 19px; padding-block: 42px; }
    .bis-entry h2 { font-size: 29px; line-height: 34px; }
    .bis-entry__card { padding: 22px 18px; }
    .bis-footer { padding-block: 31px; }
    .bis-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
    .bis-footer__contact { grid-column: 1 / -1; }
    .bis-footer__legal { flex-direction: column; align-items: start; margin-top: 20px; padding-top: 20px; }
    .bis-dialog { padding: 20px 18px; }
    .bis-dialog__head h2 { font-size: 27px; line-height: 32px; }
}
