:root {
  --font-family: "Lexend", sans-serif;
  --second-family: "Suisse Intl", sans-serif;
}
body {
  font-family: var(--font-family);
  min-width: 375px;
  background-color: #000;
}
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
input:focus{
  border: 1px solid #fff;
}
.body--fixed{
  position: fixed;
}
/* .under-background{
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('./../content/img/background.jpg');
} */
.app {
  max-width: 1920px;
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  
  /* background: url("./../content/img/background.jpg") no-repeat;
  background-position: 10% 26%; */
}

.background__img {
  position: absolute;
  top: -13%;
  left: 0%;
  max-width: 127%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  z-index: -1; 
}
@media (max-width: 1744px) {
  .background__img {
    top: -10%;
  }
}
@media (max-width: 1628px) {
  .background__img {
    top: -7%;
    left: -1%;
    width: 130%;
  }
}
@media (max-width: 1532px) {
  .background__img {
    top: -3%;
    left: -1%;
    max-width: 150%;
  }
}
@media (max-width: 1410px) {
  .background__img {
    top: -8%;
    left: -8%;
    width: 150%;
  }
}
@media (max-width: 1310px) {
  .background__img {
    top: -4%;
    left: -7%;
    width: 150%;
  }
}
.container {
  max-width: 1325px;
  padding: 0 15px;
  margin: 0 auto;
}

.header {
  padding-top: 43px;
}

.hero {
  padding-top: 110px;
  padding-bottom: 60px;
  width: 100%;
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: clamp(53px, 5vw, 90px);
  position: relative;
}

.hero__content {
  display: flex;
  flex-direction: column;
  max-width: 566px;
}

.hero___title {
  font-weight: 700;
  font-size: clamp(104px, 15vw, 193px);
  line-height: 0.77;
  color: #fff;
  mix-blend-mode: overlay;
  max-width: 615px;
  display: flex;
  flex-direction: column;
}

.hero__subtitle {
  margin-top: 23px;
  font-weight: 400;
  font-size: clamp(13px, 4vw, 25px);
  color: #fff;
  align-self: end;
}

.hero__btn-info {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: clamp(55px, 5vw, 90px);
}

.hero__btn {
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #000;
  padding: 16px 32px;
  max-width: fit-content;
  border-radius: 30px;
  background: #c1ef00;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero__btn::before{
  content: '';
  width: 100%;
  position: absolute;
  height: 100%;
  display: block;
  z-index: -1;
  left: 0;
  top: -100%;
  background-color: #fff;
  transition: top .6s ease;
}

.hero__btn:hover.hero__btn::before{
  top: 0;
}
.hero__btn-text {
  font-weight: 300;
  font-size: clamp(12px, 3vw, 16px);
  color: #fff;
  max-width: 310px;
}
.hero__img {
  position: absolute;
  right: 9%;
  top: -13%;
}

@media (max-width: 1210px) {
  .background__img {
    top: -1%;
    left: -6%;
  }
  .hero__img {
    max-width: 90%;
  }
}
@media (max-width: 1120px) {
  .background__img {
    top: 0%;
    left: -8%;
  }
  .hero__img img {
    max-width: 80%;
  }
  .hero__img {
    top: -8%;
    right: 8%;
  }
}
@media (max-width: 1040px) {
  .background__img {
    top: 0%;
    left: -11%;
  }
  .hero__img {
    max-width: 90%;
    top: -14%;
  }
  .hero__subtitle {
    margin-right: 100px;
  }
}
@media (max-width: 940px) {
  .background__img {
    top: 0%;
    left: -11%;
  }
  .hero__img {
    right: 4%;
  }
  .hero__img img {
    max-width: 70%;
  }
}
.hero__bottom-list {
  display: flex;
  gap: clamp(53px, 5vw, 114px);
}
@media (max-width: 860px) {
  .background__img {
    top: 0%;
    left: -5%;
  }
  .hero__img {
    right: -7%;
  }
  .hero__img img {
    max-width: 70%;
  }
  .hero__bottom-list {
    display: grid;
    grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  }
}
@media (max-width: 740px) {
  .background__img {
    top: 0%;
    left: -5%;
  }
  .hero__img {
    right: -15%;
    top: -5%;
  }
  .hero__img img {
    max-width: 60%;
  }

  .hero__subtitle {
    margin-right: 0px;
    align-self: start;
  }
}

@media (max-width: 650px) {
  .background__img {
    top: 0%;
    left: -5%;
  }
  .hero__img {
    right: -25%;
    top: -5%;
  }
  .hero__img img {
    max-width: 60%;
  }

  .hero__subtitle {
    margin-right: 0px;
    align-self: start;
  }
}

@media (max-width: 576px) {
  .header {
    padding-top: 30px;
  }
  .header__logo img {
    display: block;
    margin: 0 auto;
  }
  .hero {
    padding-top: 50px;
  }
  .background__img {
    top: -4%;
    left: -29%;
  }
  .hero__upper {
    display: flex;
    flex-direction: column-reverse;
    gap: 50px;
  }
  .hero__img {
    position: static;
  }
  .hero__img img {
    display: block;
    margin: 0 auto;
  }
  .hero__btn-info {
    flex-direction: column;
    align-items: center;
  }
  .hero__btn-text {
    text-align: center;
  }
}
@media (max-width: 474px) {
  .background__img {
    top: -6%;
  }
}
@media (max-width: 400px) {
  .background__img {
    top: -8%;
  }
}
.hero__bottom-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 283px;
  align-items: start;
}

.hero__bottom-item-title {
  font-weight: 500;
  font-size: clamp(12px, 3vw, 20px);
  color: #fff;
}

