* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

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

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

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

button {
  cursor: pointer;
}

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

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

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

@font-face {
  font-family: jost-reg;
  src: url("../fonts/Jost-Regular.ttf");
}
@font-face {
  font-family: jost-med;
  src: url("../fonts/Jost-Medium.ttf");
}
@font-face {
  font-family: jost-bold;
  src: url("../fonts/Jost-Bold.ttf");
}
@font-face {
  font-family: jost-it;
  src: url("../fonts/Jost-ExtraLightItalic.ttf");
}
@font-face {
  font-family: jost-fat;
  src: url("../fonts/Jost-ExtraBold.ttf");
}
:root {
  --index: calc(1vw + 1vh);
  --background-color: rgb(249, 251, 255);
  --background-gray: rgb(226, 230, 238);
}

body {
  font-family: jost-reg;
  background-color: var(--background-color);
  position: relative;
}

html, body {
  scroll-behavior: smooth;
}

.container {
  width: 1452px;
  margin: 87px auto;
}

.title {
  font-family: jost-bold;
  font-size: 48px;
  line-height: 54px;
}

.item__title {
  font-family: jost-bold;
  font-size: 36px;
  line-height: 52px;
}

.subtitle {
  font-size: 20px;
}

.description, .item__description {
  font-size: 20px;
  line-height: 29px;
}

.italic {
  font-family: jost-it;
  text-decoration: underline;
  color: black;
}

