* {
  box-sizing: border-box;
}

body {
    font-family: 'Montserrat';
    color: #fff;
    background: linear-gradient(rgb(49 49 49 / 63%)), url(wall.webp) 62% / cover no-repeat fixed;
    background-color: #44484c;
}

.lead-page {
    max-width: 620px;
    margin: 0 auto;
    padding: 30px 20px 50px;
}

/* Фото */
.lead-photos {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
}

.lead-hero-image {
  width: 100%;
  margin-bottom: 28px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.lead-hero-image img {
  width: 100%;
  height: 280px;          
  object-fit: cover;
  display: block;
  object-position: 20% 35%;
}


.iti__arrow {h
    transform: rotate(90deg);
    border-top: 4px solid #ffffff;
    transition: transform .4s ease;
}

.iti__arrow--up {
    transform: rotate(0deg);
    border-bottom: none !important;
}

.lead-photos img {
    width: 38%;
    max-width: 60%;
    height: 250px;
    aspect-ratio: 3 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    transition: scale .2s ease;
    object-position: 30% 55%;
}

.lead-photos img:hover {
    scale: 1.2;
}

/* Текст */
.lead-text {
  text-align: center;
  margin-bottom: 28px;
}

.lead-text h1 {
  font-size: 33px;
  font-weight: 400;
  margin-bottom: 12px;
}

.lead-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* Форма */
.lead-form {
  background: rgb(21 21 21 / 15%);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(8px);
        border: #ffffff59 solid;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-field label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.lead-field input {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  font-size: 15px;
  width: 100%;
      border: #ffffff59 solid;
}

.lead-field input::placeholder {
  color: rgba(255,255,255,0.5);
}

.lead-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.lead-opis {
  font-size: 12px;
  text-align: center;
  color: rgba(255,255,255,0.55);
}



/* intl-tel-input правки под стиль */
.iti {
  width: 100%;
}

.iti__dropdown-content {
    border-radius: 12px !important;
    background-color: #000000 !important;
}

.iti__country-list {
  background: #1f1f1f;
  color: #fff;
  border-radius: 12px;
}

.iti__country:hover {
  background: rgba(255,255,255,0.08);
}

/* Кнопка */
#lead-submit {
  margin-top: 10px;
  padding: 16px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #252527;
  background: linear-gradient(135deg, #f1c27d, #e7b56a);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform .2s ease;
}

#lead-submit:hover {
  transform: scale(1.02);
}

/* Успех */
.lead-success {
  display: none;
  text-align: center;
  color: #f1c27d;
  font-size: 14px;
}

/* Мобилка */
@media (max-width: 600px) {
    
    body {
    margin: 25px 0;
}

.lead-page {
    padding: 0px 20px 50px;
}

  .lead-photos {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .lead-photos img {
    max-width: 85%;
    flex-shrink: 0;
  }

  .lead-text h1 {
        font-size: 18px;
        line-height: 30px;
        font-weight: 700;
  }
  
    .lead-text p {
        font-size: 13px;
        text-shadow: 0px 0px 6px BLACK;
        background: #00000042;
        margin: 0 -20px !important;
        padding: 7px 20px;
    }

  .lead-hero-image img {
    height: 200px;
  }

  .iti--fullscreen-popup.iti-country-search {
    align-items: flex-end;
    justify-content: flex-end;
  }

  .iti--fullscreen-popup .iti__country-list {
    height: 80vh;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transition: transform .3s ease;
  }

  .iti--fullscreen-popup.iti-country-search .iti__country-list {
    transform: translateY(0);
  }
  input,
  textarea,
  select,
  .iti__search-input {
    font-size: 16px !important;
  }
  
.iti__country {
    font-size: 11px;
}
}
.lead-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lead-popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.lead-popup-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.lead-popup-text {
  margin-bottom: 20px;
}

.lead-popup button {
  background: #edbb74;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: #fff;
  padding: 35px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  animation: scaleIn 0.2s ease;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.modal-text {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.modal-btn {
  background: #edbb74;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

.modal-btn:hover {
  opacity: 0.9;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: #fff;
  padding: 35px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  animation: scaleIn 0.2s ease;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.modal-text {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
  color: #333;
}

.modal-btn {
  background: linear-gradient(135deg, #f1c27d, #e7b56a);
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  color: #252527;
  transition: 0.2s ease;
}

.modal-btn:hover {
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}