html {
  scroll-behavior: smooth;
}
.header--new {
  max-height: 1005px;
  background: url(./assets/hero-bg.jpg) no-repeat center;
}
.header--new .container {
  height: 100%;
  padding-top: 90px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}
.header--new .header__title {
  width: 100%;
  margin: 0;
  font-size: 73px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-align: center;
  color: #ffffff;
}
.header__decr {
  font-size: 33px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}
.header__box {
  display: flex;
  justify-content: space-between;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
}
.header__list {
  display: flex;
  gap: 45px;
  list-style: none;
  line-height: 0.9;
}
.about__item-wrap--second {
  flex-direction: row-reverse;
}
.about__item {
  display: flex;
  flex-direction: column;
  gap: 66px;
}
.about__item-text {
  line-height: 1.35;
}
.about__item-text > span {
  font-weight: 600;
  font-family: var(--second-family);
}
.about__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.square {
  background: url(./assets/square-bg.jpg) no-repeat;
  background-size: contain;
}
.square__box {
  padding-top: 460px;
}
.square__title {
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
  font-size: 73px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  color: #000;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.square__list {
  display: grid;
  grid-template-areas:
    "a b"
    "c d "
    "e d"
    "f g"
    "h h";
  gap: 55px;
  list-style: none;
}
.square__list li:nth-child(1) {
  grid-area: a;
}
.square__list li:nth-child(2) {
  grid-area: b;
}
.square__list li:nth-child(3) {
  grid-area: c;
}
.square__list li:nth-child(4) {
  grid-area: d;
}
.square__list li:nth-child(5) {
  grid-area: e;
}
.square__list li:nth-child(6) {
  grid-area: f;
}
.square__list li:nth-child(7) {
  grid-area: g;
}
.square__list li:nth-child(8) {
  grid-area: h;
}

.square__list li {
  padding-left: 46px;
  position: relative;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}
