@import url("./fonts/font.css");
* {
  font-family: "Inter", sans-serif;
}
.hero-bg {
  background: url("/img/bg1.png") center center/cover no-repeat;
}
.red-gradient {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.box-shadow-custom {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: translateY(-5px);
}
.red-border {
  border-color: #dc2626;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s linear;
}

.popup_overlay {
  background: rgba(0, 0, 0, 0.4);
}

.popup_open {
  opacity: 1;
  visibility: visible;
}
.popup__window {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  max-width: 520px;
}
.popup__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: url("./img/close.svg") center center/cover no-repeat;
  cursor: pointer;
}
.popup__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.popup__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: start;
  justify-content: center;
}
.popup__title {
  font-family: "IstokWeb";
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
}
.popup__descr {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
}
.popup__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.popup__inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.popup__input {
  width: 100%;
  background: #f4f4f4;
}
.popup__label {
  display: block;
  width: 100%;
  position: relative;
  padding: 17px 10px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
}
.popup__input[required] {
  padding-left: 16px;
}
.popup__input:focus {
  outline: none;
}
.popup__label:has(.popup__input[required])::after {
  content: "*";
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 10px;
  color: #000;
  transform: translateY(-50%);
}
.popup__policy {
  font-family: "Source Sans";
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  text-align: center;
  color: #b4b4b4;
}
.popup__policy_link {
  text-decoration: underline;
  color: #000;
}
.popup__button {
  font-family: "IstokWeb";
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 15px 95px;
  background-color: #ff4545;
  border-radius: 8px;
  color: #fff;
}

.popup__button_tel {
  display: none;
}
@media screen and (max-width: 565px) {
  .popup {
    padding: 24px;
  }
  .popup__window {
    padding: 16px;
    max-width: unset;
    width: 100%;
  }
  .popup__content {
    gap: 16px;
  }
  .popup__form {
    gap: 16px;
  }
  .popup__inputs {
    gap: 8px;
  }
  .popup__title {
    font-size: 18px;
    line-height: 23px;
  }
  .popup__descr {
    font-size: 13px;
    line-height: 16px;
  }
  .popup__policy {
    font-size: 12px;
    line-height: 15px;
  }
  .popup__button {
    width: 100%;
    padding: 15px;
    dispaly: flex;
    align-items: center;
    font-size: 15px;
    line-height: 19px;
  }
  .popup__button_tel {
    display: flex;
    justify-content: center;
    gap: 8px;
    background-color: #3e3e40;
  }
}
