.property-detail-section {
  padding: 60px 6%;
  position: relative;
  z-index: 5;
}

.property-detail-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(0,0,0,0.58);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 46px rgba(109,92,255,0.25),
    0 0 38px rgba(255,47,191,0.16),
    inset 0 0 42px rgba(255,255,255,0.04);
}

.property-detail-image-top {
  width: 100%;
  height: 520px;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
}

.property-detail-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
}

.property-detail-image-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.72)),
    radial-gradient(circle at 70% 30%, rgba(255,47,191,0.16), transparent 38%);
  pointer-events: none;
}

.property-detail-image-top span {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 3;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2fbf, #6d5cff);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow:
    0 0 22px rgba(255,47,191,0.62),
    0 0 44px rgba(109,92,255,0.35);
}

.property-detail-info {
  padding: 42px;
}

.detail-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #ff4fd8;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-detail-info h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 66px);
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 28px rgba(0,0,0,0.75);
}

.detail-price {
  display: block;
  margin-bottom: 22px;
  color: #ff4fd8;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  text-shadow: 0 0 18px rgba(255,47,191,0.45);
}

.detail-location {
  margin-bottom: 24px;
  color: #eef0fb;
  font-size: 18px;
  line-height: 1.5;
}

.detail-location i {
  margin-right: 8px;
  color: #fff;
}

.detail-data {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.detail-data span {
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 0 16px rgba(255,255,255,0.04),
    0 0 16px rgba(109,92,255,0.14);
}

.detail-data i {
  margin-right: 7px;
}

.detail-description {
  margin-top: 10px;
  max-width: 980px;
}

.detail-description h3 {
  margin-bottom: 14px;
  color: #c35cff;
  text-transform: uppercase;
  font-size: 22px;
  text-shadow: 0 0 18px rgba(195,92,255,0.45);
}

.detail-description p {
  color: #e7e8f3;
  font-size: 17px;
  line-height: 1.75;
}

.detail-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-media-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.detail-media-card {
  padding: 30px;
  border-radius: 28px;
  background: rgba(0,0,0,0.56);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 38px rgba(109,92,255,0.22),
    inset 0 0 38px rgba(255,255,255,0.035);
}

.detail-media-card h2 {
  margin-bottom: 22px;
  font-size: clamp(24px, 3vw, 38px);
  text-transform: uppercase;
  color: #fff;
}

/* VIDEO Y MAPA */

.video-container,
.map-container{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 0 28px rgba(255,47,191,0.18),
    0 0 38px rgba(109,92,255,0.16);
  background:rgba(255,255,255,0.05);
}

.video-container{
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
}

.video-container video,
.video-container iframe,
.map-container iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.video-container video{
  object-fit:contain;
  background:#000;
}

.map-container{
  aspect-ratio:16/9;
}

.media-empty {
  min-height: 280px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: #e7e8f3;
  background: rgba(255,255,255,0.07);
  border: 1px dashed rgba(255,255,255,0.24);
}

.media-empty i {
  font-size: 42px;
  color: #ff4fd8;
  filter: drop-shadow(0 0 14px rgba(255,47,191,0.45));
}

.media-empty p {
  font-weight: 800;
}

@media (max-width: 900px) {
  .property-detail-section {
    padding: 42px 4%;
  }

  .property-detail-image-top {
    height: 360px;
  }

  .property-detail-info {
    padding: 28px;
  }

  .detail-media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .property-detail-image-top {
    height: 280px;
  }

  .property-detail-info {
    padding: 22px;
  }

  .detail-description p {
    font-size: 15px;
  }

  .detail-actions .btn {
    width: 100%;
  }

  .detail-media-card {
    padding: 20px;
  }

  .video-container,
  .map-container{
    border-radius:18px;
  }

}