* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5em;
}

img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: top;
}
a {
  text-decoration: none;
  color: #333;
  transition: all 0.4s ease;
}
a:visited {
  color: #000;
}
.container {
  background: url(./img/bg-mob.png) no-repeat left bottom / auto 100%;
  padding: 15px 15px 105px 0;
  text-align: center;

  position: relative;
  min-height: 800px;
}
.box {
  padding-left: 85px;
}
.logo {
  max-width: 170px;
  margin: 0 auto 16px;
}

.content {
  max-width: 292px;
  margin: 0 auto;
}

.content p:first-child,
.content p:last-child {
  font-size: 14px;
}
.box {
  margin-bottom: 62px;
}
.contacts {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
  gap: 32px;
  margin: 38px 0 0 0;
}
.contacts a {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
}

a:hover {
  background-color: rgb(177, 38, 46, 0.9);
}
button {
  display: flex;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 5px;
  background: #d00000;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}
button#openConsultation {
  display: flex;
  justify-content: center;
  padding: 29px 10px 28px 10px;
  margin: 0 0 0 20px;
  width: calc(100% - 20px);
}
button:hover,
button:active,
button:focus {
  background-color: rgba(208, 0, 0, 0.9);
}

.copyright b {
  font-size: 14px;
  margin-bottom: 20px;
}
.copyright b:last-child {
  margin-bottom: 60px;
}
.copyright a {
  color: #000;
  text-decoration: none;
}
.visD {
  display: none;
}

.mb16 {
  margin-bottom: 16px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  text-align: center;
  background-color: #000;
  color: #fff;
}
/* notification */
.notificationBox {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1001;
}
.notification {
  padding: 12px 16px;
  width: calc(100% - 20px);
  background-color: #000;
  color: white;
  font-size: 18px;
  line-height: 20px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* Slider */
.swiper-container {
  position: relative;
  padding: 30px 14px;
  background-color: #000;
}
.swiper {
  width: 100%;
  max-width: 1400px;
  position: static !important;
}

.swiper-wrapper {
  height: auto !important;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.swiper-slide img:hover {
  transform: scale(1.05);
}
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  z-index: 10;
  background-color: transparent;
  cursor: pointer;
}

.swiper-button-prev {
  left: 20px !important;
}
.swiper-button-prev img {
  transform: rotate(-180deg);
}

.swiper-button-next {
  right: 20px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

/* popup */

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 45px 0;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 1000;
}

.popup img {
  max-width: calc(100% - 20px);
  width: fit-content;
}

.popup .close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
.popup#popupConsultation {
  background-color: white;
}
.popup#popupConsultation .close {
  color: #000;
}
#popupConsultation .popupContent {
  padding: 20px;
  margin: 0 auto;
  max-width: 500px;
}
#popupConsultation .title {
  margin-bottom: 36px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
#consultationForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
#consultationForm input {
  padding: 10px;
  height: 52px;
  border-radius: 6px;
  border: 1px solid #000;

  background: #efecec;
}
#consultationForm input:focus {
  outline: none;
}
#consultationForm button {
  padding: 14px;
}
#popupConsultation .popupBottom {
  text-align: center;
}
#popupConsultation .popupBottom a {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin: 0 8px;
  overflow: hidden;
  border-radius: 11px;
}
#popupConsultation .popupBottom .text {
  margin-bottom: 20px;
}
#popupConsultation .popupBottom img {
  width: 44px;
  height: 44px;
  max-width: none;
}
.underlay {
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: #000;
  opacity: 0.5;
}

/*  Map */
iframe {
  width: 100%;
  height: 375px;
}
@media (min-width: 768px) {
  .visM {
    display: none;
  }
  .visD {
    display: block;
  }

  .container {
    background: url(./img/bg.png) no-repeat left 340px top;
    padding: 30px 15px 74px 42px;
    text-align: left;
    min-height: 600px;
  }
  .box {
    padding-left: 0;
  }
  .logo {
    max-width: 230px;
    margin: 0 0 30px;
  }

  .content {
    max-width: 380px;
    margin: 0;
  }

  .contacts {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row;
    gap: 20px;
    margin: 40px 0;
  }
  button#openConsultation {
    width: 360px;
    margin: 0 0 54px 0;
  }
  .copyright {
    text-align: left;
  }
}
@media (min-width: 992px) {
  .container {
    background-size: contain;
  }

  .popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 80%;
    width: 80%;
    max-width: 800px;
    padding: 50px 0;
    border-radius: 6px;
  }
  .popup#popupConsultation {
    width: 600px;
    height: 464px;
    padding: 40px 0 30px 0;
  }
  #popupConsultation .popupContent {
    padding: 0;
  }
  #consultationForm {
    gap: 24px;
  }
  #consultationForm input {
    height: 62px;
    font-size: 18px;
  }
  #consultationForm button {
    padding: 20px;
  }
  #popupConsultation .text {
    font-size: 14px;
  }
  /*  Map */
  iframe {
    height: 402px;
  }
  /* notification */
  .notification {
    padding: 12px 20px;
    width: 400px;
  }
}

@media (min-width: 1500px) {
  .container {
    background-position-x: right;
  }
}
