@import "shared.css";

.header {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    height: 85px;
    padding: 0 32px;
    background-color: #6C6C6C;
}

.header__logotype {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 600;
    justify-self: start;
}

.header__logotype span {
    color: #231F20;
}

.header__navigation {
    display: grid;
    justify-content: center;
}

.header-navigation {
    display: grid;
    grid-auto-flow: column;
    list-style: none;
    gap: 48px;
}

.header-navigation__link {
    color: #FFFFFF;
    text-decoration: none;
}

.header-navigation__link:hover {
    text-decoration: underline;
}

.header__buttons {
    display: grid;
    justify-content: end;
}

.header__button {
    width: 170px;
    height: 40px;
    background-color: initial;
    border: 1px solid #BCBCBC;
    border-radius: 20px;
    color: #FFFFFF;
    text-transform: none;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.presentation {
    display: grid;
    min-height: calc(100vh - 85px);
    padding: 150px 0 250px;
    box-sizing: border-box;
    background-color: #DADADA;
    border-radius: 0;
    gap: 70px;
    justify-items: center;
}

.presentation__title {
    font-size: 52px;
    font-style: normal;
    font-weight: 400;
}

.presentation__subtitle {
    color: #6C6C6C;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    line-height: 35px;
}

.presentation__buttons {
    display: grid;
    grid-auto-flow: column;
    gap: 35px;
}

.presentation__buttons .button:nth-child(2) {
    background-color: initial;
    border: 1px solid rgba(255, 255, 255, 0.40);
    color: #000000;
}

.benefits {
    display: grid;
    padding: 150px 0;
    gap: 70px;
    justify-items: center;
}

.benefits__title {
    font-family: 'Montserrat Subrayada', sans-serif;
    font-size: 50px;
}

.benefits__title span {
    color: #2B46A3;
}

.benefits__cards {
    display: grid;
    justify-content: center;
    grid-auto-flow: column;
    list-style: none;
    gap: 150px;
}

.benefit-card {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-rows: 1fr min-content;
    text-align: center;
    gap: 25px;
}

.benefits__buttons {
    display: grid;
    grid-auto-flow: column;
    gap: 35px;
}

.benefits__buttons .button:nth-child(2) {
    background-color: initial;
    border: 1px solid rgba(0, 0, 0, 0.40);
    color: #000000;
}

.card-list {
    padding: 165px 0;
}

.card-list__title {
    padding-left: 130px;
    color: #231F20;
    font-size: 50px;
    font-weight: 400;
    line-height: 60px;
}

.card-list__title span {
    color: #2B46A3;
}

.small-cards {
    display: grid;
    grid-template-columns: 2fr 2.5fr 2fr;
    padding: 100px 100px 160px;
    gap: 20px;
}

.medium-cards .card:nth-child(2n) {
    grid-template-columns: min-content 1fr;
}

.medium-cards .card:nth-child(2n) .card__info {
    grid-column: 2;
    grid-row: 1;
}

.medium-cards .card:nth-child(2n) .card__image {
    padding-right: 95px;
    padding-left: 0;
}

.stepper {
    display: grid;
    padding: 120px 0 130px;
    justify-items: center;
}

.stepper__title {
    color: #1E1E1E;
    text-align: center;
    font-size: 50px;
    font-weight: 400;
    line-height: 60px;
}

.stepper__title span {
    color: #2B46A3;
}

.stepper__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 65px 0 90px;
    gap: 170px;
}

.step {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 45px 1fr;
    gap: 10px;
}

.step:before {
    position: absolute;
    top: 0;
    right: -78px;
    width: 14px;
    height: 104px;
    background-image: url("../assets/images/39.png");
    background-position: center;
    background-size: cover;
    content: '';
}

.step:last-child:before {
    display: none;
}

.step__number {
    color: #2B46A3;
    text-align: center;
    font-size: 65px;
    font-weight: 500;
}

.step__text {
    color: #1E1E1E;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
}

.register-form {
    display: grid;
    padding: 175px 0 110px;
    margin: 225px 0;
    justify-items: center;
}

.form {
    display: grid;
    width: 100%;
    max-width: 990px;
    gap: 30px;
}

.form__field {
    position: relative;
    display: grid;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: 1fr 650px;
    height: 75px;
    color: #231F20;
    font-size: 25px;
    font-weight: 400;
}

.form__field input {
    height: 100%;
    padding: 0 35px;
    margin: 0;
    box-sizing: border-box;
    background-color: initial;
    border: 1px solid #231F20;
    border-radius: 47px;
    outline: none;
    opacity: 0.6;
    color: #231F20;
    font-size: 25px;
    font-weight: 400;
}

.form__field input::placeholder {
    color: #231F20;
    font-size: 25px;
    font-weight: 400;
}

.form__field input:focus {
    opacity: 1;
}

.field__button {
    position: absolute;
    right: 45px;
    width: 41px;
    height: 41px;
    background-color: initial;
    border: none;
    outline: none;
    cursor: pointer;
}

.field__button_eye {
    z-index: 1;
    background-image: url("../assets/images/eye.svg");
    background-position: center;
}

.field__button ~ input {
    padding-right: 95px;
}

.form__checkbox {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: min-content 1fr;
    color: #231F20;
    font-size: 25px;
    font-weight: 500;
    line-height: 32px;
    gap: 30px;
}

.form__text {
    opacity: 0.3;
    color: #231F20;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.form__link {
    color: #231F20;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.form__confirm {
    padding: 45px 0 30px;
}

.form__confirm .form__text {
    padding-top: 36px;
    color: #514F4F;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.form__checkbox input {
    position: relative;
    width: 0;
    height: 0;
    margin: 19px;
}

.form__checkbox input:before {
    position: absolute;
    top: -19px;
    left: -19px;
    width: 38px;
    height: 38px;
    background-color: #DADADA;
    border: 1px solid rgba(35, 31, 32, .6);
    border-radius: 100%;
    content: '';
}

.form__checkbox input:checked:before {
    background-color: rgba(35, 31, 32, .6);
}

.form__button {
    margin: auto;
}

.footer {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr min-content;
    padding: 40px 130px;
    background-color: #6C6C6C;
    justify-items: start;
    row-gap: 90px;
}

.documents {
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
}

.documents__link {
    opacity: .6;
    color: #FFF;
    text-decoration: none;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

.footer__copy {
    opacity: .6;
    color: #FFF;
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
}

.footer__contacts {
    grid-column: 2;
    grid-row: 1/3;
}

.contacts__link {
    opacity: .6;
    color: #FFF;
    text-decoration: none;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.login {
    display: grid;
    align-items: start;
    min-height: calc(100vh - 85px);
    padding: 150px 0 250px;
    box-sizing: border-box;
    background-color: #DADADA;
    border-radius: 0;
    gap: 70px;
    justify-items: center;
}

.login__title {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 80px;
    font-weight: 600;
    justify-self: center;
}

.login__title span {
    color: #231F20;
}

.login__form {
    padding: 60px 100px;
    background-color: #FFFFFF;
    border-radius: 47px;
}

#cookie-agreement {
    display: none;
}

.cookie-agreement__wrapper {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: flex;
    z-index: 50;
    align-items: center;
    padding: 12px 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background: white;
    border-radius: 8px;
    gap: 24px;
}

.cookie-agreement__content {
    max-width: 192px;
}

.cookie-agreement__title {
    margin: 0;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.cookie-agreement__description {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.cookie-agreement__button {
    padding: 10px 26px;
    background: #000;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
}

