@charset "UTF-8";
.main-page .first-screen {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.main-page .first-screen__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
.main-page .first-screen__bg .dark-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.main-page .first-screen__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-page .first-screen__logo {
  position: absolute;
  right: 50px;
  bottom: 50px;
  z-index: 3;
  width: 22.569444%; /* 325/1440 */
}
@media (max-width: 570px) {
  .main-page .first-screen__logo {
    right: 20px;
    bottom: 20px;
  }
}
.main-page .first-screen__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 1;
  height: 100%;
}
.main-page .first-screen__content .info-block {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.main-page .first-screen__content .info-block .first-screen__title {
  font-weight: 700;
  font-size: 60px;
  color: #fff;
  margin-bottom: 20px;
}
@media (max-width: 1110px) {
  .main-page .first-screen__content .info-block .first-screen__title {
    font-size: 48px;
  }
}
@media (max-width: 1040px) {
  .main-page .first-screen__content .info-block .first-screen__title {
    font-size: 42px;
  }
}
@media (max-width: 990px) {
  .main-page .first-screen__content .info-block .first-screen__title {
    font-size: 36px;
  }
}
@media (max-width: 767.98px) {
  .main-page .first-screen__content .info-block .first-screen__title {
    font-size: 32px;
  }
}
@media (max-width: 570px) {
  .main-page .first-screen__content .info-block .first-screen__title {
    font-size: 28px;
  }
}
@media (max-width: 420px) {
  .main-page .first-screen__content .info-block .first-screen__title {
    font-size: 24px;
  }
}
.main-page .first-screen__content .info-block .first-screen__desc {
  font-weight: 500;
  font-size: 24px;
  color: #fff;
  margin-bottom: 30px;
  width: 62.9%; /* 660/1050 */
}
@media (max-width: 1110px) {
  .main-page .first-screen__content .info-block .first-screen__desc {
    font-size: 22px;
  }
}
@media (max-width: 1040px) {
  .main-page .first-screen__content .info-block .first-screen__desc {
    font-size: 18px;
    width: 70%;
  }
}
@media (max-width: 990px) {
  .main-page .first-screen__content .info-block .first-screen__desc {
    font-size: 16px;
    width: 80%;
  }
}
@media (max-width: 767.98px) {
  .main-page .first-screen__content .info-block .first-screen__desc {
    width: 90%;
  }
}
@media (max-width: 570px) {
  .main-page .first-screen__content .info-block .first-screen__desc {
    width: 100%;
  }
}
.main-page .metal-processing__block {
  padding: 180px 0px;
  position: relative;
}
@media (max-width: 1110px) {
  .main-page .metal-processing__block {
    padding: 140px 0px;
  }
}
@media (max-width: 990px) {
  .main-page .metal-processing__block {
    padding: 120px 0px;
  }
}
@media (max-width: 767.98px) {
  .main-page .metal-processing__block {
    padding: 100px 0px;
  }
}
@media (max-width: 390px) {
  .main-page .metal-processing__block {
    padding: 80px 0px;
  }
}
.main-page .metal-processing__block .bg-rectangles {
  position: absolute;
  left: -356px;
  top: 15px;
  width: 497px;
  height: 594px;
  z-index: 0;
}
@media (max-width: 1110px) {
  .main-page .metal-processing__block .bg-rectangles {
    width: 420px;
    height: 502px;
    left: -320px;
  }
}
@media (max-width: 990px) {
  .main-page .metal-processing__block .bg-rectangles {
    width: 380px;
    height: 455px;
    left: -280px;
    top: 0px;
  }
}
@media (max-width: 767.98px) {
  .main-page .metal-processing__block .bg-rectangles {
    width: 310px;
    height: 370px;
    left: -220px;
    top: 0px;
  }
}
.main-page .metal-processing__block .metal-processing__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 90px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1110px) {
  .main-page .metal-processing__block .metal-processing__content {
    gap: 64px;
  }
}
@media (max-width: 990px) {
  .main-page .metal-processing__block .metal-processing__content {
    gap: 48px;
  }
}
@media (max-width: 940px) {
  .main-page .metal-processing__block .metal-processing__content {
    flex-direction: column;
    gap: 30px;
  }
}
.main-page .metal-processing__block .metal-processing__content .image-block {
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.main-page .metal-processing__block .metal-processing__content .image-block img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  width: 100%;
}
.main-page .metal-processing__block .metal-processing__content .info-block {
  flex: 0 0 40%; /* 420/1050 */
  align-items: flex-start;
}
.main-page .metal-processing__block .metal-processing__content .info-block .metal-processing__title {
  margin-bottom: 20px;
}
.main-page .metal-processing__block .metal-processing__content .info-block .metal-processing__desc {
  margin-bottom: 30px;
}
.main-page .metal-processing__block .metal-processing__content .info-block .order-consultation {
  display: inline-block;
}
.main-page .our-products__block {
  position: relative;
  padding-bottom: 180px;
}
@media (max-width: 1110px) {
  .main-page .our-products__block {
    padding-bottom: 140px;
  }
}
@media (max-width: 990px) {
  .main-page .our-products__block {
    padding-bottom: 120px;
  }
}
@media (max-width: 767.98px) {
  .main-page .our-products__block {
    padding-bottom: 100px;
  }
}
@media (max-width: 390px) {
  .main-page .our-products__block {
    padding-bottom: 80px;
  }
}
.main-page .our-products__block .bg-rectangles {
  width: 493px;
  height: 594px;
  position: absolute;
  z-index: -1;
  right: -288px;
  bottom: 173px;
}
@media (max-width: 1110px) {
  .main-page .our-products__block .bg-rectangles {
    width: 420px;
    height: 506px;
    right: -240px;
    bottom: 150px;
  }
}
@media (max-width: 990px) {
  .main-page .our-products__block .bg-rectangles {
    width: 380px;
    height: 458px;
    right: -200px;
    bottom: 320px;
  }
}
@media (max-width: 767.98px) {
  .main-page .our-products__block .bg-rectangles {
    width: 310px;
    height: 374px;
    right: -160px;
    bottom: 280px;
  }
}
@media (max-width: 570px) {
  .main-page .our-products__block .bg-rectangles {
    bottom: 240px;
  }
}
.main-page .our-products__block .our-products__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.main-page .our-products__block .our-products__content .our-products__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
  row-gap: 30px;
}
@media (max-width: 910px) {
  .main-page .our-products__block .our-products__content .our-products__list {
    grid-template-columns: 1fr;
    align-items: center;
    width: 76%;
    margin: 0 auto;
  }
}
@media (max-width: 767.98px) {
  .main-page .our-products__block .our-products__content .our-products__list {
    width: 85%;
  }
}
@media (max-width: 420px) {
  .main-page .our-products__block .our-products__content .our-products__list {
    width: 100%;
  }
}
.main-page .our-products__block .our-products__content .our-products__list .list-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.main-page .our-products__block .our-products__content .our-products__list .list-item .image-block {
  position: relative;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  aspect-ratio: 4/3;
  overflow: hidden;
  z-index: 1;
  border-radius: 10px;
  -webkit-mask-image: url("../../../assets/main-page/products/mask_1440.svg");
  mask-image: url("../../../assets/main-page/products/mask_1440.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.main-page .our-products__block .our-products__content .our-products__list .list-item .image-block img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.main-page .our-products__block .our-products__content .our-products__list .list-item .border-svg {
  position: absolute;
  left: -1px;
  top: -1px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: 0;
  transition: all 0.5s ease;
  overflow: visible;
}
.main-page .our-products__block .our-products__content .our-products__list .list-item .border-svg path {
  stroke: #d9d9d9;
  stroke-width: 1px;
  transition: all 0.5s ease;
}
.main-page .our-products__block .our-products__content .our-products__list .list-item__name {
  position: absolute;
  right: 0px;
  bottom: 0px;
  z-index: 1;
  font-weight: 700;
  font-size: 24px;
  color: #434343;
  height: 15%; /* 60/400 */
  width: 45.098039%; /* 230/510 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 5px 5px 5px rgba(255, 255, 255, 0.2);
  transition: text-shadow 0.2s ease;
}
@media (max-width: 520px) {
  .main-page .our-products__block .our-products__content .our-products__list .list-item__name {
    font-size: 16px;
  }
}
.main-page .our-products__block .our-products__content .our-products__list .list-item:hover .border-svg {
  left: -3px;
  top: -3px;
  width: calc(100% + 8px);
  height: calc(100% + 6px);
}
.main-page .our-products__block .our-products__content .our-products__list .list-item:hover .border-svg path {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  stroke: #e53936;
  stroke-width: 3px;
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}
.main-page .our-products__block .our-products__content .our-products__list .list-item:hover .list-item__name {
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}
.main-page .services-making {
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.main-page .services-making .texture {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
}
.main-page .services-making .texture.top {
  top: 0;
}
.main-page .services-making .texture.bottom {
  bottom: 0;
}
.main-page .services-making__bg {
  height: 100%;
  position: relative;
  background-image: url("../../../assets/main-page/services_making.png");
  background-attachment: fixed; /* ключове */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}
.main-page .why-we__block {
  padding: 180px 0px;
  position: relative;
}
@media (max-width: 1110px) {
  .main-page .why-we__block {
    padding: 140px 0px;
  }
}
@media (max-width: 990px) {
  .main-page .why-we__block {
    padding: 120px 0px;
  }
}
@media (max-width: 767.98px) {
  .main-page .why-we__block {
    padding: 100px 0px;
  }
}
@media (max-width: 390px) {
  .main-page .why-we__block {
    padding: 80px 0px;
  }
}
.main-page .why-we__block .bg-rectangles {
  position: absolute;
  left: -392px;
  top: 5px;
  width: 525px;
  height: 648px;
  z-index: 0;
}
@media (max-width: 1110px) {
  .main-page .why-we__block .bg-rectangles {
    width: 440px;
    height: 543px;
    left: -370px;
    top: -5px;
  }
}
@media (max-width: 990px) {
  .main-page .why-we__block .bg-rectangles {
    display: none;
  }
}
.main-page .why-we__block .why-we__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.main-page .why-we__block .why-we__content .why-we__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
  row-gap: 30px;
}
@media (max-width: 920px) {
  .main-page .why-we__block .why-we__content .why-we__list {
    grid-template-columns: 1fr;
  }
}
.main-page .why-we__block .why-we__content .why-we__list-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-page .why-we__block .why-we__content .why-we__list-item .image-block svg {
  width: 90px;
  height: 90px;
}
.main-page .why-we__block .why-we__content .why-we__list-item .info-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.main-page .why-we__block .why-we__content .why-we__list-item .info-block__title {
  font-weight: 700;
  font-size: 24px;
  color: #434343;
}
@media (max-width: 767.98px) {
  .main-page .why-we__block .why-we__content .why-we__list-item .info-block__title {
    font-size: 20px;
  }
}
.main-page .callback-form__block {
  background: url("../../../assets/main-page/callback-form__bg.png") center/cover no-repeat;
  padding: 90px 0px;
}
@media (max-width: 1110px) {
  .main-page .callback-form__block {
    padding: 64px 0px;
  }
}
@media (max-width: 990px) {
  .main-page .callback-form__block {
    padding: 50px 0px;
  }
}
@media (max-width: 767.98px) {
  .main-page .callback-form__block {
    padding: 30px 0px;
  }
}
@media (max-width: 390px) {
  .main-page .callback-form__block {
    padding: 24px 0px;
  }
}
.main-page .callback-form__block .callback-form__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.main-page .callback-form__block .callback-form__content .callback-form__title {
  color: #fff;
}
.main-page .callback-form__block .callback-form__content .info-block {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 860px) {
  .main-page .callback-form__block .callback-form__content .info-block {
    flex-direction: column;
    gap: 50px;
  }
}
.main-page .callback-form__block .callback-form__content .info-block .texts-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 0 0 40%; /* 420/1050 */
}
.main-page .callback-form__block .callback-form__content .info-block .texts-block__description {
  color: #fff;
}
.main-page .callback-form__block .callback-form__content .info-block .texts-block__description span {
  font-weight: 700;
  color: #e53936;
}
.main-page .callback-form__block .callback-form__content .info-block .texts-block .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.main-page .callback-form__block .callback-form__content .info-block .texts-block .social-links__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e53936;
}
.main-page .callback-form__block .callback-form__content .info-block .texts-block .social-links__item:hover {
  color: #a2211f;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form {
  flex: 0 0 40%; /* 420/1050 */
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form input,
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea {
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  background-color: #fff;
  border: 1px solid #e53936;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form input:focus,
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea:focus {
  border: 1px solid #fb9e1d;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form input.is-invalid::placeholder,
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea.is-invalid::placeholder {
  color: #e53936;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea {
  resize: none;
  overflow-y: auto;
  height: 150px;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea::-webkit-scrollbar {
  width: 6px;
  height: 10px;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea::-webkit-scrollbar-track {
  background: #d9d9d9;
  border-radius: 10px;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea::-webkit-scrollbar-thumb {
  background: #e53936;
  border-radius: 10px;
  border: 2px solid #e53936;
}
.main-page .callback-form__block .callback-form__content .info-block .callback-form textarea::-webkit-scrollbar-thumb:hover {
  background: #d57d02;
}
.main-page .news__block {
  position: relative;
  padding: 180px 0px;
}
@media (max-width: 1110px) {
  .main-page .news__block {
    padding: 140px 0px;
  }
}
@media (max-width: 990px) {
  .main-page .news__block {
    padding: 120px 0px;
  }
}
@media (max-width: 767.98px) {
  .main-page .news__block {
    padding: 100px 0px;
  }
}
@media (max-width: 390px) {
  .main-page .news__block {
    padding: 80px 0px;
  }
}
.main-page .news__block .bg__rectangles {
  width: 506px;
  height: 575px;
  position: absolute;
  right: -310px;
  top: 40px;
  z-index: -1;
}
@media (max-width: 1110px) {
  .main-page .news__block .bg__rectangles {
    width: 440px;
    height: 500px;
    right: -260px;
    top: 20px;
  }
}
@media (max-width: 990px) {
  .main-page .news__block .bg__rectangles {
    display: none;
  }
}
.main-page .news__block .news__content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.main-page .news__block .news__content .news__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-page .news__block .news__content .news__head .slider-controls {
  display: flex;
  gap: 20px;
}
@media (max-width: 420px) {
  .main-page .news__block .news__content .news__head .slider-controls {
    gap: 10px;
  }
}
.main-page .news__block .news__content .news__head .slider-controls .swiper-button-prev,
.main-page .news__block .news__content .news__head .slider-controls .swiper-button-next {
  background-color: #e53936;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
@media (max-width: 420px) {
  .main-page .news__block .news__content .news__head .slider-controls .swiper-button-prev,
  .main-page .news__block .news__content .news__head .slider-controls .swiper-button-next {
    width: 30px;
    height: 30px;
  }
}
.main-page .news__block .news__content .news__head .slider-controls .swiper-button-prev:hover,
.main-page .news__block .news__content .news__head .slider-controls .swiper-button-next:hover {
  background-color: #c32623;
}
.main-page .news__block .news__content .news-swiper {
  width: 100%;
  overflow: hidden;
}
.main-page .news__block .news__content .news-swiper .swiper-wrapper {
  display: flex;
  flex-direction: row;
}
.main-page .news__block .news__content .news-swiper .news-item {
  flex-shrink: 0;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.main-page .news__block .news__content .news-swiper .news-item .image-block {
  width: 100%;
  height: 230px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.main-page .news__block .news__content .news-swiper .news-item .image-block:hover {
  cursor: pointer;
}
.main-page .news__block .news__content .news-swiper .news-item .image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-page .news__block .news__content .news-swiper .news-item__title {
  font-weight: 700;
  font-size: 24px;
  color: #434343;
  margin-bottom: 15px;
}
.main-page .news__block .news__content .news-swiper .news-item__desc {
  margin-bottom: 30px;
}

.success-callback__modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 31, 31, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-30%);
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}
.success-callback__modal.active {
  z-index: 100;
  opacity: 1;
  transform: translateY(0);
}
.success-callback__modal .modal__content {
  padding: 40px;
  background-color: #fff;
  border: 1px solid #e53936;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  font-size: 24px;
}