/* Шрифт Inter (variable, начертания 100–900), только кириллица и латиница — с сайта, без Google Fonts.
   Файлы из пакета @fontsource-variable/inter, лицензия SIL OFL 1.1 (../fonts/OFL-Inter.txt). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-cyrillic-wght-normal.de93fdc85e3d.woff2") format('woff2-variations'),
         url("../fonts/inter-cyrillic-wght-normal.de93fdc85e3d.woff2") format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format('woff2-variations'),
         url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format('woff2');
    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;
}

/* SVG-иконки ({% icon %}): размером и цветом с окружающий текст. */
.icon {
    display: inline-block;
    height: 1em;
    width: auto;
    overflow: visible;
    vertical-align: -0.125em;
    fill: currentColor;
}

:root {
    --primary-color: #e22b2e;
    --primary-color-dark: #d11f22;
    --text-color: white;
    --text-color-invert: black;
    --default-radius: 20px;
    --default-padding: 40px;

    --block-container-margin-top: 120px;
    --block-container-margin-top-half: 60px;

    --swiper-pagination-color: var(--primary-color);
}


body {
    background: #171717;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

.block-margin {
    margin-top: var(--block-container-margin-top);
}

.block-margin-half {
    margin-top: var(--block-container-margin-top-half);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 400;
}

p, li {
    font-weight: 300;
}

.mt-8 {
    margin-top: 80px;
}

.banner-main {
    border-radius: var(--default-radius);
    padding: var(--default-padding);
    height: 600px;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.pointer {
    cursor: pointer;
}

.image-banner {
    position: relative;
    border-radius: var(--default-radius);
    padding: var(--default-padding);
    height: 460px;
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.s-banner {
    height: unset !important;
}


/* Buttons */

.button-solid {
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;


    &.black {
        background: black;
        color: white;
        border: 1px solid black;

        &.small {
            padding: 8px 20px;
        }

        &:hover {
            background: var(--primary-color);
            box-shadow: 0 2px 20px var(--primary-color-dark);
            transform: translateY(-2px);
            border: 1px solid var(--primary-color);
        }

        &:active {
            background-color: var(--primary-color-dark);
            transform: translateY(0);
        }
    }


    &.red {
        background: var(--primary-color);
        color: white;

        &:hover {
            background: var(--primary-color);
            box-shadow: 0 2px 20px var(--primary-color-dark);
            transform: translateY(-2px);
        }

        &:active {
            background-color: var(--primary-color-dark);
            transform: translateY(0);
        }
    }
}

.button-outline {
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    cursor: pointer;
    white-space: nowrap;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    &.small {
        padding: 8px 20px;
    }

    &.black {
        color: black; /* Цвет текста */
        border: 1px solid black;

        &:hover {
            color: white;
            border: 1px solid var(--primary-color);
            background: var(--primary-color);
            box-shadow: 0 2px 20px var(--primary-color-dark);
            transform: translateY(-2px);
        }

        &:active {
            background-color: var(--primary-color-dark);
            transform: translateY(0);
        }
    }

    &.white {
        color: white;
        border: 1px solid white;

        &:hover {
            border: 1px solid var(--primary-color);
            background: var(--primary-color);
            box-shadow: 0 2px 20px var(--primary-color-dark);
            transform: translateY(-2px);
        }

        &:active {
            background-color: var(--primary-color-dark);
            transform: translateY(0);
        }
    }

}

.button-simple {
    display: block;
    color: white;
    padding: 10px 25px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    &.large {
        font-size: 1.5rem;
    }

    &:hover {
        filter: drop-shadow(0 0 0.75rem var(--primary-color));
    }

    &:active {
        filter: drop-shadow(0 0 0.40rem var(--primary-color));
    }


}

.round-button {
    background-color: #E0E0E0;
    border: none;
    border-radius: 50%;
    width: 45px;
    min-width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;

    &:hover {
        background-color: var(--primary-color) !important;
    }
}


.round-button.bg-gray {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
}

.round-button.bg-transparent {
    background-color: transparent;
    color: white;
}

.download-button-icon {
    color: white;
    font-size: 15px;
}

.footer-button {
    text-decoration: none;
    display: block;
    color: white;
}


/* Blocks */
.timeline-block {
    border-radius: var(--default-radius);
    background: rgba(255, 255, 255, 0.08);
    padding: var(--default-padding);
}

.contact-block {
    border-radius: var(--default-radius);
    background: rgba(255, 255, 255, 0.08);
    padding: 22px 26px;
}

.vacancy-block {
    border-radius: var(--default-radius);
    background: rgba(255, 255, 255, 0.08);
    padding: 22px 26px;
}

.vacancy-description-block {
    border-radius: var(--default-radius);
    background: rgba(255, 255, 255, 0.02);
    padding: 22px 26px;
}

.vacancy-text p:last-child {
    margin-bottom: 0;
}

/* Телефоны и почта в контактах — ссылками (звонок в одно касание), но выглядят как текст. */
a.contact-link {
    color: inherit;
}

a.contact-link:hover {
    text-decoration: underline;
}

.white-block-wide {
    background-color: white;
    border-radius: var(--default-radius);
    padding-top: 100px;
    padding-bottom: 80px;
}


.white-block {
    background: #fffdfd;
    border-radius: var(--default-radius);
    padding: 40px 28px;
    color: var(--text-color-invert);
}

.gray-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--default-radius);
    padding: var(--default-padding)
}

.gray-box.small-padding {
    padding: 20px;
}


.bloor-box {
    background: rgba(0, 0, 0, 0.20);
    border-radius: var(--default-radius);
    padding: 20px;
    backdrop-filter: blur(3px);
    border: solid 1px rgba(255, 255, 255, 0.05);

    &.widget {
        height: 220px;
        width: 380px;

    }

    &.img-block {
        max-width: 500px;
    }
}

.footer {
    margin-top: 100px;
    background-color: var(--primary-color);
    border-radius: 20px 20px 0 0;
}


/* Headings */

.heading-dot {
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    margin-bottom: 0;
}

.heading-dot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 47%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    margin-bottom: 3px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.heading-caption {
    font-size: 1.8rem;

    &.bigger {
        font-size: 2.3rem;
    }
}


/* Specific text */
a {
    color: #1d66d1;
    text-decoration: none;
}

.main-caption {
    max-width: 800px;
}

.image-banner-caption {
    font-size: 5rem;
    font-weight: bold;
    line-height: 0.7;
    white-space: nowrap;

    &.smaller {
        margin-top: 15px;
        font-size: 2rem;

    }
}

.main-snippet {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.7rem;
}

.mute {
    opacity: 0.6;
    font-size: .8rem;
}


.year {
    font-size: 1.5rem;
}

.quote-sign {
    font-size: 40px;
}


/* Sliders */
.swiper {
    /*width: 100%;*/
    /*height: 300px;*/
}

.swiper-wrapper {
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.awardsSwiper {
    height: 300px;
}


.mainBannerSwiper {
    height: 260px !important;
}


.award-slide {
    height: 100px;
    width: 210px !important;
    border-radius: 3px;
    overflow: hidden;
}

.award-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Other */
.gradient-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to bottom, rgba(23, 23, 23, 1), transparent);
    pointer-events: none;
    z-index: 10;
}

