:root {
  --black: #565360;
  --white: #fff;
  --gray: #908E9B;
  --blue: #02A8F3;
  --yellow: #e1b133;
  --size: 1rem;
  --size-medium: 1.2rem;
  --size-medium-plus: 1.5rem;
  --size-small: 0.8rem;
  --size-large: 3rem;
}

* {
  scroll-behavior: smooth;
  font-family: 'Figtree', sans-serif;
}

html, body {
  overflow-x: hidden;
}

body {
  font-size: var(--size);
}

button {
  cursor: pointer;
}

/**************************************
 * Back to top
 *************************************/
.back-to-top {
  position: fixed;
  display: none;
  background: var(--yellow);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  right: 25px;
  bottom: 20px;
  justify-content: center;
  align-items: center;
  transition: background 0.5s;
  z-index: 11;
}
.back-to-top svg {
  width: 16px;
  fill: #fff;
}

/**************************************
 * Call
 *************************************/
.call-bottom {
  display: none;
  width: 60px;
  height: 60px;
  background: var(--yellow);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 20px;
  left: 30px;
  color: #fff;
  z-index: 100;
}
.call-bottom a {
  display: block;
  text-decoration: none;
  outline: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
}
.call-bottom:before {
  border: none;
  animation: 4s linear 0s normal none infinite running spin;
  border-color: var(--yellow) transparent transparent;
  border-radius: 50%;
  border-right: 3px solid transparent;
  border-style: solid;
  border-width: 3px;
  bottom: -10px;
  content: "";
  left: -10px;
  position: absolute;
  right: -10px;
  top: -10px;
}
.call-bottom:after {
  border: none;
  animation: 2s linear 0s normal none infinite running spin;
  border-color: var(--yellow) transparent transparent;
  border-image: none;
  border-radius: 50%;
  border-right: 2px solid transparent;
  border-style: solid;
  border-width: 2px;
  bottom: -5px;
  content: "";
  left: -5px;
  position: absolute;
  right: -5px;
  top: -5px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.call-bottom img {
  width: 28px;
}

/**************************************
 * Header
 *************************************/
header {
  position: sticky;
  width: 100%;
  height: 60px;
  top: 0;
  left: 0;
  color: var(--black);
  background-color: var(--white);
  z-index: 2;
  box-shadow: 0 0 12px #eaeaea;
  border-bottom: 1px solid hsla(0,0%,100%,.2);
  filter: drop-shadow(0 0 1px #acacac);
}

.container {
  width: 90%;
  margin: 0 auto;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 100%;
}

.logo img {
  width: 100px;
  height: 100%;
}

.nav ul {
  display: flex;
}

.nav__item {
  position: relative;
  padding: .5rem 1rem;
  transition: all linear .5s;
}

.nav__item a {
  transition: 0.3s ease;
  color: var(--black);
  font-size: 20px;
  text-decoration: none;
  padding: 20px 0;
  margin: 0 20px;
}
.nav__item a:hover {
  color: var(--yellow);
}

.nav__item.active a {
  color: var(--yellow);
}

/* Burger */
.header__burger {
  display: none;
}

/* форма зворотнього зв'язку */
.contact-us {
  border: none;
}

.contact__modal-content {
  padding: 0 !important;
}

.form-container {
	display: flex;
	justify-content: center;
	flex-flow: wrap;
	background-color: #fff;
	width: 400px;
	padding: 60px 60px 140px;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.1);
	position: relative;
}
.form-line {
	width: 100%;
	display: block;
	position: relative;
	transition: .3s all ease;
	padding-top: 10px;
}
.form-line + .form-line {
	margin-top: 30px;
}
.form-line label {
	display: block;
	position: absolute;
	top: 15px;
	left: 0;
	font-size: 14px;
	color: #565656;
	transition: .3s all ease;
	z-index: 1;
}
.form-input {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #ccc;
	padding: 0 0 10px;
	font-size: 16px;
	color: #000;
	outline: none;
	position: relative;
	z-index: 2;
	background-color: transparent;
	transition: .3s all ease;
	width: 100%;
}
textarea.form-input {
	resize: vertical;
}
.form-input:focus + label, 
.form-line label.top {
	font-size: 10px;
	top: -10px;
	color: #2f4231;
}
.form-input:focus {
	border-bottom-color: #2f4231;
}
.error-label,
.check-label {
	font-size: 10px;
	position: absolute;
	bottom: 10px;
	right: 0;
	color: #fff;
	padding: 3px;
	opacity: 0;
	visibility: hidden;
	transition: .3s all ease;
	border-radius: 2px;
}
.error-label {
	background-color: #f75e5e;
}
.check-label {
	background-color: #35ca7c;
	width: 16px;
	height: 16px;
}
.check-label:after,
.check-label:before {
	position: absolute;
	content: '';
	background-color: #fff;
	height: 2px;
}
.check-label:after {
	width: 5px;
	transform: rotate(20deg);
	bottom: 4px;
	left: 4px;
}
.check-label:before {
	width: 10px;
	transform: rotate(110deg);
	right: 1px;
	top: 7px;
}

.form-line.success .form-input {
	border-bottom-color: #35ca7c;
}
.form-line.error label {
	color: #f75e5e;
}
.form-line.error .form-input {
	color: #4e0c0c;
	border-bottom-color: #f75e5e;
}
.form-line.error .error-label,
.form-line.success .check-label {
	opacity: 1;
	visibility: visible;
}

.headline {
	display: block;
	text-align: center;
	margin-bottom: 40px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	letter-spacing: 5px;
	position: relative;
}

.headline span {
	position: relative;
	z-index: 2;
}

.headline:before {
	content: '';
	position: absolute;
	z-index: 1;
	background-color: rgba(225,177,51, 0.5);
	height: 12px;
	width: 100%;
	bottom: -3px;
	left: 5px;
}

.form-button {
	border: none;
	outline: none;
	padding: 20px 60px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	color: #000;
	border-radius: 3px;
	cursor: pointer;
	background: var(--yellow);
	display: block;
	transition: .3s all ease;
	position: absolute;
	bottom: 40px;
	letter-spacing: 2px;
}

.form-button:hover {
	background-color: var(--yellow);
	-webkit-box-shadow: 0px 10px 25px 0px rgba(72,72,72,0.1);
	-moz-box-shadow: 0px 10px 25px 0px rgba(72,72,72,0.1);
	box-shadow: 0px 10px 25px 0px rgba(72,72,72,0.1);
	bottom: 45px;
}

.modal__close-contact {
  top: 0 !important;
  right: 6px !important;
}

.send-form {
  opacity: 1;
  visibility: visible;
  z-index: 1001;
}

.status-loading {
  position: absolute;
  bottom: 0;
  margin-top: 54px;
  text-align: center;
  z-index: 3;
}

.status-loading img{
  width: 40px;
  height: 40px;
}

.contact__thanks {
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  z-index: 3;
}

.contact__thanks.show {
  display: flex;
}

.thanks-wrapper {
  display: flex;
  flex-direction: column;
  padding: 20px;
  text-align: center;
}

@media (max-width: 500px) {
	.form-container {
		width: 300px;
		padding: 30px 20px 100px;
	}
	.form-button {
		bottom: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
	}
	.form-button:hover {
		bottom: 30px;
	}
}

.lang {
  display: none;
}

.lang a:before, .nav__item a:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background-color: rgba(32,38,62,.94);
  transition: width .24s cubic-bezier(.17,.67,.19,1);
  opacity: 0;
}

