/* Reset básico y Estilos de Contenedor */
.single-hospedaje-container {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #0f0f0f;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.single-hospedaje-container *,
.single-hospedaje-container *:before,
.single-hospedaje-container *:after {
  box-sizing: inherit;
}

/* Contenedor con patrón de puntos denso y desvanecido */
.single-hospedaje-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Patrón de puntos con mayor densidad (más cantidad, menos separados) */
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 0
  );
  background-size: 15px 15px; /* Reducido de 30px a 15px para mayor densidad */
  /* Máscara para desvanecer al centro */
  mask-image: linear-gradient(
    to right,
    black 0%,
    transparent 20%,
    transparent 80%,
    black 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    black 0%,
    transparent 20%,
    transparent 80%,
    black 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Banner alineado y con altura optimizada */
.single-hospedaje-container .top-banner {
  max-width: 1200px;
  width: calc(100% - 2rem);
  height: 350px;
  margin: 30px auto 0;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.single-hospedaje-container .top-banner .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.single-hospedaje-container .main-content-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0px 80px;
  gap: 50px;
  position: relative;
  width: calc(100% - 2rem);
  z-index: 1;
}

.single-hospedaje-container .main-content-wrapper .main-content {
  flex: 1;
  background: transparent;
  padding: 0;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .post-header
  .post-title {
  font-size: 3.2rem;
  color: #f6f7f9;
  text-align: left;
  margin: 0 0 15px 0;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .post-header
  .post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .post-header
  .post-meta
  .meta-item {
  background-color: #f0c14b; /* Fondo amarillo sólido */
  color: #1a1a1a; /* Texto negro/oscuro para contraste */
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .post-header
  .post-meta
  .meta-item
  i {
  color: #1a1a1a; /* Icono también negro/oscuro */
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .back-to-hospedaje {
  margin-bottom: 25px;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .back-to-hospedaje
  a {
  color: #f0c14b;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .back-to-hospedaje
  a:hover {
  opacity: 0.7;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .services-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .services-badges
  .service-badge {
  background-color: rgba(
    255,
    255,
    255,
    0.05
  ); /* Fondo oscuro suave como las cards */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff; /* Texto blanco */
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .services-badges
  .service-badge
  i {
  color: #ffffff; /* Icono blanco */
  font-size: 0.9rem;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .services-badges
  .service-badge:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #f0c14b; /* Borde dorado al pasar el raton */
  color: #ffffff;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .services-badges
  .service-badge:hover
  i {
  color: #f0c14b; /* Icono se vuelve dorado al pasar el raton */
}

.single-hospedaje-container .main-content-wrapper .main-content .post-excerpt {
  font-size: 1.35rem;
  line-height: 1.7;
  color: #f6f7f9; /* Texto casi blanco */
  margin-bottom: 40px;
  border-left: 5px solid #f0c14b;
  padding-left: 30px;
  font-weight: 500;
}

.single-hospedaje-container .main-content-wrapper .main-content .post-content {
  color: #d1d1d1; /* Gris claro plateado */
  line-height: 2;
  font-size: 1.15rem;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .post-content
  p {
  margin-bottom: 25px;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section {
  margin-bottom: 40px;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .section-subtitle {
  color: #f6f7f9;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 0 !important;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table
  thead
  tr {
  background: #f0c14b;
  border-bottom: none;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table
  th {
  padding: 18px 25px;
  color: #1a1a1a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table
  td {
  padding: 15px 25px;
  color: #e0e0e0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.05rem;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table
  tr:last-child
  td {
  border-bottom: none;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table
  tr:hover
  td {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .pricing-note {
  padding: 15px 25px;
  font-size: 0.85rem;
  color: #888;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .pricing-note
  strong {
  color: #f0c14b;
}

.single-hospedaje-container .main-content-wrapper .sidebar-area {
  width: 320px;
  flex-shrink: 0;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .sidebar-section-title {
  color: #f6f7f9;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  margin-top: 0px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  width: fit-content;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .sidebar-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f0c14b;
  border-radius: 2px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .contact-info {
  margin-bottom: 20px;
  padding-top: 10px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .phone-number {
  color: #f0c14b;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .contact-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .phone-btn {
  background: #f0c14b;
  color: #000;
  font-size: 1.1rem;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .phone-btn:hover {
  background: #d4a73a;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .whatsapp-btn {
  background: #1F8A5B;
  color: #dfdfdf;
  font-size: 1.1rem;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .whatsapp-btn:hover {
  background: #2AAE68;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  i {
  font-size: 1.4rem;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .social-links {
  display: flex;
  gap: 15px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .social-links
  a {
  color: #f6f7f9;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .social-links
  a
  img {
  width: 36px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-info {
  margin-bottom: 20px;
  padding-top: 10px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-info
  p {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-info
  i {
  color: #f0c14b;
  font-size: 1.2rem;
  margin-top: 3px;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-map {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-map
  .map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Sombreado vertical: Negro abajo, transparente arriba */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Texto abajo */
  align-items: center;
  padding-bottom: 25px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  pointer-events: auto;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-map
  .map-overlay
  span {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  /* Sombra para resaltar la letra */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-map:hover
  .map-overlay {
  opacity: 1;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .location-map
  .map-overlay
  i {
  font-size: 2rem;
  color: #f0c14b;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .map-actions {
  margin-top: 15px;
  text-align: center;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .map-link {
  color: #f0c14b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(240, 193, 75, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.single-hospedaje-container
  .main-content-wrapper
  .sidebar-area
  .sidebar-section
  .map-link:hover {
  background: rgba(240, 193, 75, 0.1);
  border-color: #f0c14b;
}

/* Estilos Modal - Scoped to #map-modal to maintain global functionality while being unique */
/* Animaciones del Modal */
@keyframes modalSlideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal#map-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: modalFadeIn 0.4s ease;
}

.modal#map-modal .modal-content {
  margin: auto;
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 85%;
  max-width: 1000px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121212;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clase para la animación de cierre */
.modal#map-modal.closing {
  animation: modalFadeIn 0.3s ease reverse;
}

.modal#map-modal.closing .modal-content {
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) reverse;
}

.modal#map-modal .modal-content iframe {
  flex: 1;
  width: 100%;
  border: none;
}

.modal#map-modal .modal-footer {
  position: absolute;
  bottom: 25px; /* Separado del borde inferior */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  padding: 0;
  background: transparent;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.modal#map-modal .modal-footer .map-link {
  color: #1a1a1a;
  background: #f6f7f9;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.modal#map-modal .modal-footer .map-link:hover {
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.modal#map-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #f1f1f1;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
  line-height: 1;
}

.modal#map-modal .close-modal:hover {
  color: #f0c14b;
}

/* Media Queries */
@media (max-width: 768px) {
  .modal#map-modal .modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .modal#map-modal .modal-footer {
    padding: 20px;
  }

  .modal#map-modal .modal-footer .map-link {
    width: 100%;
    justify-content: center;
    background: #222; /* Negro/Oscuro suave en móvil */
    color: #f6f7f9;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .modal#map-modal .close-modal {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 992px) {
  .single-hospedaje-container .main-content-wrapper {
    flex-direction: column;
  }
  .single-hospedaje-container .main-content-wrapper .sidebar-area {
    width: 100%;
  }

  .single-hospedaje-container
  .main-content-wrapper
  .main-content
  .post-header
  .post-title {
    font-size: 2.5rem;
    margin-bottom: 0;
  }

  .single-hospedaje-container::before {
    mask-image: none;
    -webkit-mask-image: none;
    display: none;
  }

  .single-hospedaje-container .top-banner {
    height: 250px;
    margin: 1.5rem 1rem 0;
  }

  .single-hospedaje-container
  .main-content-wrapper
  .main-content
  .services-badges
  .service-badge {
    padding: 10px 16px;
  }
}

@media (max-width: 580px) {
  .single-hospedaje-container .top-banner {
    margin: 0;
    border-radius: 0;
    border: 0;
    width: 100%;
    height: 200px;
  }

  .single-hospedaje-container
  .main-content-wrapper
  .main-content
  .post-header
  .post-title {
    font-size: 2rem;
  }

  .single-hospedaje-container
  .main-content-wrapper
  .main-content
  .back-to-hospedaje {
    margin-bottom: 8px;
  }

  .single-hospedaje-container 
  .main-content-wrapper {
    padding: 16px 0 16px;
  }

  .single-hospedaje-container
    .main-content-wrapper
    .main-content
    .pricing-section
    .section-subtitle {
    margin-bottom: 12px;
  }

  .single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table
  th {
    padding: 12px 16px;
  }

  .single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .modern-pricing-table
    td {
    padding: 10px 14px;
    font-size: 1rem;
  }

  .single-hospedaje-container
  .main-content-wrapper
  .main-content
  .pricing-section
  .pricing-table-container
  .pricing-note {
    padding: 10px 14px;
  }

  .single-hospedaje-container
    .main-content-wrapper
    .main-content
    .pricing-section {
    margin-bottom: 0;
  }
}