.button {
  position: relative;
  background: black;
  border-radius: 22px;
  height: 45px;
  padding: 8px 54px 8px 22px;
  color: white;
  font-size: 20px;
  line-height: 29px;
  width: -moz-fit-content;
  width: fit-content;
}
.button img {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.next {
  position: absolute;
  bottom: 0;
  left: 50vw;
  transform: translate(-50%, 50%);
  height: 78px;
  width: 78px;
  background-color: inherit;
}

.offset {
  position: fixed;
  left: 50%;
  top: 60vh;
}

@media (max-width: 575px) {
  .next {
    height: 52px;
    width: 52px;
  }
  .next img {
    height: 100%;
    width: 100%;
  }
}
.header {
  background-color: var(--background-gray);
  height: -moz-fit-content;
  height: fit-content;
}
.header__container {
  max-width: 100vw;
  position: relative;
  padding: 228px 0px 228px calc(var(--index) * 1.9);
}
.header__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 105px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  z-index: 20;
}
.header__menu.active {
  background-color: rgba(0, 0, 0, 0.3);
}
.header__menu__wrapper {
  display: flex;
}
.header__menu__logo {
  margin-right: calc(var(--index) * 3.9);
  display: flex;
  align-items: center;
}
.header__menu__items {
  display: flex;
  gap: 9px;
  align-items: center;
}
.header__menu__item {
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
  overflow: hidden;
}
.header__menu__item a {
  position: relative;
  top: 0;
  left: 0;
  text-decoration: none;
  padding: 0px 53px 0px 21px;
  color: black;
  font-family: jost-med;
  font-size: 20px;
  line-height: 45px;
  text-align: center;
}
.header__menu__item img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -35px;
  transition: all 0.3s ease;
}
.header__menu__item_black {
  height: 100%;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: black;
  border-radius: 22px;
  opacity: 0;
  transition: all 0.4s ease;
}
.header__menu__item.active img {
  right: 18px;
}
.header__menu__item.active .header__menu__item_black {
  opacity: 1;
}
.header__menu__item.active a {
  color: white;
}
.header__menu__button {
  display: none;
}
.header__menu_drop {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  width: 50vw;
  border-radius: 0 calc(var(--index) * 3) calc(var(--index) * 3) 0;
  background-color: rgb(226, 230, 238);
  z-index: 25;
}
.header__menu_drop_down {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 0vw;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
}
.header__wrapper {
  display: grid;
  grid-template: 1fr/180px 636px 1fr;
}
.header__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.header__central {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px 60px;
}
.header__central__social {
  display: flex;
  gap: 12px;
}
.header__central__titles {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.header__central__titles h1 span {
  font-family: jost-it;
  text-decoration: underline;
  cursor: pointer;
}
.header__central__titles h1 span a {
  text-decoration: none;
  color: black;
}
.header__gallery {
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.header__gallery::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.header__gallery__wrapper {
  width: 1183px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1199px) {
  .header__menu {
    padding: 0 40px;
    position: absolute;
  }
  .header__menu__wrapper {
    width: 100%;
    justify-content: space-between;
  }
  .header__menu__items {
    display: none;
  }
  .header__menu__button {
    display: block;
    position: fixed;
    top: 20px;
    left: calc(100vw - 150px);
  }
  .header__menu_drop {
    padding: calc(var(--index) * 2);
    display: block;
    transition: all 0.7s ease;
  }
  .header__menu_drop.active {
    left: 0;
  }
  .header__menu_drop.active .header__menu__items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: calc(var(--index) + 15px);
  }
  .header__menu_drop_down {
    display: block;
    transition: all 0.7s ease;
  }
  .header__menu_drop_down.active {
    width: 60vw;
  }
  .header__wrapper {
    grid-template: 1fr/180px 540px 1fr;
  }
  .header__central {
    padding: 45px 30px;
  }
}
@media (max-width: 991px) {
  .header__container {
    padding: 160px 0 160px calc(var(--index) * 2);
  }
  .header__wrapper {
    grid-template: 136px 1fr 290px/1fr;
  }
  .header__central {
    max-width: 560px;
  }
  .header__aside {
    flex-direction: row;
  }
  .header__gallery__wrapper {
    width: 1840px;
  }
}
@media (max-width: 767px) {
  .header__central {
    max-width: 500px;
  }
  .header__aside__wrapper {
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .header__aside__wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}
@media (max-width: 575px) {
  .header__menu {
    height: 73px;
    padding: 0 17px 0 26px;
  }
  .header__container {
    padding: 97px 0 54px 12px;
  }
  .header__wrapper {
    grid-template: 90px 1fr 192px/1fr;
  }
  .header__central {
    padding: 24px 12px 24px 0;
    max-width: 376px;
  }
  .header__aside__wrapper {
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .header__aside__wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .header__aside {
    width: -moz-fit-content;
    width: fit-content;
    padding-right: 20px;
  }
  .header__aside__img img {
    height: 90px;
  }
  .header__gallery__wrapper {
    width: 1220px;
    gap: 12px;
  }
  .header__gallery__img img {
    height: 90px;
  }
  .header__menu_drop {
    width: 60vw;
  }
  .header__menu_drop.active {
    padding: 30px 12px;
  }
}
.about-us {
  position: relative;
}
.about-us__container {
  margin: 87px auto;
  padding: 60px 60px 75px 60px;
  border: 2px solid black;
  border-radius: 72px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}
.about-us__main {
  width: 516px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.about-us__items {
  display: grid;
  grid-template: 1fr 1fr/1fr 1fr;
  -moz-column-gap: 74px;
       column-gap: 74px;
  row-gap: 24px;
}
.about-us__item {
  display: grid;
  grid-template: auto 1fr/48px 295px;
  -moz-column-gap: 14px;
       column-gap: 14px;
}
.about-us__item__icon {
  align-self: center;
}
.about-us__item__description {
  grid-column: 2/3;
}

@media (max-width: 1449px) {
  .about-us__container {
    flex-direction: column;
    width: -moz-fit-content;
    width: fit-content;
    gap: 35px;
    align-items: flex-start;
  }
}
@media (max-width: 991px) {
  .about-us__container {
    padding: 60px 20px 75px 20px;
  }
  .about-us__items {
    -moz-column-gap: 0px;
         column-gap: 0px;
  }
}
@media (max-width: 767px) {
  .about-us__items {
    grid-template: auto/1fr;
  }
  .about-us__main {
    width: 380px;
  }
}
@media (max-width: 575px) {
  .about-us__container {
    max-width: 320px;
    margin: 54px auto;
    padding: 24px 8px 44px 8px;
    border-radius: 22px;
    gap: 24px;
  }
  .about-us__items {
    -moz-column-gap: 0px;
         column-gap: 0px;
  }
  .about-us__item {
    grid-template: auto 1fr/48px 1fr;
  }
  .about-us__main {
    width: 100%;
  }
}
.services {
  position: relative;
}
.services__container {
  width: 1602px;
  background-color: var(--background-gray);
  border-radius: 72px;
  padding: 75px;
  display: grid;
  grid-template: 1fr/636px 1fr;
  gap: 114px;
}
.services__main {
  padding: 38px 60px 60px 60px;
  background-color: var(--background-color);
  border: 2px solid black;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services__main__img {
  width: 346px;
  height: 346px;
  margin: 0 auto;
}
.services__main__img img {
  width: 100%;
  height: 100%;
}
.services__modals {
  display: flex;
  flex-direction: column;
  gap: 102px;
  justify-content: center;
  align-items: flex-start;
}
.services__modal_background {
  width: 540px;
  height: 285px;
  position: relative;
  background-color: black;
  border-radius: 32px;
}
.services__modal_item {
  display: none;
  opacity: 0;
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: 484px;
  padding: 48px 48px 37px 48px;
  flex-direction: column;
  gap: 24px;
  border-radius: 32px;
  border: 2px solid black;
  background-color: var(--background-color);
  transition: all 0.3s ease;
}
.services__modal_item.active {
  display: flex;
  opacity: 1;
}
.services__modal__buttons {
  padding-left: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.services__item__button {
  padding: 8px 22px;
  font-family: jost-med;
  border: 1px solid black;
  transition: all 0.3s ease;
}
.services__item__button:not(.active) {
  padding: 8px 22px;
  border: 1px solid black;
  background-color: inherit;
  font-family: jost-med;
  color: black;
}
.services__item__button_modal {
  background: var(--background-color);
  color: black;
  font-family: jost-med;
}
.services__item__button_modal img {
  top: 32%;
  transform: rotate(45deg) translateY(-12%);
}
.services__item__title {
  line-height: 1;
}
.services__button {
  position: relative;
}
.services__button a {
  position: absolute;
  width: 180px;
  height: inherit;
  top: 0;
  left: 0;
}

@media (max-width: 1601px) {
  .services__container {
    width: 70vw;
    grid-template: auto auto/1fr;
    gap: 30px;
  }
  .services__main {
    max-width: 636px;
    justify-self: center;
  }
  .services__modals {
    gap: 50px;
  }
}
@media (max-width: 1199px) {
  .services__container {
    gap: 60px;
  }
  .services__modals {
    gap: 40px;
  }
}
@media (max-width: 991px) {
  .services__container {
    width: 90vw;
  }
}
@media (max-width: 767px) {
  .services__container {
    width: 96vw;
    padding: 60px 0;
  }
  .services__main {
    margin: 0 auto;
  }
  .services__modals {
    align-items: center;
  }
}
@media (max-width: 575px) {
  .services__container {
    width: 100vw;
    padding: 0 0 58px 0;
    border-radius: 22px;
    margin: 57px auto;
    gap: 88px;
  }
  .services__main {
    padding: 28px 12px;
    max-width: 320px;
  }
  .services__main__img {
    width: 193px;
    height: 190px;
  }
  .services__modals {
    gap: 18px;
  }
  .services__modal_background {
    max-width: 320px;
    border-radius: 39px;
  }
  .services__modal_item {
    max-width: 300px;
    border-radius: 32px;
    padding: 28px 12px;
    left: 10px;
  }
  .services__modal__buttons {
    padding: 0 12px;
    max-width: 320px;
  }
  .services__item__button:not(.active) {
    height: 36px;
    border-radius: 18px;
    font-size: 14px;
    padding: 0 10px;
  }
  .services__item__button.active {
    height: 36px;
    border-radius: 18px;
    font-size: 14px;
    padding: 0 10px;
  }
}
.choose {
  position: relative;
}
.choose__container {
  display: flex;
  justify-content: space-between;
}
.choose__main {
  max-width: 530px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.choose__main__img {
  width: 346px;
  height: 346px;
  margin: 0 auto;
}
.choose__main__img img {
  width: 100%;
  height: 100%;
}
.choose__subtitle {
  margin-top: 14px;
}
.choose__list {
  max-width: 661px;
  padding: 90px 64px;
  border: 2px solid black;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.choose__item {
  display: grid;
  grid-template: auto/72px 1fr;
  row-gap: 10px;
  -moz-column-gap: 17px;
       column-gap: 17px;
}
.choose__item__description {
  grid-column: 2/3;
}
.choose__number {
  line-height: 1;
}
.choose__item__title {
  line-height: 1;
}

@media (max-width: 1451px) {
  .choose__container {
    flex-direction: column;
    align-items: center;
    width: 80vw;
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .choose__container {
    width: 90vw;
  }
  .choose__list {
    padding: 64px 32px;
  }
}
@media (max-width: 575px) {
  .choose__container {
    width: 100vw;
    margin: 54px auto;
  }
  .choose__main {
    max-width: 320px;
    padding: 0 12px;
  }
  .choose__main__img {
    width: 204px;
    height: 204px;
  }
  .choose__list {
    max-width: 320px;
    padding: 28px 12px 48px;
  }
  .choose__title {
    font-size: 40px;
    line-height: 48px;
  }
  .choose__item__title {
    font-size: 34px;
    line-height: 1.5;
  }
  .choose__number {
    align-self: center;
  }
}
.counter {
  position: relative;
}
.counter__container {
  width: -moz-fit-content;
  width: fit-content;
  padding: 60px 60px 60px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border: 2px solid black;
  border-radius: 72px;
}
.counter__item {
  width: 248px;
  padding: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 2px solid black;
  border-radius: 32px;
  text-align: center;
  line-height: 1;
}
.counter__items:nth-child(1) {
  border-radius: 32px;
  background-color: rgb(185, 255, 230);
}
.counter__items:nth-child(3) {
  border-radius: 32px;
  background-color: rgb(255, 195, 209);
}
.counter__items:nth-child(5) {
  border-radius: 32px;
  background-color: rgb(253, 195, 255);
}
.counter__items:nth-child(7) {
  border-radius: 32px;
  background-color: rgb(163, 228, 255);
}
.counter__divider {
  width: 2px;
  height: auto;
  background-color: black;
}
.counter__title {
  line-height: 1;
}
.counter__description {
  line-height: 1;
}

@media (max-width: 1399px) {
  .counter__container {
    max-width: 652px;
  }
  .counter__divider {
    display: none;
  }
}
@media (max-width: 767px) {
  .counter__container {
    width: 370px;
    justify-content: center;
  }
  .counter__divider {
    display: block;
    height: 1px;
    width: 211px;
  }
}
@media (max-width: 575px) {
  .counter__container {
    width: 304px;
    border-radius: 22px;
    margin-top: 54px;
    padding: 28px 0 54px;
  }
  .counter__item {
    width: 248px;
  }
  .counter__divider {
    display: block;
    height: 2px;
    width: 230px;
  }
}
.portfolio {
  position: relative;
  background-color: var(--background-gray);
  border-radius: 72px;
}
.portfolio__container {
  max-width: 1332px;
  margin: 0 auto;
  padding: 38px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.portfolio__title {
  line-height: 1;
}
.portfolio__filters {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.portfolio__button {
  border: 2px solid black;
  padding: 8px 22px;
  font-family: jost-med;
}
.portfolio__button:not(.active) {
  background-color: inherit;
  color: black;
}
.portfolio__cases {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.portfolio__case {
  display: none;
  position: relative;
  width: 318px;
  height: 318px;
  justify-content: center;
  align-items: center;
  border: 2px solid black;
  border-radius: 32px;
}
.portfolio__case a {
  display: block;
  width: 318px;
  height: 318px;
  position: absolute;
  top: 0;
  left: 0;
}
.portfolio__case_mobile {
  background-color: rgb(253, 195, 255);
}
.portfolio__case_cloud {
  background-color: rgb(163, 228, 255);
}
.portfolio__case_analysis {
  background-color: rgb(185, 255, 230);
}
.portfolio__case_hosting {
  background-color: rgb(255, 235, 242);
}
.portfolio__case.active {
  display: flex;
}

@media (max-width: 1449px) {
  .portfolio__container {
    max-width: 994px;
  }
}
@media (max-width: 1199px) {
  .portfolio__container {
    max-width: 656px;
  }
}
@media (max-width: 991px) {
  .portfolio {
    border-radius: 32px;
  }
}
@media (max-width: 767px) {
  .portfolio__container {
    max-width: 420px;
  }
  .portfolio__cases {
    justify-content: center;
  }
}
@media (max-width: 575px) {
  .portfolio__container {
    max-width: 300px;
    padding: 28px 0 56px;
  }
  .portfolio__case {
    width: 300px;
    height: 300px;
  }
  .portfolio__case a {
    width: 300px;
    height: 300px;
  }
  .portfolio__button {
    font-size: 14px;
    height: 36px;
    border-radius: 18px;
    line-height: 1;
  }
}
.trust {
  position: relative;
}
.trust__container {
  max-width: 1332px;
  padding: 0 0 87px;
}
.trust__items {
  margin: 48px auto 0;
  display: flex;
  gap: 20px;
}
.trust__item {
  width: 251px;
  height: 173px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid black;
  border-radius: 32px;
}
.trust__item a {
  width: inherit;
  height: inherit;
  position: absolute;
  top: 0;
  left: 0;
}
.trust__logo {
  font-size: 48px;
  font-family: jost-it;
}

@media (max-width: 1449px) {
  .trust__container {
    max-width: 994px;
  }
}
@media (max-width: 1199px) {
  .trust__container {
    max-width: 656px;
  }
  .trust__items__wrapper {
    width: 100%;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .trust__items__wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .trust__items {
    padding-right: 30px;
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media (max-width: 767px) {
  .trust__container {
    max-width: 496px;
  }
}
@media (max-width: 575px) {
  .trust {
    padding-left: 12px;
  }
  .trust__container {
    width: 100%;
    margin: 56px auto;
    padding: 0 0 56px;
  }
  .trust__items {
    margin: 37px auto 0;
    gap: 12px;
  }
  .trust__item {
    width: 130px;
    height: 104px;
  }
  .trust__logo {
    font-size: 24px;
  }
}
.plans {
  position: relative;
}
.plans__container {
  width: 1602px;
  border-radius: 72px;
  background-color: var(--background-gray);
  padding: 38px 135px 55px;
}
.plans__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plans__titles {
  max-width: 545px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.plans__cards {
  margin: 38px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.plans__card {
  width: 318px;
  padding: 28px 22px 24px;
  background-color: var(--background-color);
  border: 2px solid black;
  border-radius: 32px;
}
.plans__card_best {
  background-color: rgb(163, 228, 255);
}
.plans__card_top {
  height: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plans__card__price {
  margin-top: 24px;
  font-size: 20px;
}
.plans__card__price span {
  font-size: 64px;
  font-family: jost-fat;
}
.plans__card__divider {
  width: 100%;
  height: 2px;
  margin-top: 28px;
  background-color: black;
}
.plans__card__features {
  margin-top: 15px;
}
.plans__card__button {
  display: block;
  padding: 8px 22px;
  margin: 24px auto 0;
}
.plans__list {
  padding-left: 21px;
}
.plans__list li {
  margin-top: 21px;
  font-size: 20px;
  position: relative;
}
.plans__list li::before {
  content: url("../assets/png/Check_little.png");
  position: absolute;
  width: 20px;
  height: 20px;
  top: 4px;
  left: -26px;
}

@media (max-width: 1601px) {
  .plans__container {
    width: 90vw;
  }
  .plans__wrapper {
    width: 800px;
    margin: 0 auto;
  }
}
@media (max-width: 1199px) {
  .plans__container {
    padding: 38px 0 55px;
  }
  .plans__top {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 991px) {
  .plans__container {
    width: 100%;
  }
  .plans__wrapper {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .plans__container {
    border-radius: 32px;
  }
}
@media (max-width: 575px) {
  .plans__container {
    margin: 54px auto;
    padding: 38px 0 10px;
  }
  .plans__wrapper {
    padding: 0 12px;
  }
  .plans__top {
    align-items: flex-start;
  }
  .plans__button {
    margin: 24px 0 0;
  }
  .plans__card {
    padding: 28px 11px 24px;
  }
}
.testimonials {
  position: relative;
}
.testimonials__container {
  width: 1320px;
}
.testimonials__title {
  margin-top: 24px;
  line-height: 1;
}
.testimonials__cards {
  width: -moz-fit-content;
  width: fit-content;
  margin: 38px auto 0;
  padding: 50px;
  display: grid;
  grid-template: auto/1fr 1fr 1fr;
  gap: 13px;
  border: 2px solid black;
  border-radius: 72px;
}
.testimonials__card {
  height: 100%;
  display: grid;
  grid-template: minmax(auto, 196px) 1fr/61px 1fr;
  row-gap: 24px;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.testimonials__card:not(:last-child) {
  border-right: 2px solid black;
}
.testimonials__braces {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 128px;
}
.testimonials__description {
  padding: 58px 16px 0px 0px;
  max-height: 310px;
  line-height: 1;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.testimonials__description::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.testimonials__ava {
  align-self: center;
  justify-self: center;
}
.testimonials__name {
  line-height: 1;
}
.testimonials__name span {
  text-decoration: none;
}

@media (max-width: 1449px) {
  .testimonials__container {
    width: 70vw;
  }
  .testimonials__cards {
    grid-template: 1fr 1fr 1fr/auto;
  }
  .testimonials__card {
    height: -moz-fit-content;
    height: fit-content;
    padding-bottom: 24px;
    grid-template: minmax(auto, 120px) 1fr/61px 1fr;
    row-gap: 10px;
  }
  .testimonials__card:not(:last-child) {
    border-right: none;
    border-bottom: 2px solid black;
  }
}
@media (max-width: 991px) {
  .testimonials__card {
    grid-template: minmax(auto, 142px) 1fr/61px 1fr;
  }
}
@media (max-width: 767px) {
  .testimonials__card {
    grid-template: minmax(auto, 180px) 1fr/61px 1fr;
  }
  .testimonials__cards {
    padding: 24px 20px;
    border-radius: 22px;
  }
}
@media (max-width: 575px) {
  .testimonials__container {
    width: 94vw;
    margin: 57px auto;
  }
  .testimonials__cards {
    padding: 10px 10px 30px;
  }
  .testimonials__card {
    padding: 5px 0px 24px 0px;
    grid-template: minmax(auto, 216px) 1fr/61px 1fr;
  }
  .testimonials__description {
    padding-right: 0px;
  }
}
.blog {
  position: relative;
}
.blog__container {
  width: 1602px;
  padding: 38px 135px 62px;
  margin: 0 auto;
  background-color: var(--background-gray);
  border-radius: 72px;
}
.blog__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.blog__title {
  margin-top: 24px;
  line-height: 1;
}
.blog__items {
  margin: 38px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.blog__item {
  width: 406px;
  border: 2px solid black;
  border-radius: 32px;
  overflow: hidden;
}
.blog__item_bottom {
  padding: 18px 24px 24px;
  background-color: var(--background-color);
}
.blog__item__buttons {
  display: flex;
  gap: 12px;
}
.blog__item__buttons button {
  height: 28px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1;
}
.blog__item__button_date {
  padding: 4px 34px 4px 14px;
}
.blog__item__button_date img {
  right: 12px;
}
.blog__item__button_hosting {
  padding: 4px 14px;
}
.blog__item__title {
  margin-top: 20px;
  font-size: 24px;
  line-height: 35px;
}
.blog__item__description {
  margin-top: 20px;
  line-height: 1;
}
.blog__item__footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog__item__user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.blog__item__ava {
  width: 26px;
  height: 26px;
}
.blog__item__ava img {
  width: 100%;
  height: 100%;
}
.blog__poster {
  width: 100%;
  height: 236px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 235, 242);
  border-bottom: 2px solid black;
}
.blog__poster img {
  width: 150px;
  height: 150px;
}

@media (max-width: 1601px) {
  .blog__container {
    width: 100%;
    padding: 38px 10vw 62px;
  }
  .blog__items {
    width: -moz-fit-content;
    width: fit-content;
    display: grid;
    grid-template: auto/1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 1199px) {
  .blog__container {
    width: 100%;
    padding: 38px 8vw 62px;
    border-radius: 36px;
  }
}
@media (max-width: 991px) {
  .blog__items {
    grid-template: auto/1fr;
  }
}
@media (max-width: 575px) {
  .blog__container {
    max-width: 100%;
    padding: 38px 0 52px;
  }
  .blog__top {
    max-width: 300px;
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .blog__items {
    max-width: 300px;
    margin: 28px auto 0;
  }
  .blog__item {
    max-width: 300px;
  }
  .blog__item_bottom {
    padding: 18px 12px 24px;
  }
  .blog__item__footer {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
  }
  .blog__button {
    margin-top: 24px;
  }
}
.footer {
  margin-top: 68px;
  width: 100%;
  background-color: black;
  border-radius: 72px 72px 0 0;
  color: white;
}
.footer__container {
  width: 1332px;
  margin: 0 auto;
  padding: 48px 0;
}
.footer_top__wrapper {
  display: flex;
  justify-content: space-between;
}
.footer__top {
  max-width: 510px;
}
.footer__logo {
  margin-bottom: 25px;
}
.footer__description {
  max-width: 428px;
}
.footer__subscribe {
  margin-top: 48px;
}
.footer__form {
  margin-top: 12px;
  padding: 0 16px;
  height: 69px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 2px solid white;
  border-radius: 34px;
}
.footer__form input {
  background-color: black;
  color: white;
  font-size: 20px;
  line-height: 29px;
}
.footer__form input::-moz-placeholder {
  color: white;
  background-color: black;
}
.footer__form input::placeholder {
  color: white;
  background-color: black;
}
.footer__form button {
  background-color: var(--background-color);
  color: black;
}
.footer__clarification {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
}
.footer_before a {
  margin-top: 24px;
  padding-left: 30px;
  display: block;
  position: relative;
  color: white;
  font-size: 20px;
  text-decoration: none;
}
.footer_before a::before {
  content: "";
  background: url("../assets/png/Arrow_side_up-1.png") center center;
  background-size: 90%;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 0;
  border: 2px solid white;
  border-radius: 12px;
}
.footer__contacts > a {
  margin-top: 24px;
  padding-left: 30px;
  display: block;
  position: relative;
  color: white;
  font-size: 20px;
  text-decoration: none;
}
.footer_mail::before {
  content: "";
  background: url("../assets/png/Email.png") center center;
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
}
.footer_adr::before {
  content: "";
  background: url("../assets/png/Map-1.png") center center;
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
}
.footer_tel::before {
  content: "";
  background: url("../assets/png/Call-footer.png") center center;
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
}
.footer__social {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}
.footer__social > a {
  width: 40px;
  height: 40px;
  background-color: var(--background-color);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer__bottom {
  margin-top: 51px;
  display: flex;
  justify-content: space-between;
}
.footer__bottom a {
  color: white;
  text-decoration: none;
}
.footer__privacy {
  display: flex;
  gap: 25px;
}

@media (max-width: 1449px) {
  .footer__container {
    width: 100%;
    padding: 48px 10vw;
  }
  .footer_top__wrapper {
    flex-wrap: wrap;
    row-gap: 28px;
  }
}
@media (max-width: 991px) {
  .footer {
    border-radius: 36px;
  }
}
@media (max-width: 767px) {
  .footer__bottom {
    flex-direction: column;
  }
  .footer__privacy {
    margin-top: 10px;
  }
}
@media (max-width: 575px) {
  .footer {
    margin-top: 52px;
  }
  .footer__container {
    padding: 48px 12px;
  }
  .footer__description {
    max-width: 300px;
  }
  .footer__subscribe {
    max-width: 300px;
  }
  .footer__form {
    padding: 0 8px;
    height: 50px;
    gap: 8px;
    border-radius: 25px;
  }
  .footer__form input {
    max-width: 180px;
  }
  .footer__form button {
    border-radius: 14px;
    height: 29px;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 20px;
  }
  .footer__form button img {
    display: none;
  }
}
.to-call {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  z-index: 30;
}
.to-call.active {
  display: flex;
  animation: is-visible 0.6s ease forwards;
}
.to-call__wrapper {
  height: -moz-fit-content;
  height: fit-content;
  width: 50vw;
  padding: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background-color: var(--background-color);
  border: 2px solid black;
  border-radius: 36px;
  font-family: jost-med;
}
.to-call__close {
  position: absolute;
  top: calc(var(--index) * -2.5);
  right: var(--index);
  width: 40px;
  height: 40px;
  font-size: 40px;
  text-align: center;
  line-height: 1;
  background-color: unset;
}
.to-call__form input, .to-call__form textarea {
  display: block;
  margin-top: 24px;
  width: 100%;
  height: 40px;
  border: 2px solid black;
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 20px;
  background-color: var(--background-color);
}
.to-call__form input:focus, .to-call__form textarea:focus {
  box-shadow: 5px 5px 5px rgb(0, 0, 0);
}
.to-call__form textarea {
  height: 64px;
  resize: vertical;
}
.to-call__button {
  margin-top: 24px;
}

@keyframes is-visible {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .to-call__wrapper {
    width: 75vw;
  }
  .to-call__close {
    top: calc(var(--index) * -3);
  }
}
@media (max-width: 575px) {
  .to-call__wrapper {
    width: 95vw;
    padding: 40px 12px;
  }
  .to-call__close {
    top: calc(var(--index) * -4);
  }
}
.thanks-modal {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.5s ease;
  opacity: 0;
  z-index: 30;
}
.thanks-modal.active {
  display: flex;
  animation: is-visible 0.6s ease forwards;
}
.thanks-modal__message {
  height: 20vh;
  width: 50vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
  border: 2px solid black;
  border-radius: 36px;
  font-family: jost-med;
}
.thanks-modal__close {
  position: absolute;
  top: var(--index);
  right: var(--index);
  width: 40px;
  height: 40px;
  font-size: 40px;
  text-align: center;
  line-height: 1;
  color: var(--background-color);
  cursor: pointer;
}

.thanks-modal__failure, .thanks-modal__success, .thanks-modal__loading {
  display: none;
}
.thanks-modal__failure.active, .thanks-modal__success.active, .thanks-modal__loading.active {
  display: block;
}

@keyframes is-visible {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .thanks-modal__message {
    width: 75vw;
  }
}
@media (max-width: 575px) {
  .thanks-modal__message {
    width: 95vw;
    padding: 40px 12px;
  }
}/*# sourceMappingURL=style.css.map */