.lang__block {
  display: flex;
  align-items: center;
  gap: 20px;
}


.lang a {
  margin-left: 10px;
  text-decoration: none;
  color: var(--black);
  font-weight: bold;
  transition: color 0.3s ease;
}

.lang a.active {
  color: var(--yellow);
}

.lang img {
  width: 20px;
  height: auto;
  margin-right: 5px;
}

.contact-us {
  position: relative;
  display: inline-block;
  background-color: transparent;
  padding: 10px;
  border: 2px solid var(--yellow);
  color: black;
  overflow: hidden;
  transition: color 0.3s ease;
}

.contact-us:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--yellow);
  color: white;
  text-align: center;
  padding: 10px;
  transition: left 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.contact-us:hover {
  color: white;
}

.contact-us:hover:before {
  left: 0;
}

.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 60px 1rem 0;
}

.section__title, .section__subtitle {
  text-align: center;
}

.section__subtitle {
  color: var(--gray);
}

/* Перший блок: Головна, відео */
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* Скрыть изображение по умолчанию */
.fallback-img {
  display: none;
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Показать изображение, если видео не загружено */
.hero__video::onerror + .fallback-img {
  display: block;
}

/* Скрыть видео, если произошла ошибка загрузки */
.hero__video::onerror {
  display: none;
}

.hero__content {
  position: absolute;
  width: 90%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
  color: #fff;
  font-size: var(--size-medium-plus);
  display: flex;
  justify-content: space-between;
}

.hero__text {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.fade-in-out {
  position: absolute;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 2s;
  right: 0;
  text-align: end;
}

.hero__title {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hero__title h1, .hero__title h2 {
  margin: 0;
}

.hero__more {
  margin-top: 2rem;
  font-size: var(--size-medium);
}

.c-cta {
  text-transform: uppercase;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  padding-bottom: 15px;
  cursor: pointer;
  color: #fff;
}

.c-cta:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  z-index: 2;
  will-change: transform,color;
  -webkit-transform: scale3d(1,1,1);
  transform: scale3d(1,1,1);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition: -webkit-transform .35s;
  transition: -webkit-transform .35s;
  transition: transform .35s;
  transition: transform .35s,-webkit-transform .35s;
}

.c-cta:hover:before {
  -webkit-transform: scale3d(0,1,1);
  transform: scale3d(0,1,1);
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}

.u-icon {
    display: inline-block;
    width: 1em;
    height: 100%;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.c-cta .u-icon {
    margin-left: 12px;
    -webkit-transition: all .2s cubic-bezier(.55,.085,.68,.53);
    transition: all .2s cubic-bezier(.55,.085,.68,.53);
}

.c-cta:hover .u-icon {
  -webkit-transform: translateX(30%);
  transform: translateX(30%);
}

/* Другий блок: Товари */
.youtube-block {
  display: flex;
  justify-content: center;
}
.youtube-block iframe {
  text-align: center;
  width: 900px;
  height: 400px;
}
@media all and (max-width: 1200px) {
  .youtube-block iframe {
    max-width: 700px;
    height: 400px;
  }
}
@media all and (max-width: 991px) {
  .youtube-block iframe {
    max-width: 500px;
    height: 350px;
  }
}
@media all and (max-width: 768px) {
  .youtube-block iframe {
    width: 100%;
    padding: 0 2rem;
    height: 350px;
  }
}
@media all and (max-width: 400px) {
  .youtube-block iframe {
    padding: 0 2rem;
    height: 250px;
  }
}
.product__block {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product__blocks {
  display: flex;
  position: relative;
  align-items: center;
  padding: 0 2rem;
  width: 40%;
  height: 60vh;
  background-color: #EAECED;
  cursor: pointer;
}

.product__l500 {
  background: url(../img/l500.png) no-repeat;
}

.product__auto {
  background: url(../img/l500auto.png) no-repeat;
}

.product__tripod {
  background: url(../img/tripod.png) no-repeat;
}

.product__quadropod {
  background: url(../img/quadropod.png) no-repeat;
}

.product__new {
  background: url(../img/1.png) no-repeat;
}

.product__img {
  width: 50%;
  height: 100%;
  background-size: contain;
  background-position-y: 50%;
}

.product__about {
  width: 50%;
  text-align: center;
}

.product__about-more{
  cursor: default;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	opacity:0;
	overflow: hidden;
	background-color: rgba(0,0,0, .75);
	-webkit-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
}
.product__about-btn {
  cursor: pointer;
	position: relative;
	text-decoration: none;
	color: #fff;
	background-color: transparent;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.product__about-more .product__about-text{
	width: 100%;
	padding:0 5%;
	height:60%;
	background-color: var(--yellow);
	position:absolute;
  display: flex;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
	left:0;
	bottom: -40%;
  clip-path: polygon(0 0,100% 60px,100% 100%,0 100%);
	-webkit-transition: bottom .3s ease;
	-o-transition: bottom .3s ease;
	transition: bottom .3s ease;
}
.product__about-more .product__about-text p{
  margin: 0;
	font-size: var(--size-medium);
	color:#fff;
	font-weight:bold;
	position:relative;
  text-align: center;
}

.product__about-more:hover{
	opacity:1;
}
.product__about-more:hover .product__about-text{
	-webkit-transition: bottom .3s ease .2s;
	-o-transition: bottom .3s ease .2s;
	transition: bottom .3s ease .2s;
	bottom:0;
}
.product__about-btn svg {
  -webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
.product__about-btn:hover {
  border: 1px solid var(--black);
}
.product__about-btn:hover svg {
  fill: var(--black);
}
.product__modal, .contact__modal, .contact__modal-thanks {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}
.product__modal-wrapper {
  max-width: 900px;
  margin: auto;
}
.product__modal-content {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 30px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  max-height: 80vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 30px;
  color: #000;
  opacity: 0.5;
  font-weight: 700;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.product__modal.hide, .contact__modal.hide {
  display: none;
}

.product__modal.show, .contact__modal.show {
  display: flex;
}

.product__slider {
  width: 50%;
  height: 100%;
}

.swiper-slide img {
  width: 420px;
  height: auto;
  max-height: 600px;
  /* background-color: var(--yellow); */
  padding: 4px;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--yellow);
}

.product__modal-description {
  width: 40%;
  margin: auto 0;
}

.product__modal-text p {
  text-align: justify;
  line-height: 1.5;
}
.ul-bullet {
  list-style-type: disc;
}
.product__modal-about .ul-bullet li {
  line-height: 1.7;
}

/* Третій блок: Проектні роботи */
.work__wrapper {
  display: flex;
  justify-content: center;
  gap: 5%;
  margin-top: 3rem;
}

.work__image {
  display: flex;
  align-items: center;
}

.work__image img {
  width: 600px;
  height: auto;
}

.work__text {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.work__text-about {
  color: var(--gray);
}

/* Четвертий блок: Нам довіряють */
.partners {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partners__blocks {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.partners__block {
  display: flex;
  align-items: center;
}

.partners__block img {
  width: 310px;
  height: auto;
}

.video-subtitle {
  margin-top: 4rem;
}

.video-block {
  display: flex;
  justify-content: space-around;
}

.video iframe {
  width: 560px;
  height: 315px;
}

/* П'ятий блок: Про нас */
.about {
  padding-bottom: 30px;
}
.container-small {
  width: 70%;
  margin: 0 auto;
}
.history-block {
  margin-top: 3rem;
}
.history__date {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  height: 200px;
  width: 200px;
  position: relative;
  margin: 0 auto;
  color: var(--yellow);
  font-size: 30px;
}
.history__text {
  position: relative;
}
.history__text:before {
  position: absolute;
  content: "";
  width: 4px;
  height: 100%;
  background: #ccc;
  top: 0;
  left: calc(50% - 2px);
}
.history__text:after {
  position: absolute;
  content: "";
  background: #ccc;
  left: calc(50% - 5px);
  top: calc(50% - 5px);
  height: 10px;
  width: 10px;
  border-radius: 50%;
}
.history__text p {
  width: 50%;
  text-align: right;
  padding: 10px 20px;
  margin: 0;
  font-size: 1.1rem;
}
.history:nth-child(2n) .history__text p {
  margin-left: auto;
  text-align: left;
}
/* Футер */
footer {
  display: flex;
  background-color: #58595b;
  width: 100%;
  height: 160px;
}

.footer__wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-direction: column;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.footer__logo {
  width: 140px;
}

.footer__logo svg {
  fill: white;
}

.footer__nav {
  display: flex;
  padding-left: 0;
  gap: 15px;
  color: #fff;
}

.nav__link {
  color: #fff;
}

.nav__item-footer a,
.nav__item-footer a:after,
.nav__item-footer a:before {
  transition: all .3s;
}

.nav__item-footer a {
  position: relative;
}
.nav__item-footer a:after {
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: var(--white);
  height: 2px;
}
.nav__item-footer a:hover:after {
  width: 100%;
}
.social {
  display: flex;
  gap: 20px;
}

.social a {
  display: inline-block;
  width: 30px;
  height: 30px;
  fill: white;
  transition: all .3s ease;
}

.social a:hover {
  fill: var(--yellow);
}

.footer__contact {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer__contact a {
  color: white;
}

.footer__tel a, .footer__email a {
  position: relative;
}

.footer__tel a::after, .footer__email a::after {
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: var(--white);
    height: 2px;
    transition: all .3s;
}

.footer__tel a:hover:after, .footer__email a:hover:after {
  width: 100%;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px); /* Начальное смещение текста вниз на 20px */
  transition: opacity 2s ease, transform 2s ease;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(40px); /* Начальное смещение текста вниз на 20px */
  transition: opacity 3s ease, transform 3s ease;
}

@media screen and (max-width: 1500px) {
  .product__about-more .product__about-text {
    clip-path: polygon(0 0,100% 0px,100% 100%,0 100%);
  }

  .product__modal-content {
    max-height: 95vh;
  }
}

@media screen and (max-width: 1300px) {
  .video iframe {
    width: 500px;
    height: 280px;
  }
}

@media screen and (max-width: 1230px) {
  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 3;
    order: 3;
  }

  .header__burger span {
    position: absolute;
    background-color: #000;
    left: 0;
    top: 9px;
    width: 70%;
    height: 2px;
    transition: all .3s ease 0s;
  }
  .header__burger::before,
  .header__burger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all .3s ease 0s;
  }
  .header__burger.activeBurger span {
    transform: scale(0);
  }
  .header__burger::before {
    top: 0;
  }
  .header__burger::after {
    bottom: 0;
  }
  .header__burger.activeBurger::before {
    transform: rotate(45deg);
    top: 9px;
  }
  .header__burger.activeBurger::after {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 28%;
    background-color: rgba(0, 0, 0, 0.8);
    margin: 60px 0 0;
    display: flex;
    justify-content: center;
    transform: translateX(100%);
    transition: all .3s ease;
  }
  .nav.activeBurger {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
  }

  .nav__item {
    padding: 1.5rem 0rem;
    text-align: center;
  }

  .nav__item a {
    color: var(--white);
    padding: 20px 30px;
  }

  .product__blocks {
    width: 45%;
    height: 50vh;
  }

  .product__about h2 {
    font-size: 1.4rem;
  }

  .product__about h3 {
    font-size: 1.2rem;
  }

  .work__wrapper {
    flex-direction: column;
  }

  .work__image {
    justify-content: center;
  }

  .work__image img {
    width: 490px;
    height: auto;
  }

  .work__text {
    width: 84%;
    margin: 0 auto;
  }

  .video iframe {
    width: 420px;
    height: 290px;
  }

  .partners__block img {
    width: 240px;
    height: auto;
  }
}

@media screen and (max-width: 1000px) {
  .partners__block img {
    width: 190px;
  }

  .nav {
    width: 31%;
  }

  .nav__item a {
    padding: 20px 10px;
  }

  .section {
    padding: 30px .5rem 0;
  }

  .container {
    width: 98%;
  }

  .product__blocks {
    width: 48%;
    height: 50vh;
  }

  .product__block {
    margin-top: 1rem;
    gap: 1rem;
  }

  .product__about h2 {
    font-size: 1.2rem;
  }

  .product__about h3 {
    font-size: 1.1rem;
  }

  .product__about-more .product__about-text {
    height: 68%;
  }

  .product__about-more .product__about-text p {
    font-size: 1.1rem;
  }

  .video-block {
    flex-direction: column;
    gap: 2rem;
  }

  .video-block .video {
    margin: 0 auto;
  }

  .video iframe {
    width: 640px;
    max-width: 700px;
  }

  .container-small {
    width: 86%;
  }

  .section__subtitle {
    padding: 0 4rem;
  }

  .call-bottom {
    width: 48px;
    height: 48px;
  }

  .header__burger {
    margin-right: 10px;
  }
}

@media screen and (max-width: 900px) {
  .work__image img {
    width: 420px;
  }

  .product__modal-wrapper {
    width: 100%;
    height: 100%;
  }

  .product__modal-content { 
    height: 100vh;
    max-height: 100vh;
  }

  .modal__close {
    font-size: 50px;
  }

  .swiper-slide img {
    width: 350px;
  }

  .product__slider {
    display: flex;
    align-items: center;
  }

  .modal__close {
    position: fixed;
  }
}

@media screen and (max-width: 769px) {
  .nav {
    width: 100%;
    height: 100vh;
  }

  .nav__item a {
    padding: 20px 100px;
  }

  .hero__content {
    width: 95%;
    height: 100vh;
    left: 0;
    right: 0;
    color: #fff;
    font-size: var(--size-medium);
    display: flex;
    flex-direction: column;
  }

  .hero__text {
    position: relative;
    width: 100%;
    bottom: 20%;
  }

  .fade-in-out {
    text-align: center;
  }

  .product__blocks {
    width: 74%;
    height: 420px;
  }

  .product__modal-content {
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .product__slider {
    width: 84%;
  }

  .swiper-slide img {
    width: 100%;
  }

  .product__modal-description {
    width: 84%;
  }

  .product__modal-title {
    font-size: 2.3rem;
  }

  .product__modal-model {
    font-size: 1.8rem;
  }

  .ul-bullet {
    font-size: 1.1rem;
  }

  .product__modal-text {
    font-size: 1.2rem;
  }

  .work__wrapper {
    margin-top: 1rem;
  }

  .work__text-block {
    font-size: 1.2rem;
  }

  .partners {
    margin-top: 3rem;
  }

  .section__title {
    margin: 0;
  }

  .partners__block img {
    width: 134px;
  }

  .video-block .video {
    width: 100%;
  }

  .video iframe {
    width: 100%;
  }

  .about  {
    margin-top: 3rem;
  }

  .work__text-about {
    text-align: justify;
    text-indent: 20px;
  }

  .container-small {
    width: 100%;
  }

  .footer__nav {
    display: none;
  }

  .footer__content {
    justify-content: center;
    gap: 5%;
  }

  .form-container {
    width: 100%;
    height: 100%;
  }

  .headline:before {
    bottom: 50px;
  }

  .form-container {
    height: 85%;
  }

  .headline {
    margin-bottom: 10px;
  }

  .form-button {
    bottom: 40px;
  }

  .work__text-block {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 600px) {
  .product__blocks {
    width: 90%;
  }

  .work__image img {
    width: 320px;
  }

  .nav__item a {
    padding: 20px 70px;
  }
}

@media screen and (max-width: 500px) {
  header {
    height: 70px; 
  }

  .nav {
    margin: 70px 0 0;
  }

  .contact-us {
    padding: 10px;
  }

  .partners__blocks {
    flex-wrap: wrap;
  }

  .section__subtitle {
    padding: 0 1rem;
  }

  .modal__close {
    z-index: 9999;
  }

  .modal__close {
    font-size: 60px;
    top: -12px;
    right: 6px;
  }

  .footer__logo {
    width: 116px;
  }

  .footer__contact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
}

@media screen and (max-width: 400px) {
  .work__image img {
    width: 270px;
  }
  .nav__item a {
    padding: 20px 50px;
  }

  .product__blocks {
    height: 380px;
  }

  .product__about h2 {
    font-size: 1.1rem;
  }

  .product__about h3 {
    font-size: 1rem;
  }

  .product__about-more .product__about-text {
    height: 68%;
  }

  .product__about-more .product__about-text {
    align-items: center;
  }

  .product__about-more .product__about-text p {
    font-size: 1rem;
  }

  .history__text p {
    padding: 5px 5px;
    font-size: 1rem;
  }

  .contact-us {
    padding: 12px;
  }

  .video-block {
    gap: 1rem;
  }

  .video iframe {
    height: 230px;
  }

  .call-bottom {
    width: 40px;
    height: 40px;
    bottom: 16px;
    left: 14px;
  }

  .call-bottom img {
    width: 16px;
  }

  .call-bottom:before {
    border-right: 2px solid transparent;
    border-width: 2px;
    bottom: -7px;
    left: -7px;
    right: -8px;
    top: -8px;
  }

  .call-bottom:after {
    border-right: 1px solid transparent;
    border-width: 1px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    top: -3px;
  }

  .back-to-top {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    right: 10px;
    bottom: 16px;
    z-index: 11;
  }

  .back-to-top svg {
    width: 12px;
  }
}

.work {
  margin-bottom: 30px;
}