/* RESET */

/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    /* border: none; */
}

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

/* Links */

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {}

address {
    font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button,
input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    /* outline: none; */
}

button::-moz-focus-inner {
    padding: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}


/* FONTS */

@font-face {
    font-family: 'Alumni Sans SC';
    src: url('../fonts/AlumniSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Alumni Sans SC';
    src: url('../fonts/AlumniSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Alumni Sans SC';
    src: url('../fonts/AlumniSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Alumni Sans SC';
    src: url('../fonts/AlumniSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Alumni Sans SC';
    src: url('../fonts/AlumniSans-BlackItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Inter fonts';
    src: url('../fonts/Inter.ttf') format('truetype');
}

h1 {
    font-family: Alumni Sans SC;
    font-size: 94px;
    font-weight: 500;
    line-height: 100px;
    text-align: left;
}

h2 {
    font-family: Alumni Sans SC;
    font-size: 64px;
    font-weight: 500;
    line-height: 70px;
    text-align: left;
}

.text64 {
    font-family: Alumni Sans SC;
    text-align: left;
    line-height: 70.4px;
}




.font_w300 {
    font-weight: 300;
}

.font_w400 {
    font-weight: 400;
}

.font_w500 {
    font-weight: 500;
}

.font_w700 {
    font-weight: 700;
}

.text36 {
    font-family: Alumni Sans SC;
    text-align: left;
    line-height: 39.6px;
}

.textBaseInter {
    font-family: Inter fonts;
    text-align: left;
}

.textBaseAlumni {
    font-family: Alumni Sans SC;
    text-align: left;
}

.font_s16 {
    font-size: 16px;
    line-height: 20.8px;
}

.font_s16_footer {
    font-size: 16px;
    line-height: 20.8px;
}

.font_s18 {
    font-size: 18px;
    line-height: 23.4px;
}

.font_s18lang {
    font-size: 18px;
    line-height: 23.4px;
}

.font_s20 {
    font-size: 20px;
    line-height: 26px;
}

.font_s36 {
    font-size: 36px;
    line-height: 39.6px;
}

.font_s40 {
    font-size: 40px;
    line-height: 44px;
}

.font_s64 {
    font-size: 64px;
    line-height: 70.4px;
}

.font_lh26 {
    line-height: 26px;
}

.noWrap {
    word-break: keep-all;
    white-space: nowrap
}

.breakWord {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.breakAll {
    word-break: break-all;
}

.breakNormal {
    word-break: normal;
}

.breakComplex {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.clamped-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;
    /* Показываем 4 строки */
    line-height: 1.5;
    /* Интерлиньяж */
    max-height: calc(1.5em * 4);
    /* Задаем максимальную высоту для 4 строк */
}

/* STYLES ****** */
body {
    background: white;
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    align-items: center;
    font-family: 'Alumni Sans SC';
    justify-content: center;
    overflow-x: hidden;

}

.headerStyle {
    height: 70px;
    width: 100vw;

    margin-bottom: 5px;
    overflow-x: hidden;
}

.container {
    background: white;
    /* width: 100%; */
    min-height: calc(100vh - 130px);
    padding-left: 140px;
    padding-right: 140px;
    padding-top: 50px;
    padding-bottom: 160px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: start;
    align-items: center;
    overflow-x: hidden;
}

.content4 {
    grid-column: 1/5;
}

.content8 {
    grid-column: 5/13;
}

.content4contact {
    grid-column: 1/5;
}

.content8contact {
    grid-column: 5/13;
}


.content12 {
    grid-column: 1/13;
}

.content {
    max-width: 1400px;
    background: white;
    width: 100%;
    /* border: 1px solid blue; */
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 20px;
}


.mobile {
    display: none;
}

.desktop {
    display: block;
}


.footer {
    height: 61px;
    width: 100%;
    border-bottom: 1px solid #DDDDDD;
    background: #F3F3F3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #DDDDDD
}

.footer_content {
    max-width: 1400px;
}

.ft16 {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    text-align: left;
}

.ftGray {
    color: #818181;
}

.borderRadius {
    border-radius: 8px;
    overflow: hidden;
}

a,
a:link,
a:visited {
    color: #2A2A2A;
}

/* ABOUT ************************** */
.numberBlock {
    display: flex;
    justify-content: start;
    gap: 10px;
}

.teamContainer {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
}

.teamItem {
    display: flex;
    flex-direction: column;
}

.teamPhoto {

    max-width: 227px;
    width: 100%;
}

.teamPhotoContainer {
    display: flex;
    width: 100%;
    flex-direction: column;
}

/*  BUTTONS ********************** */

.fillButton {
    border: 1px solid #1F1F1F !important;
    background-color: #1F1F1F;
    height: 41px;
    padding: 10px 64px 10px 64px;
    border-radius: 8px;
    border: 1px;
    color: white;
    transition: background-color 0.5s ease;
    text-align: center;
}

.fillButton:hover {
    border: 1px solid #1F1F1F;
    background-color: white;
    height: 41px;
    padding: 10px 64px 10px 64px;
    border-radius: 8px;
    border: 1px;
    color: #1F1F1F;
}

.maxWidthEmptyButton {
    padding: 10px 16px 10px 16px;
    border: 1px solid #1F1F1F;
    width: 100%;
    transition: background-color 0.5s ease;
}

.maxWidthEmptyButton:hover {
    border: 1px solid #1F1F1F;
    background-color: #1F1F1F;
    color: white;
    width: 100%;
}

.inputText[type="text"] {
    border: 1px solid rgba(31, 31, 31, 1);
    height: 47px;
    width: 100%;
    padding: 12px 20px 12px 20px;
}

.textArea {
    min-height: 116px;
    width: 100%;
    padding: 12px 20px 12px 20px;
    resize: none;
}

/* Скрываем стандартный чекбокс */
.checkbox-container input[type="checkbox"] {
    display: none;
}

/* Контейнер для кастомного чекбокса */
.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

/* Стили кастомного чекбокса */
.custom-checkbox {
    min-width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid rgba(31, 31, 31, 1);
    border-radius: 4px;
    /* Можно сделать радиус для скругления углов */
    margin-right: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

/* Добавляем галочку с помощью псевдоэлемента */
.custom-checkbox::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Изменяем стили, когда чекбокс активен */
.checkbox-container input[type="checkbox"]:checked+.custom-checkbox {
    background-color: rgba(31, 31, 31, 1);
    border-color: rgba(31, 31, 31, 1);
}

.checkbox-container input[type="checkbox"]:checked+.custom-checkbox::after {
    opacity: 1;
    /* Отображаем галочку */
}

/* CONTACTS********************* */

.addressContainer {
    display: flex;
    justify-content: space-between;
    column-gap: 60px;
}

.socialIcon {
    width: 26px;
    height: 26px;
}

.socialContainer {
    display: flex;
    column-gap: 12px;

}

.containerInputs {
    display: flex;
    column-gap: 20px;
}

/* HEADER ***************** */

.containerHeader {
    background: white;
    width: 100%;
    padding-left: 140px;
    padding-right: 140px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.containerLogo {
    display: flex;
    align-items: center;
    column-gap: 12px;
}

.containerMenu {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.headerContainerMenu {
    display: flex;
    justify-content: space-between;
}

.mobileMenu {
    display: flex;
    flex-direction: column;
    right: -100%;
    top: 0;
    position: fixed;
    width: 80%;
    height: 100%;
    background-color: white;
    z-index: 100;
    border: 1px solid #DDDDDD;
    padding: 20px;
    row-gap: 20px;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    overflow-x: hidden;
}

.showMobileMenu {
    right: 0;
}

.menuMobileBkg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 80;
    display: none;
}

.menuItem {
    cursor: pointer;
    text-decoration: none !important;
    position: relative;

    padding-bottom: 1px;
    /* Пространство для border-bottom */
    transition: border-bottom-color 0.9s ease;
    /* Переход для цвета */
    border-bottom: 1px solid transparent;
}

.menuItem.active {
    border-bottom: 1px solid black;

}

.menuItem:hover {
    /* border-bottom: 1px solid black; */
    border-bottom-color: black;
}

.menuItem:hover::after {
    width: 100%;
    /* При наведении подчеркивание растягивается на всю ширину текста */
}

.menuItem:hover {
    text-decoration: underline;
}


/* LANG */

/* Стили контейнера для select */
.custom-select {
    position: relative;
    display: inline-block;
    height: 44px;
    border-radius: 40px;
    border: 1px solid #DDDDDD;
}

/* Скрываем стандартный select */
select {
    display: none;
}

/* Стили кастомного select */
.select-selected {
    /* background-color: #f1f1f1; */
    /* border: 1px solid #DDDDDD; */
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    user-select: none;
    position: relative;
    border-radius: 40px;
    transition: transform 0.3s ease;
}

.select-arrow-active {
    transition: transform 0.3s ease;
}

/* Стили выпадающего списка */
.select-items {
    position: absolute;
    background-color: white;
    width: 100%;
    top: 120%;
    left: 0;
    border: 1px solid #DDDDDD;
    z-index: 99;
    display: none;
    /* box-shadow: 2px 2px 2px black; */
    border-radius: 8px;
}

.select-items div {
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    display: flex;
    /* Для выравнивания текста и иконки */
    align-items: center;
    user-select: none;
}

.selectFlag {
    height: 20px;
    width: 20px;
    margin-right: 10px
}

.select-items div:hover {
    background-color: #ddd;
}

.select-items .select-arrow-active {
    display: none;
}

/* Показ выпадающего списка при открытии */
.select-selected.select-arrow-active+.select-items {
    display: block;

}

/* MAIN  */

.fade-in-up {
    opacity: 0;
    /* Изначально текст невидим */
    transform: translateY(20px);
    /* Смещаем текст вниз на 20px */
    animation: fadeInUp 1.5s ease forwards;
    /* Анимация длится 1.5 секунды */
    animation-delay: 0.5s;
    /* Задержка перед началом анимации 0.5 сек */
}



@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
        /* Начальное смещение вниз */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* Возвращаем текст в нормальное положение */
    }
}

.mobileMainContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    column-gap: 10px;
}




.mainPhoto {
    width: 100vw;

}

.mainPhotoCont::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(77, 168, 247, 0.8);
    /* Полупрозрачный синий фон */
    pointer-events: none;
    mix-blend-mode: multiply;
}


.mainPhotoCont2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 142, 64, 0.8);
    background-blend-mode: color;
    /* Полупрозрачный синий фон */
    pointer-events: none;
    mix-blend-mode: multiply;
}

.mainPhoto2 {
    width: 100vw;
    float: right;
}


.aspect9_16 {
    aspect-ratio: 0.6
}

.aspect16_9 {
    aspect-ratio: 16/9
}

.overflow_hidden {
    overflow: hidden;
}


.fade-in-text {
    opacity: 0;
    /* Исходное состояние: элемент невидим */
    transform: translateY(20px);
    /* Легкое смещение вниз */
    transition: opacity 1.5s ease, transform 1.5s ease;
    /* Плавный переход для обоих свойств */
}

/* Класс для активного состояния, когда элемент в видимой области экрана */
.fade-in-text.visible {
    opacity: 1;
    transform: translateY(0);
    /* Возвращаем элемент в начальное положение */
}

.overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(77, 168, 247, 0.8);
    background-blend-mode: color;
    pointer-events: none;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 142, 64, 0.8);
    background-blend-mode: color;
    pointer-events: none;
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* MARGINS */

.mb8 {
    margin-bottom: 8px;
}

.mb10 {
    margin-bottom: 8px;
}

.mb20 {
    margin-bottom: 20px;
}

.pt24 {
    padding-top: 24px;
}

.mb32 {
    margin-bottom: 32px;
}

.mb60 {
    margin-bottom: 60px;
}

.mb120 {
    margin-bottom: 120px;
}

/*  ACTIONS */

.dropdownCard {
    display: flex;
}

.borderTopCard {
    border-top: 1px solid #1F1F1F
}

.arrow {
    width: 20px;
    height: 20px;
    margin: 4px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.arrow.active {
    transform: rotate(90deg);
}

.ourPhotoContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
}

.mobileCollapseContainer {
    display: flex;
    justify-content: space-between;
}

.contentAccordion {
    max-height: 0;
    /* Изначально скрыто */
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.contentAccordion.active {
    opacity: 1;
    max-height: 100%;
    /* Высота по необходимости */
}






/* NEWS */

.cardNewsHref {
    text-decoration: none !important;
}

.cardNewsHref:visited {
    text-decoration: none !important;
}

.cardNews {
    border: 1px solid #1F1F1F;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1/3;
    aspect-ratio: 16/9;
    position: relative;
}

.cardNews:hover {
    color: white;
    cursor: pointer;
}

.cardNewsHead {
    display: flex;
    justify-content: space-between;
}

.cardNewsContainer {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    column-gap: 20px;
}

.cardImageNews {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    aspect-ratio: 16/9;
    filter: brightness(50%);
    width: 100%;
    transition: opacity 1s ease;
    opacity: 0;
}

.cardNews:hover .cardImageNews {
    /* display: block; */
    opacity: 1;
}

.tagNews {
    border: 1px solid #1F1F1F;
    padding: 2px 8px 2px 8px;
}

.cardNews:hover .tagNews {
    border: 1px solid white;
}


/* MEDIA */

@media (max-width: 1280px) {
    .container {
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 50px;
        padding-bottom: 111px;
    }

    .containerHeader {
        padding-left: 60px;
        padding-right: 60px;
    }

    h1 {
        font-size: 6vw;
        line-height: 6.6vw;
    }

    h2 {
        font-size: 3.9vw;
        line-height: 4.2vw;
    }

    .font_s36 {
        font-size: 2.5vw;
        line-height: 2.7vw;
    }

    .font_s18lang {
        font-size: 1.25vw;
        line-height: 1.8vw;
    }

    .font_s64 {
        font-size: 3.9vw;
        line-height: 4.2vw;
    }

    .font_s40 {
        font-size: 3.125vw;
        line-height: 3.43vw;
    }

    .font_s16 {
        font-size: 1.09vw;
        line-height: 1.4vw;
    }

    .mobile {
        display: none;
    }
}

@media (max-width: 1024px) {

    .containerHeader {
        padding-left: 40px;
        padding-right: 40px;
    }

    .container {
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 50px;
        padding-bottom: 183px;
    }

    h1 {
        font-size: 6.26vw;
        line-height: 7.22vw;
    }

    h2 {
        font-size: 4.68vw;
        line-height: 4.68vw;
    }

    .font_s36 {
        font-size: 2.92vw;
        line-height: 3.22vw;
    }

    .font_s18lang {
        font-size: 1.46vw;
        line-height: 1.55;
    }

    .font_s64 {
        font-size: 4.68vw;
        line-height: 5.07vw;
    }

    .font_s16 {
        font-size: 1.36vw;
        line-height: 1.77vw;
    }

    .mobile {
        display: none;
    }
}

@media (max-width: 860px) {
    .containerHeader {
        padding-left: 40px;
        padding-right: 40px;
    }

    .container {
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 40px;
        padding-bottom: 174px;
    }

    h1 {
        font-size: 6.04vw;
        line-height: 6.62px;
    }

    h2 {
        font-size: 5.11vw;
        line-height: 5.11vw;
    }

    .font_s36 {
        font-size: 3.02vw;
        line-height: 3.25vw;
    }

    .font_s18lang {
        font-size: 1.74vw;
        line-height: 2.20vw;
    }

    .font_s64 {
        font-size: 5.11vw;
        line-height: 5.58vw;

    }

    .font_s16 {
        font-size: 1.51vw;
        line-height: 1.96vw;
    }

    .mobile {
        display: none;
    }

    .content4contact {
        grid-column: 1/13;
    }

    .content8contact {
        grid-column: 1/13;
    }

    .planshet_mb20 {
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {

    .arrowBack {
        max-width: 20px;

    }

    .containerHeader {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
        padding-bottom: 19px;
    }

    h1 {
        font-size: 12.82vw;
        line-height: 12.82vw;
    }

    h2 {
        font-size: 7.69vw;
        line-height: 6.66vw;
    }

    .font_s36 {
        font-size: 6.15vw;
        line-height: 6.66vw;
    }

    .font_s18lang {
        font-size: 3.84vw;
        line-height: 5vw;
    }

    .font_s64 {


        font-size: 10.2vw;
        line-height: 11.2vw;
    }

    .font_s16 {

        font-size: 3.58vw;
        line-height: 4.66vw;
    }

    .font_s40 {
        font-size: 9.74vw;
        line-height: 10.5vw;
    }

    .cardNewsContainer {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 0px;
        row-gap: 20px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .content4 {
        grid-column: 1/13;
    }

    .content8 {
        grid-column: 1/13;
    }

    .content4contact {
        grid-column: 1/13;
    }

    .content8contact {
        grid-column: 1/13;
    }

    .mb120 {
        margin-bottom: 80px;
    }

    .alignTitle {
        text-align: right;
    }

    .numberBlock {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .mobile_bm20 {
        margin-bottom: 20px;
    }

    .mobile_mb60 {
        margin-bottom: 60px;
    }

    .font_s16_footer {
        font-size: 3.07vw;
        line-height: 4vw;
    }

    .addressContainer {
        flex-direction: column;
    }

    .mainPhoto2 {
        width: 160vw;
        float: right;
        transform: translateX(20vw);
    }

    .mainPhoto {
        width: 160vw;
        transform: translateX(-50vw);
    }

    .ourPhotoContainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }

    body {
        overflow-x: hidden
    }

    .teamContainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 60px;
    }

    .teamItem:nth-child(2n) {
        width: 100%;
        align-items: end;
    }

    .teamPhotoContainer {
        width: 227px;
    }

    .containerInputs {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }
}

.z10 {
    z-index: 10;
}


.arrowBack {
    width: 30px;
}

.backContainer {
    display: flex;
    column-gap: 10px;
}

.backContainer:hover {
    text-decoration: underline;
    cursor: pointer;
}

.coverFit {
    object-fit: cover;
}

.fillButton:disabled {
    opacity: 0.5;
}

.fillButton:disabled:hover {
    opacity: 0.5;
    background-color: #1F1F1F;
    color: white;
    cursor: not-allowed;
}

.spanLang {
    margin-right: 4px;
}