@import url("https://fonts.googleapis.com/css2?family=Ysabeau+Infant:wght@400;500;600;700;800&display=swap");
* {
  padding: 0;
  margin: 0;
  font-family: "Ysabeau Infant", sans-serif;
}
button {
  cursor: pointer;
}
.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.price__block__materials li {
  text-align: center;
  margin-bottom: 2px;
}

.header__wrapper,
.footer__wrapper {
  background: black;
}
.block {
  width: 1200px;
}
.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 102px;
  color: white;
  font-size: 16px;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000000000;
}

.popup-content {
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("../img/lazer1.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  text-align: center;
  height: 350px;
  width: 670px;
}

.close {
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 70px;
  color: white;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
}

input {
  margin-bottom: 10px;
  padding: 8px;
}

button {
  padding: 10px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  cursor: pointer;
}

.logo {
  font-size: 36px;
  font-weight: 800;
}
.address {
  width: 230px;
  font-weight: 600;
  margin-left: 40px;
  font-size: 16px;
}
.whatsapp {
  margin-left: 70px;
  margin-right: 38px;
}
.whatsapp__title {
  display: flex;
  align-items: center;
}
.header__title_p {
  color: #ff7e00;
  font-weight: 600;
  font-size: 20px;
}
.whatsapp__title_image {
  width: 18px;
  height: 18px;
  margin-left: 10px;
}
.phone {
  font-weight: 600;
  color: white;
  text-decoration: none;
  cursor: pointer;
	    text-wrap: nowrap;
  display: inline-block;
}

.callbtn__block {
  margin-left: 100px;
}
.callbtn__btn {
  width: 173px;
  height: 50px;
}
.orange__btn {
  background: #ff7e00;
  font-size: 22px;
  font-weight: 700;
  color: white;
  border: none;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1.5s all;
  padding-top: 5px;
}
.orange__btn:hover {
  background-color: #e66e00;
  position: relative;
  top: -3px;
}
.contacts {
  display: flex;
  align-items: start;
}
.second__address {
  display: none;
}
.mainscreen__wrapper {
  height: calc(100vh - 102px);
  background-size: cover;
  background-position: center;
  position: relative;
}
.background {
  background-color: rgba(0, 0, 0, 0.7); /* черный цвет с прозрачностью 0.5 */
  /* Дополнительные свойства стиля, если необходимо */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.main__screen {
  display: flex;
  color: white;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}
.main__screen__title {
  margin-top: 50px;
  font-size: 60px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 19px;
}
.main__screen__subtitle {
  font-size: 24px;
  color: #f8f8f8;
  margin-bottom: 47px;
  font-weight: 600;
}
.getprice__btn {
  width: 270px;
  height: 52px;
  font-size: 24px;
}

.about__and__prices {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.about__text {
  font-size: 18px;
  color: #000000;
  width: 550px;
  text-align: left;
}
.about__prices {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.price__block {
  width: 280px;
  box-sizing: border-box;
}
.price__block__title {
  padding: 0 33px;
  display: flex;
  align-items: center;
  text-align: center;
  background: #ff7e00;
  height: 70px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px 10px 0 0;
}
.price__block__params,
.price__block__materials {
  height: 90%;
  padding: 0 75px;
  padding-top: 10px;
  list-style: none;
  font-size: 18px;
  background: #f7f7f7;
  border-radius: 0 0 15px 15px;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.advantage_img_block {
  display: flex;
  justify-content: center;
}
.advantages {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, calc(25% - 26px));
  gap: 40px;
}
.advantage {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.advantage__image {
  margin-bottom: 20px;
}
.advantage__text {
  text-align: center;
  height: 50px;
}

.contactus__block {
  background-image: url(../img/lazer1.png);
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 46px;
  margin-bottom: 60px;
  height: max-content;
  border-radius: 20px;
  color: white;
  padding-left: 100px;
  padding-top: 40px;
  box-sizing: border-box;
  padding-bottom: 30px;
}
..wpcf7 form .wpcf7-response-output {
  margin: 1em 0.5em 1em;
}
.form__title {
  position: relative;
  z-index: 3;
  font-size: 46px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 18px;
}
.contactform {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.contact_inp,
.contact__btn {
  width: 280px;
  height: 64px;
  border: none;
  border-radius: 50px;
}
.contact__btn {
  background: #ff0000;
  color: white;
  font-size: 18px;
  font-weight: 700;
  transition: 0.7s background-color;
}
.contact_inp:hover,
.contact__btn:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Темная тень при наведении */
}
.contact__btn:active {
  background-color: #af0000; /* Темнее красный цвет при нажатии */
}
.contact_inp {
  font-size: 18px;
  padding-left: 30px;
  color: #000000;
  box-sizing: border-box;
}
.contact_inp::placeholder {
  color: #000000;
}
.background2 {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.steps__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
}
.steps__section {
  display: flex;
  gap: 30px;
}
.step {
  width: 267px;
}
.step__number {
  background: #e69930;
  color: white;
  width: 73px;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
  box-sizing: border-box;
  border-radius: 0 50px 50px 0px;
  font-size: 36px;
  font-weight: 800;
}
.step__title {
  font-size: 24px;
  color: black;
  font-weight: 800;
  margin-top: 20px;
  margin-bottom: 25px;
}
.step__subtitle {
  font-size: 18px;
  color: black;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  width: calc(100% + 20px); /* Увеличиваем ширину на 20px для учета расстояния между слайдами */
  transition: transform 0.5s ease-in-out;
  justify-content: space-between;
}

.slide {
  flex: 0 0 calc((100% - 20px) / 4); /* Равномерное распределение слайдов с учетом расстояния */
  height: 275px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.slider__wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.prev {
  position: absolute;
  top: 50%;
  left: -50px;
  transform: rotate(180deg);
  z-index: 10;
}

.next,
.prev {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.next {
  position: absolute;
  top: 50%;
  right: -50px;
  z-index: 10;
}
.our__products {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrapper__map {
  margin-top: 150px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.consult__block {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 142px;
  background: url("../img/rezka.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}
.consult__block__title {
  color: #252525;
  font-size: 32px;
  font-weight: 600;
  margin-right: 20px;
  z-index: 3;
}
.consult__block__btn {
  background: #252525;
  width: 220px;
  height: 46px;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  z-index: 3;
  cursor: pointer;
}
.background3 {
  background: #e8ba2192;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.map {
  height: 600px;
  background: rgb(0, 0, 0);
}

@media (min-width: 320px) and (max-width: 768px) {

  .popup-content {
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffee00;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    height: 350px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
  }
  .form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .form__title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .close {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }
  .second__address {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  .second__address .steps__title {
    margin-bottom: 20px;
    margin-top: 30px;
  }
  .second__address .address {
    display: inline-block;
    text-align: center;
    margin-left: 0;
    font-size: 18px;
  }
  .step__number {
    text-align: center;
    background: #e69930;
    color: white;
    width: 73px;
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 0px;
    box-sizing: border-box;
    border-radius: 50px 50px 50px 50px;
    font-size: 36px;
    font-weight: 800;
  }
  .step {
    display: flex;
    width: 267px;
    flex-direction: column;
    align-items: center;
  }
  .step__subtitle {
    text-align: center;
  }
  .block {
    width: 100%;
  }
  .logo {
    font-size: 14px;
    font-weight: 700;
  }
  .address {
    display: none;
  }
  .whatsapp,
  .callbtn__block {
    margin: 0;
  }
  .header__title_p {
    font-size: 12px;
  }
  .whatsapp__title_image {
    width: 12px;
    height: 12px;
  }
  .phone {
    font-size: 12px;
  }
  .orange__btn {
    font-size: 12px;
  }

  .callbtn__btn {
    width: 100px;
    height: 40px;
  }
  .phones {
    display: none;
  }
  .header {
    height: 80px;
    justify-content: space-evenly;
  }
  .main__screen {
    padding-left: 15px;
  }
  .main__screen__title {
    margin-top: 50px;
    font-size: 38px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 24px;
  }
  .main__screen__subtitle {
    font-size: 16px;
    color: #f8f8f8;
    margin-bottom: 20px;
    font-weight: 600;
  }
  .getprice__btn {
    width: 160px;
    height: 50px;
    font-size: 14px;
  }
  .about__and__prices {
    padding-left: 20px;
    flex-direction: column;
  }
  .about__text {
    width: 100%;
  }
  .about__prices {
    display: flex;
    gap: 105px;
    flex-direction: column;
    align-items: center;
  }
  .about__text {
    font-size: 14px;
  }
  .advantages {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
  }
  .price__block__params,
  .price__block__materials {
    height: 100%;
    display: flex;
    padding-top: 10px;
    list-style: none;
    font-size: 18px;
    background: #f7f7f7;
    border-radius: 0 0 15px 15px;
    flex-direction: column;
    align-items: center;
  }
  .price__block {
    width: 310px;

    box-sizing: border-box;
  }
  .advantage {
    align-items: center;
  }
  .advantage__text {
    text-align: center;
    height: 80px;
    font-size: 14px;
    width: 200px;
  }
  .wrapper__map {
    margin-top: 100px;
  }
  .map {
    height: 400px;
  }
  .map iframe {
    height: 400px;
  }
  .contactus__block {
    display: flex;
    background-image: url("../img/lazer1.png");
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 49px;
    margin-bottom: 60px;
    height: 400px;
    border-radius: 20px;
    color: white;
    padding-left: 20px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
  }
	.contacts {
  display: flex;
  align-items: start;
  justify-content: space-between;
  width: 200px;
}
	.phones{
		display:flex;
		    flex-direction: column;
	}
	.callbtn__block{
		display:none;
	}
  .steps__section {
    display: flex;
    gap: 30px;
    flex-direction: column;
  }

  .form__title {
    line-height: 32px;
    font-size: 32px;
  }
  .contact_inp {
    font-size: 16px;
    padding-left: 20px;
  }
  .contact_inp,
  .contact__btn {
    width: 240px;
    height: 50px;
  }
  .consult__block__title {
    text-align: center;
    font-size: 28px;
    margin-right: 0px;
    margin-bottom: 20px;
    width: 300px;
  }
  .background3 {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .popup-content {
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(../img/lazer1.png);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    height: 350px;
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 20px;
  }
  #popup-form {
    padding-left: 15px;
  }
  #popup-form h3 {
    font-size: 28px;
    margin-bottom: 40px;
    color: black;
  }
  .contact_inp,
  .contact__btn {
    width: 270px;
    height: 50px;
    border: none;
    border-radius: 50px;
  }
}

/* При ширине экрана более 1200px отображаем 4 работы и переключаем по 1 работе */
@media (min-width: 1201px) {
  .slide {
    flex: 0 0 calc((100% - 20px) / 4);
  }
  .popup-content {
    width: 50%;
    height: 500px;
  }
  #popup-form {
    display: flex;
    align-items: center;
  }
  .popup-content {
    width: 700px;
    height: 400px;
    display: flex;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    justify-content: flex-start;
    align-items: center;
    border-radius: 30px;
  }
  .form__title {
    font-size: 40px;
    margin-bottom: 50px;
    font-weight: 700;
    color: black;
  }
  .contact_inp,
  .contact__btn {
    width: 400px;
    height: 55px;
    border: none;
    border-radius: 15px;
  }
}
/* При ширине экрана до 1200px отображаем 1 работу и переключаем по 1 работе */
@media (max-width: 1200px) {
  .slide {
    flex: 0 0 calc(100%);
    height: 350px;
    border-radius: 30px;
  }
  .slider-container {
    width: calc(100% - 20px);
  }
  .prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: rotate(180deg);
    z-index: 10;
  }
  .next {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 10;
  }
  .consult__block {
    background: none;
    flex-direction: column;
    height: 200px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .step__number {
    text-align: center;
    background: #e69930;
    color: white;
    width: 73px;
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 0px;
    box-sizing: border-box;
    border-radius: 50px 50px 50px 50px;
    font-size: 36px;
    font-weight: 800;
  }
  .slide {
    flex: 0 0 calc(100%+50px); /* Ширина 100% минус отступы, чтобы занимать всю ширину родителя */
    height: 500px;
  }
  .slider-container {
    width: 500px;
    height: 500px;
  }
  .block {
    width: 100%;
  }
  .logo {
    font-size: 28px;
    text-align: center;
    font-weight: 800;
    line-height: 30px;
  }
  .address {
    margin-left: 20px;
    font-size: 12px;
  }
  .whatsapp {
    margin-left: 10px;
    margin-right: 20px;
  }
  .phone {
    font-weight: 600;
    width: max-content;
  }
  .callbtn__block {
    margin-left: 20px;
  }
  .orange__btn {
    font-size: 16px;
    padding-bottom: 0px;
  }
  .callbtn__btn {
    width: 140px;
    height: 40px;
  }
  .whatsapp__title_image {
    width: 14px;
    height: 14px;
  }
  .about__and__prices {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about__text p {
    text-align: center;
    font-size: 20px;
  }
  .price__block {
    width: 300px;
  }
  .advantages {
    margin-top: 120px;
    display: grid;
    grid-template-columns: repeat(2, calc(50% - 30px));
    gap: 30px;
  }
  .steps__section {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, calc(50%));
    margin-bottom: 30px;
  }
  .step {
    display: flex;
    width: 300px;
    flex-direction: column;
    align-items: center;
  }
  .step__subtitle {
    text-align: center;
  }
  .prev {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: rotate(180deg);
    z-index: 10;
  }
  .next {
    position: absolute;
    top: 50%;
    right: 0px;
    z-index: 10;
  }
  .consult__block__title {
    color: #252525;
    margin-bottom: 15px;
  }
  .mainscreen__wrapper {
    padding-left: 80px;
  }
}