.gradient-overlay-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(23, 23, 23, 1), transparent);
    pointer-events: none;
    z-index: 10;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.adaptive-padding {
    padding: 40px;
}


.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999; /* поверх всего */
    display: flex;
    align-items: center;
    justify-content: center;

    &.on-black {
        background-color: rgba(23, 23, 23, 0.4);
    }

    &.on-white {
        background-color: rgba(255, 255, 255, 0.4);
    }
}


/* Images */
img.logo {
    height: 50px;
    width: auto;
}

.quote-avatar {
    border-radius: 50%;
    height: 65px;
    width: 65px;
}

.img-fluid {
    border-radius: var(--default-radius);
}

.img-download {
    height: 65px;
    border-radius: 10px;
}

.b-rad-10 {
    border-radius: 10px;
}


/* Forms */
.form-field {
    border-radius: 30px;
    border: 1px solid black;
    margin-bottom: 12px;
    height: 45px;
    padding-left: 16px;
}


.modal-blured {
    --bs-modal-bg: rgba(27, 34, 35, 0.32) !important;
    backdrop-filter: blur(10px);
}

.modal-menu-item {
    font-size: 40px;
    color: green;
    font-weight: lighter;
}

/* Forms */
.message-success {
    position: absolute;

}

/* Forms */
.modal-content {
    border-radius: var(--default-radius);
    border: none;
}


@media (max-width: 767px) {

}

@media (max-width: 767px) {
    :root {
        --default-padding: 26px;
    }

    .white-block {
        padding: 26px 12px;
    }

    .image-banner-caption {
        font-size: 3rem;
        line-height: 0.7;

        &.smaller {
            margin-top: 15px;
            font-size: 2rem;

        }
    }
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;

    &.appear {
        opacity: 1;
        transform: translateY(0);
    }
}


.more-photo-link {
    color: white;
    font-weight: 200;

}
/* Точки слайдеров: достаточно далеко друг от друга, чтобы попадать пальцем. */
.swiper {
    --swiper-pagination-bullet-size: 10px;
    --swiper-pagination-bullet-horizontal-gap: 8px;
    --swiper-pagination-bullet-vertical-gap: 8px;
}

/* Вакансии: строка списка — ссылка на страницу вакансии. */
a.vacancy-link {
    color: inherit;
    transition: background-color .2s;
}

a.vacancy-link:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Хлебные крошки над заголовком страницы. */
.breadcrumbs {
    font-size: .85rem;
    opacity: .75;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: underline;
}

/* Галочка согласия на обработку персональных данных в формах. */
.consent {
    font-size: .8rem;
    text-align: left;
}

.consent a,
.cookie-link {
    color: inherit;
    text-decoration: underline;
}

.consent .form-check-input {
    cursor: pointer;
}

/* Политика и согласие: длинный юридический текст. */
.legal-text {
    max-width: 900px;
}

.legal-text a {
    color: inherit;
    text-decoration: underline;
}

.legal-table {
    --bs-table-bg: transparent;
    --bs-table-color: inherit;
    --bs-table-border-color: rgba(255, 255, 255, 0.15);
    font-size: .9rem;
}

.legal-table td, .legal-table th {
    font-weight: 300;
    vertical-align: top;
}

.legal-table th {
    font-weight: 500;
}
