.rent-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 12, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.rent-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.rent-modal {
  background: #101713; /* тёмно-зелёный, как hero-блок */
  color: #f0ece2;       /* кремовый текст */
  max-width: 480px;
  width: 100%;
  padding: 48px 40px 40px;
  border-radius: 16px;
  border: 1px solid rgba(240, 236, 226, 0.12);
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.rent-modal-overlay.active .rent-modal {
  transform: translateY(0);
}

.rent-modal__label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c89b5e; /* золотистый акцент */
  margin-bottom: 16px;
}

.rent-modal-overlay .rent-modal__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #f0ece2 !important; /* кремовый — перебиваем стили сайта */
}

.rent-modal-overlay .rent-modal__title em {
  font-style: italic;
  color: #c89b5e !important; /* золотистый курсив */
}

.rent-modal__text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(240, 236, 226, 0.7);
  margin: 0 0 28px;
}

.rent-modal__btn {
  display: inline-block;
  background: #c89b5e;
  color: #101713;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  transition: background 0.3s ease;
}

.rent-modal__btn:hover {
  background: #d9ad72;
}

.rent-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(240, 236, 226, 0.25);
  border-radius: 50%;
  color: rgba(240, 236, 226, 0.7);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rent-modal__close:hover {
  border-color: #c89b5e;
  color: #c89b5e;
}

@media (max-width: 480px) {
  .rent-modal {
    padding: 40px 24px 32px;
  }
  .rent-modal-overlay .rent-modal__title {
    font-size: 22px;
  }
}