.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
}

/* OVERLAY */

.booking-modal__overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

/* CONTENEDOR */

.booking-modal__content {
  position: relative;
  width: min(1200px, 94%);
  max-height: 92vh;
  background: #ffffff;
  border-radius: 28px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 10px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(60px) scale(0.95);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.17, 0.67, 0.25, 1.2),
    opacity 0.45s ease;
  overflow-y: auto;
}

.booking-modal.active .booking-modal__content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* IMAGEN */

.booking-modal__image {
  position: relative;
  min-height: 100%;
}

.booking-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booking-modal__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05));
}

/* INFO */

.booking-modal__info {
  padding: 40px;

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* BADGE */

.booking-tag {
  width: fit-content;
  background: #8dc63e;
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* TITULO */

.booking-modal__info h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  color: #121212;
}

.booking-modal__info p {
  margin: 0;
  color: #666;
  line-height: 1.7;
}

/* FEATURES */

.booking-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.booking-features div {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-features i {
  font-size: 1.25rem;
  color: #8dc63e;
}

.booking-features span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* PRICE CARD */

.booking-price {
  color: white;
  padding: 20px;
  margin-top: 10px;
  border-radius: 16px;
  background: linear-gradient(135deg, #8dc63e, #6cab2d);
}

.booking-price strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.booking-price small {
  opacity: 0.85;
}

/* FORM */

.booking-booking {
  background: #fafafa;
  border: 1px solid #ededed;
  border-radius: 22px;
  padding: 24px;
}

.booking-booking h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.booking-form-group {
  margin-bottom: 18px;
}

.booking-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.booking-form-group input {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #d9d9d9;
  background: white;
  font-size: 1rem;
  transition: 0.3s;
}

.booking-form-group input:focus {
  outline: none;
  border-color: #8dc63e;
  box-shadow: 0 0 0 1px rgba(141, 198, 62, 0.15);
}

/* TOTAL */

.booking-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  margin-top: 24px;
  background: white;
  border-radius: 18px;
  border: 1px solid #d8d8d8;
}

.booking-summary span {
  font-weight: 600;
}

.booking-summary strong {
  font-size: 1.8rem;
  color: #2f8f4e;
}

/* BUTTON */

.booking-reserve-btn {
  width: 100%;
  margin-top: 20px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 58px;
  background: linear-gradient(135deg, #8dc63e, #6cab2d);
  color: white;
  border-radius: 999px !important;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

/* CLOSE BUTTON */

.booking-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 35px;
  height: 34px;
  border: none;
  color: #fff;
  font-size: 15px;
  border-radius: 6px !important;
  background-color: #F0F0F0;
  font-size: 1rem;
  padding: 0;
  transition: all 0.3s ease;
  z-index: 100;
}

.booking-modal__close:hover {
  background: #8dc63e;
}

/* CROLL */

.booking-modal__content::-webkit-scrollbar {
  width: 8px;
}

.booking-modal__content::-webkit-scrollbar-thumb {
  background: #8dc63e;
}

@media (max-width: 992px) {
  .booking-modal__content {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .booking-modal__image {
    height: 320px;
  }

  .booking-modal__info {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .booking-modal {
    align-items: flex-end;
  }

  .booking-modal__content {
    width: 100%;
    height: 95vh;

    border-radius: 24px 24px 0 0;

    animation: slideUpMobile 0.4s ease;
  }

  .booking-modal__image {
    height: 240px;
  }

  .booking-modal__info {
    padding: 24px;
  }

  .booking-modal__info h2 {
    font-size: 1.7rem;
  }

  .booking-features {
    grid-template-columns: 1fr;
  }

  .booking-price strong {
    font-size: 2rem;
  }
}

@keyframes slideUpMobile {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}
