@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


html,
body {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #243855;
}

html {
    scroll-behavior: smooth;
  }

body {
    border: none;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    background-color: #F1F1F1;
}

*, *:before, *:after {
    -webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4 {
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    text-transform: none;
    color: #243855;
}

h1 {
    font-size: 96px;
    line-height: 144px;
}

h2 {
    font-size: 35px;
    line-height: 53px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    line-height: 36px;
}

a {
    text-decoration: none;
    display: inline-block;
    transition: .4s;
}

button {
    cursor: pointer;
    transition: 0.4s;
    font-family: "Poppins", sans-serif;
}

input, select, textarea {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #243855;
}

strong {
    font-weight: 700;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

main {
    display: block;
}

section {
    position: relative;
}

.wrapper {
    max-width: 1300px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.button {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    border-radius: 50px;
    transition: 0.4s;
    position: relative;
}

.button_primary {
    background-color: #FF7523;
    border: 1px solid #FF7523;
    color: #ffffff;
}
.button_primary:hover {
    background-color: #f1f1f1;
    color: #FF7523;
}

.button_primary:active,
.button_primary:focus {
    background-color: #FF752366;
    border-color: #FF752366;
    color: #FF7523;
}

.button_secondary {
    background-color: #243855;
    border: 1px solid #243855;
    color: #EBEBEB;
}

.button_secondary:hover {
    background-color: #f1f1f1;
    color: #243855;
}

.button_secondary:active,
.button_secondary:focus {
    background-color: #57667D;
    border-color: #57667D;
    color: #EBEBEB;
}

.button_agreement {
    height: 40px;
    padding: 0 56px 0 16px;
    background-color: #F1F1F1;
    border: 1px solid #F1F1F1;
    color: #243855;
    box-shadow: 
    0px 1px 3px 1px #00000026,
    0px 1px 2px 0px #0000004D
}

.button_agreement:hover {
    box-shadow: none
}

.button_agreement:active,
.button_agreement:focus {
    box-shadow: 
    0px 1px 3px 1px #00000026 inset,
    0px 1px 2px 0px #0000004D inset;
}

.button_agreement::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    top: calc(50% - 12px);
    right: 20px;
    z-index: 2;
    background: url(../img/icon-folder.svg) no-repeat 50% 50% transparent;
    background-size: cover;
}

.button--create-cab{
    width: 260px;
    padding: 12px 0px;
    margin: 20px auto 0;
}

.hidden-desktop {
    display: none;
}

.image {
    position: relative;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.image>img,
.image>svg {
    width: 100%;
    max-width: 100%;
    border: none;
    max-height: 200px;
    object-fit: cover;
}

.substrate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(36, 56, 85, 0.5);
    z-index: 999;
    cursor: pointer;
}


/* ------------- HEADER ------------- */
.header {
    padding: 48px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 995;
    background-color: transparent;
    transition: all 0.5s ease;
}

.header_scrolled {
    background-color: #F1F1F1;
    box-shadow: 0 11px 60px 0 rgba(153, 153, 153, 0.2);
    padding: 20px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    width: 64px;
    min-width: 64px;
    margin-right: 40px;
}

.header__logo-image_mobile {
    display: none;
}

.header-navigate {
    width: 73%;
    max-width: 832px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-navigation__item {
    margin-right: 24px;
}

.header-navigation__link,
.header-navigation__link:visited {
    color: #243855;
}

.header-navigation__link {
    position: relative;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.header__button {
    width: 173px;
    height: 40px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.header-burger {
    display: none;
    width: 18px;
    position: relative;
    cursor: pointer;
}

.header-burger__line {
    width: 100%;
    height: 2px;
    background-color: #1C1B1F;
    margin: 4px 0;
}


/* ------------- ABOUT ------------- */
.about {
    padding: 304px 0 142px;
    background: url(../img/bg-about.jpg) no-repeat 50% 50% #F1F1F1;
    background-size: cover;
}

.about__content {
    width: 80%;
    max-width: 582px;
}

.about__text {
    margin-top: 56px;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
}

.about-agreements {
    margin: 251px 0 0 auto;
}

.about-agreements__link {
    margin-left: auto;
}

.about-agreements__link_small {
    width: 225px;
}

.about-agreements__link_large {
    width: 335px;
    margin-top: 16px;
}


/* ------------- PARTNERS ------------- */
.partners {
    padding: 80px 0 0px;
}

.partners__title {
    margin-bottom: 56px;
}

.partners__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.partners-card {
    width: calc(33% - 11px);
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 
    0px 1px 3px 1px #00000026,
    0px 1px 2px 0px #0000004D;
}

.partners-card__image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partners-card_3 .partners-card__image img{
    width: 50%;
}
.partners-card__image-bg_tablet {
    display: none;
}

.partners-card__wrapper {
    width: 100%;
    padding: 24px 16px 58px;
}

.partners-card__title {
    margin-bottom: 16px;
}

.partners-card__info {
    font-size: 14px;
    line-height: 21px;
    text-align: justify;
}

.partners-card__link {
    position: absolute;
    right: 16px;
    bottom: 24px;
    text-align: right;
    font-size: 12px;
    line-height: 18px;
    text-decoration: underline;
    cursor: pointer;
}

.partners-card__content {
    width: 100%;
    background-color: #FFFFFF;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: 0.8s;
    position: absolute;
    top: 100%;
    left: 0;
    height: 100%;
}

.partners-card__content-wrapper {
    padding: 20px 16px;
    overflow: auto;
    height: 100%;
}

.partners-card__content_opened {
    top: 0;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.partners-card__text,
.partners-card__text-link,
.partners-card__list {
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    text-align: justify;
}

.partners-card__text,
.partners-card__list {
    margin-bottom: 16px;
}

.partners-card__list li {
    position: relative;
    padding-left: 15px;
}

.partners-card__list li::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #243855;
    position: absolute;
    top: 8px;
    left: 6px;
}

.partners-card__text-link {
    font-weight: 600;
    color: #243855;
}

.partners-card__arrow {
    width: 16px;
    height: 16px;
    margin: 16px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}


/* ------------- AGREEMENT ------------- */
.agreement{padding-top: 80px;}
.agreement__inner {
    padding: 24px 16px;
    border: 1px solid #243855;
    display: flex;
    justify-content: space-between;
    border-radius: 16px;
    align-items: center;
}

.agreement__title {
    color: #000000;
}

.agreement__block {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.agreement__link {
    height: 40px;
    margin-left: 16px;
    padding: 0 16px;
}

.agreement__link-icon {
    margin-right: 8px;
}

.agreement__link_telegram .agreement__link-icon {
    color: #EBEBEB;
}

.agreement__link_telegram:hover .agreement__link-icon {
    color: #243855;
}

.agreement__link_telegram:active .agreement__link-icon,
.agreement__link_telegram:focus .agreement__link-icon  {
    color: #F1F1F1;
}


/* ------------- CONTACT ------------- */
.contact {
    padding: 140px 0 120px;
}

.contact__inner {
    padding: 72px 28px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    border: 1px solid #243855;
    border-radius: 24px;
}

.contact__title,
.contact__subtitle {
    text-align: center;
}

.contact__subtitle {
    margin: 20px 0 28px;
    max-width: 408px;
}

.contact-form {
    width: 100%;
    max-width: 505px;
    position: relative;
}

.contact-form__fieldset {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.contact-form__field {
    width: 100%;
    height: 40px;
    padding: 8px 16px;
    border: 1px solid #243855;
    border-radius: 8px;
}

.contact-form__field_error {
    border-color: #F33838;
}

.contact-form__error {
    font-size: 14px;
    line-height: 16px;
    color: #F33838;
}

.contact-form__field::placeholder {
    color: #57667D;
}

.contact-form__button {
    margin: 28px auto 0;
    width: 203px;
    height: 46px;
    font-size: 20px;
    line-height: 30px;
}

.contact__agreements {
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact__link {
    margin: 0 8px;
}

.contact__link_small {
    width: 225px;
}

.contact__link_large {
    width: 335px;
}

.about-us{
    margin-top: 60px ;
    margin-bottom: 50px;
}
.about-us__title{margin-bottom: 40px;}
.about-us__content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about-us__photo-container{
    width: 40%;   
    position: relative;
}

.about-us__photo-container img{
    width: 100%; 
    border-radius: 10px;
    position: sticky;
    top: 100px;
}

.about-us__text-container{width: 55%;}

.about-us__text-container p{margin-bottom: 15px; line-height: 120%}

.about-us__text-container ul {
    list-style: disc;
    margin-left: 20px;
}

.about-us__text-container li{
    margin-bottom: 10px;
}

.about-us__text-container .button{
    margin-bottom: 15px;
    justify-content: flex-start;
}

.hide-document{
    height: 85px;
    overflow: hidden;
    position: relative;
}

.hide-document:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: red;
    height: 50px;
    background: linear-gradient(180deg, #ffffff45 0 20%, #f1f1f1 40% 100%)
}

.show-full-text{
    height: auto;
}

.show-full-text:after{
    display: none;
}

.arrow_down{
    position: absolute; 
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 15px);
    width: 50px;
    z-index: 2;
    animation: downArrow 2s infinite alternate;
    cursor: pointer;
}

.arrow_down svg{width: 100%;}

.show-full-text .arrow_down {transform: rotate(180deg); animation: downArrowRotate 2s infinite alternate;}

@keyframes downArrow {
  from {transform: translate(-50%, 15px)}
  to {transform: translate(-50%, 20px)}
}

@keyframes downArrowRotate {
  from {transform: translate(-50%, 15px) rotate(180deg)}
  to {transform: translate(-50%, 20px) rotate(180deg)}
}

