*b {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #F8F8F8;
}

a {
    text-decoration: none;
}

img {
    /* pointer-events: none; */
    display: block;
    user-select: none;
}

::selection {
    background-color: #FE753F;
    color: #fff;
}

.container {
    width: 1150px;
    margin: 0 auto;
}

.flex__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
}

.flex__row__start {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
}

.flex__center {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
}

.flex__row__evely {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-evenly;
}

.flex__column {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.flex__column__start {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
}

h1,
h2,
h3,
h4,
p {
    margin: 8px 0;
}

.nav {
    height: 134px;
}

.nav__links__a {
    color: #000;
    font-weight: 400;
    font-size: 16px;
    margin-right: 50px;
    position: relative;
}

.nav__links__a:nth-child(1) {
    color: #FE753F;
}

.nav__links__a:after {
    display: block;
    content: "";
    background-color: #FE753F;
    height: 1px;
    width: 0%;
    right: 100%;
    left: -30%;
    position: absolute;
    transition: .3s ease-in-out;
    transform: translateX(30%);
}

.nav__links__a:hover:after,
.nav__links__a:focus:after {
    width: 100%;
    color: #FE753F;
}

.a__btn {
    color: #fff;
    background-color: #2E6EFF;
    padding: 15px 30px;
    border-radius: 6px;
    position: relative;
    transition: all .5s ease-in-out;
}

.a__btn:hover {
    background-color: transparent;
    transition: all .2s ease-in-out;
}

.a__btn__tab {
    color: #fff;
    background-color: #2E6EFF;
    padding: 15px 30px;
    border-radius: 6px;
    position: relative;
    transition: all 1s;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.a__btn__tab img {
    margin: 0 4px -2px 0;
}

.a__btn__tab:hover {
    background-color: #FE753F;
    transition: all .4s;
}


/* .a__btn:after {
    z-index: -1;
    border-radius: 6px;
    display: block;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: -50%;
    background-color: #FE753F;
    position: absolute;
    transition: .2s ease-in-out;
    transform: translatex(50%);
    text-align: center;
    opacity: 0;
}

.a__btn:hover:after {
    width: 100%;
    opacity: 1;
} */

.a__btn:after {
    z-index: -1;
    border-radius: 6px;
    display: block;
    content: "";
    width: 0;
    height: 0;
    top: 0;
    margin-right: 100%;
    right: -50%;
    background-color: #FE753F;
    position: absolute;
    transition: .2s ease-in-out;
    transform: translateX(50%);
    text-align: center;
}

.a__btn:hover:after {
    width: 100%;
    height: 100%;
}

.tab {
    color: #000;
    background-color: #fff;
    display: flex;
    width: 256px;
    border-radius: 6px 6px 0 0;
    margin-top: 28px;
}

.tab button {
    border-radius: 6px 6px 0 0;
    display: block;
    color: black;
    background-color: #fff;
    width: 100%;
    border: none;
    padding: 8px 20px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}

.tab button:hover {
    background-color: #FE753F;
    color: #fff;
}

.tab button.active {
    background-color: #fff;
    color: #FE753F;
}

.tabcontent {
    padding: 20px;
    border-radius: 0 6px 6px 6px;
    z-index: 99;
    float: left;
    width: 124%;
    background-color: #fff;
}

.tab__img {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 160px 14px;
    grid-template-rows: 21px;
    gap: 10px 20px;
    grid-template-areas: ". .";
    align-items: center;
}

.tabcontent__card {
    width: 220px;
}

.tabcontent__card a {
    color: rgb(63, 63, 63);
    font-size: 16px;
}

.tabcontent__card p {
    font-size: 22px;
    font-weight: 500;
}

.inner__window__one {
    width: 663px;
}

.inner__window__one h1 {
    font-size: 61px;
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 26px;
}

.inner__window__one p {
    font-size: 18px;
    font-weight: 400;
}

.inner__window__two {
    z-index: -1;
}

.title__h3__img {
    margin: 110px 0 70px 0;
}

.title__h3__img h3 {
    font-size: 44px;
    font-weight: 600;
    position: relative;
    margin: 0;
}

.title__h3__img p {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
}

.title__h3__img a {
    color: #FE753F;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
}

.title__h3__img img {
    position: absolute;
    margin: -14px;
}

.partner {
    transition: .4s all;
}

.partner:hover {
    transform: scale(1.1);
}

.grid {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 362px 362px 362px;
    grid-template-rows: 553px 553px;
    gap: 30px 30px;
    grid-template-areas: ". . ." ". . .";
}

.grid__card {
    background-color: #fff;
    border-radius: 19px;
    transition: all .4s;
    cursor: default;
}

.grid__card:hover {
    transform: scale(1.09);
    box-shadow: 0px 19px 16px -11px rgba(0, 0, 0, 0.2);
}

.grid__content {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 31px 31px 31px;
    grid-template-rows: 21px;
    gap: 12px 12px;
    grid-template-areas: ". . .";
    margin: 10px 0;
}

.grid__content-2 {
    margin: 10px 0 20px 0;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 10px 1fr;
    grid-template-rows: 21px;
    gap: 6px 10px;
    grid-template-areas: ". .";
    align-items: center;
}

.grid__card__content {
    float: left;
    padding: 30px;
    width: 302px;
}

.grid__card__content h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.card__content__p {
    color: #FE753F;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.grid__rer {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 362px 362px 362px;
    grid-template-rows: 202px 202px 202px;
    gap: 54px 30px;
    grid-template-areas: ". rer ." ". rer ." ". rer .";
    align-items: end;
}

.rer {
    grid-area: rer;
}

.geid__rer__card {
    background-color: #fff;
    border-radius: 19px;
    max-width: 362px;
    padding: 25px;
    max-height: 202px;
}

.grid__reviews {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 558px 558px;
    grid-template-rows: 260px;
    gap: 30px 30px;
    grid-template-areas: ". .";
}

.grid__reviews__card {
    background-color: #fff;
    border-radius: 19px;
}

.grid__reviews__card p {
    font-size: 16px;
    font-weight: 300;
}

.reviews__card {
    padding: 30px;
}

.grid__reviews__title {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 74px 1fr 64px;
    grid-template-rows: 74px;
    gap: 30px 30px;
    grid-template-areas: ". . .";
}

.about__us {
    background-image: url(../img/back-form.png);
    background-repeat: no-repeat;
    background-position: center center;
    height: 404px;
    margin: 120px 0;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "." ".";
    justify-items: center;
    align-items: center;
}

.about__us h3 {
    font-size: 44px;
    font-weight: 600;
    color: #fff;
    margin-top: 60px;
}

.about__us p {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    color: #fff;
}

input {
    background-color: #fff;
    outline: none;
    border: none;
    padding: 18px;
}

label {
    background-color: #fff;
    outline: none;
    border: none;
    padding: 6px;
    width: 743px;
    border-radius: 6px;
}

footer {
    height: 290px;
}

.footer__column {
    width: 190px;
}

.footer__column h4 {
    font-size: 22px;
    font-weight: 600;
}

.footer__column a {
    color: #030A1B;
    font-size: 16px;
    font-weight: 300;
}

footer p {
    font-size: 15px;
    font-weight: 300;
    margin: 14px 0;
}