.square__list li::before {
  width: 28px;
  height: 28px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: url(./assets/add.svg) no-repeat;
  background-size: cover;
  transform-origin: center;
  animation: rotate45 1s infinite alternate;
}
@keyframes rotate45 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-45deg);
  }
}
.square__wrap {
  padding: 78px 0 70px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.square__wrap > img {
  width: auto;
}
.square__wrap img:nth-child(1) {
  max-width: 9.5%;
}
.square__wrap img:nth-child(2) {
  max-width: 17%;
}
.square__wrap img:nth-child(3) {
  max-width: 13%;
}
.square__wrap img:nth-child(4) {
  max-width: 10%;
}
.square__wrap img:nth-child(5) {
  max-width: 12.5%;
}
.square__wrap img:nth-child(6) {
  max-width: 7.8%;
}
.square__wrap img:nth-child(7) {
  max-width: 11.6%;
}
.square__wrap img:nth-child(8) {
  max-width: 6%;
}
.example {
  padding-top: 68px;
}
.mySwiperExample {
  padding-bottom: 70px;
}
.swiper-pagination-bullet {
  width: 30px !important;
  height: 30px !important;
  transform: scale(1) !important;
  background: #d9d9d9;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: #aaaaa9;
}
.footer__information {
  background: #013459;
}
.footer__contact ul {
  list-style: none;
}
.footer__list--socials {
  display: flex;
  gap: 22px;
}
.footer__list--socials a {
  width: 78px;
  height: 78px;
  display: block;
  border-radius: 50%;
}
.footer__list--tel {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  font-family: var(--second-family);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.footer__contact {
  display: flex;
  gap: 52px;
}
.footer__list--mail {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--second-family);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  list-style: none;
}
.hid,
.about__text--mob {
  display: none;
}
.receive {
  position: relative;
  background: url(./assets/bg-pr.jpg) no-repeat center;
  background-size: cover;
}
.footer {
  background: url(./assets/contact-bg-new.jpg) no-repeat;
  background-size: cover;
}
@media (max-width: 1720px) {
 .receive__title {
    font-size: calc(18px + 1.1458333333vw);
}
}
@media (max-width: 1700px) {
  .about__item-wrap {
    align-items: stretch;
  }
}
@media (max-width: 1620px) {
 .receive__title {
    font-size: calc(16px + 1.1458333333vw);
}
}
@media (max-width: 1260px) {
 .receive__title {
    font-size: calc(14px + 1.1458333333vw);
}
}
@media (max-width: 1200px) {
  .square__wrap {
    gap: 10px;
  }
}
@media (max-width: 980px) {
  .header__list {
    display: none;
  }
  .header--new .header__title,
  .square__title {
    font-size: 50px;
  }
  .header__decr {
    font-size: 26px;
  }
  .about__item-title {
    margin-bottom: 20px;
  }
  .about__item-text {
    font-size: calc(15px + 0.46875vw);
  }
  .square__list {
    display: flex;
    flex-direction: column;
  }
  .square__list li {
    width: 100%;
  }
  .square__list li::before {
    rotate: 45deg;
    width: 22px;
    height: 22px;
    background-size: contain;
  }
  .square__list {
    gap: 35px;
  }
  .footer__list--tel,
  .footer__list--mail {
    font-size: 26px;
  }
  .footer__list--socials a {
    width: 58px;
    height: 58px;
  }
}
@media (max-width: 920px) {
.receive__wrap{
    gap:20px;
}
    .receive__title {
        font-size: calc(12px + 1.1458333333vw);
    }
}
@media (max-width: 768px) {
  .square__wrap {
    flex-wrap: wrap;
  }
  .square__wrap img:nth-child(1) {
    max-width: 15%;
  }
  .square__wrap img:nth-child(2) {
    max-width: 26%;
  }
  .square__wrap img:nth-child(3) {
    max-width: 15.8%;
  }
  .square__wrap img:nth-child(4) {
    max-width: 17.8%;
  }
  .square__wrap img:nth-child(5) {
    max-width: 21.7%;
  }
  .square__wrap img:nth-child(6) {
    max-width: 12.2%;
  }
  .square__wrap img:nth-child(7) {
    max-width: 19.7%;
  }
  .square__wrap img:nth-child(8) {
    max-width: 8.9%;
  }
    .receive__title {
        font-size: calc(16px + 1.1458333333vw);
    }
}
@media (max-width: 550px) {
  .header--new {
    background: url(./assets/hero-bg-320.jpg) no-repeat center;
    background-size: cover;
    border-bottom: 1px solid #797975;
    box-shadow: 0px 4px 4px 0px #00000040;
  }
  .header--new .container {
    padding-top: 20px;
    justify-content: start;
  }
  .header__box {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
  }
  .header--new .header__title {
    margin-bottom: 20px;
    margin-top: auto;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-align: left;
    color: #000000;
  }
  .header__decr {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
    color: #000000;
  }
  .about__item-text > .about__text--mob {
    display: inline-block;
    font-weight: 400;
    font-family: var(--font-family);
  }
  .about__item-wrap--second,
  .about__item-img {
    display: none;
  }
  .about__item-content {
    margin: 0;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .about__item-text,
  .about__item-wrap {
    font-size: 16px;
  }
  .square {
    background: url(./assets/square-bg-320.jpg) no-repeat;
    background-size: cover;
    border-bottom: 1px solid #797975;
    box-shadow: 0px 4px 4px 0px #00000040;
  }
  .square__box {
    padding-top: 245px;
  }
  .square__title {
    margin-bottom: 32px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
  }
  .square__list {
    gap: 20px;
  }
  .square__list li {
    padding-left: 30px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.33;
  }
  .square__wrap {
    padding: 30px 0 40px;
    gap: 16px;
  }

  .example {
    padding-top: 20px;
  }
  .hid {
    margin-bottom: 20px;
    display: block;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-align: left;
  }

  .receive {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
      б url(./assets/services-mobile.png) no-repeat center;
    background-size: cover;
    border-bottom: 1px solid #797975;
    box-shadow: 0px 4px 4px 0px #00000040;
  }
  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
  }
  .mySwiperExample {
    padding-bottom: 50px;
  }
  .footer__contact {
    flex-direction: row-reverse;
    justify-content: start;
    gap: 20px;
  }
  .footer__list--tel {
    margin-left: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.03em;
  }
  .footer__list--socials {
    margin-left: auto;
    gap: 10px;
  }
  .footer__list--socials a {
    width: 38px;
    height: 38px;
  }
  .footer__list--mail {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }
  .square__list li::before {
    width: 18px;
    height: 18px;
  }
  .footer {
    background: none;
  }
  .footer__item {
    background: url(./assets/contact-bg-mobile.jpg) no-repeat center;
    background-size: cover;
  }
}