.hero__bottom-item-text {
  font-weight: 200;
  font-size: clamp(9px, 3vw, 16px);
  color: #fff;
  opacity: 0.5;
}

.footer {
  background: #000;
  padding: 40px 0;
}
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.footer__content {
  display: flex;
  gap: 5px;
}
.footer__subtext {
  font-weight: 400;
  font-size: clamp(10px, 3vw, 16px);
  text-align: center;
  color: #fff;
}
@media (max-width: 476px) {
  .footer {
    padding: 30px 0;
  }
  .footer__content {
    flex-direction: column;
    align-items: center;
  }
}

.overlay {
  position: fixed;
  background: rgba(0, 0, 0, 0.72);
  inset: 0;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.overlay--active{
  opacity: 1;
  visibility: visible;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 0 clamp(0px, 3vw,15px);
  max-width: 539px;
  min-width: 374px;
  width: 100%;
  font-family: var(--second-family);
  opacity: 0;
 
  visibility: hidden;
  transition: all .7s ease;
  
}
.modal--active{
  opacity: 1;
  visibility: visible;
}
.modal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 29px clamp(17px, 3vw, 26px) clamp(28px, 4vw, 70px) clamp(17px, 4vw, 35px);
  gap: clamp(31px, 7vw, 60px);
  backdrop-filter: blur(23.200000762939453px);
  background: rgba(0, 0, 0, 0.76);
  border-radius: 30px;
 
}
@media (max-width:476px){
  .modal__inner{
    overflow-y: auto;
    max-height: 90dvh;
  }
}
.modal__form {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 4vw, 28px);
  width: 100%;
}

.modal__input-wrapper {
  display: flex;
  flex-direction: column-reverse;
  gap: clamp(5px, 3vw, 13px);
  width: 100%;
}
.modal__input {
  width: 100%;
  height: 52px;
  padding: 19px 21px 21px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: transparent;
  font-weight: 300;
  font-size: 16px;
  line-height: 0.77;
  color: #fff;
}
.modal__input::placeholder {
  font-weight: 300;
  font-size: clamp(10px, 3vw, 16px);
  line-height: 0.77;
  color: #fff;
  opacity: 0.3;
}
.modal__input-wrapper label {
  font-weight: 300;
  font-size: clamp(12px, 4vw, 18px);
  line-height: 0.77;
  letter-spacing: 0.13em;
  color: #fff;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 21px;
  position: relative;
  font-family: var(--font-family);
}

.custom-checkbox__input {
  display: none; /* Скрываем реальный чекбокс */
}

.custom-checkbox__box {
  width: 25px;
  height: 25px;
  border: 1px solid #fff; /* цвет рамки */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: 0.3s;
  flex-shrink: 0;
}

.custom-checkbox__text {
  font-size: clamp(12px,3vw, 16px);
  color: #fff;
}

/* Галочка */
.custom-checkbox__box::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background: #c1ef00;
  border-radius: 50%;
  top: 5px;
  left: 5px;
  opacity: 0;
  transition: 0.3s;
}
.custom-checkbox:hover .custom-checkbox__box::after{
  opacity: 0.3;
}
/* Когда input активен */
.custom-checkbox__input:checked + .custom-checkbox__box::after {
  opacity: 1;
}

.modal__submit-btn {
  max-width: fit-content;
  border-radius: 30px;
  background: #c1ef00;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #000;
  padding: 16px 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin: clamp(12px, 6vw, 48px) auto 0 auto;
}
.modal__submit-btn::before{
  content: '';
  width: 100%;
  position: absolute;
  height: 100%;
  display: block;
  z-index: -1;
  left: 0;
  top: -100%;
  background-color: #fff;
  transition: top .6s ease;
}

.modal__submit-btn:hover.modal__submit-btn::before{
  top: 0;
}


.modal__error{
  color: #c1ef00;
  font-size: clamp(9px, 4vw, 14px);
  font-weight: 300;
  display: none;
}

.not-valid .modal__error{
  display: block;
}



.modal__success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  z-index: 10;
  padding: 0 15px;
  max-width: 539px;
  min-width: 374px;
  width: 100%;
  font-family: var(--second-family);
  opacity: 0;
  visibility: hidden;
  transition: all .7s ease;
}
.modal__success--active{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.modal__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 29px clamp(17px, 3vw, 26px) clamp(47px, 4vw, 70px) clamp(23px, 4vw, 35px);
  gap: clamp(31px, 10vw, 60px);
  backdrop-filter: blur(23.200000762939453px);
  background: rgba(0, 0, 0, 0.76);
  border-radius: 30px;

}


.modal__thanks-content span{
  font-size: clamp(14px, 3vw, 20px);
  color: #fff;
  font-weight: 500;
}
.modal__thanks-content{
display: flex;
flex-direction: column;
gap: 20px;
}
.modal__error-el {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  z-index: 10;
  padding: 0 15px;
  max-width: 539px;
  min-width: 374px;
  width: 100%;
  font-family: var(--second-family);
  opacity: 0;
  visibility: hidden;
  transition: all .7s ease;
}
.modal__error--active{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.modal__error-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 29px clamp(17px, 3vw, 26px) clamp(47px, 4vw, 70px) clamp(23px, 4vw, 35px);
  gap: clamp(31px, 10vw, 60px);
  backdrop-filter: blur(23.200000762939453px);
  background: rgba(0, 0, 0, 0.76);
  border-radius: 30px;

}

.modal__error-inner  span{
  font-size: clamp(14px, 3vw, 20px);
  color: #fff;
  font-weight: 500;
}