/* =============================================
   VARMA HOMES – Project Detail Page Styles
   Shared by queens-gateway.html & kovilakom.html
   ============================================= */

/* ---- DETAIL PAGE HERO ---- */
.dp-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

.dp-hero-slides {
  position: relative;
  height: calc(100dvh - 48px);
  min-height: 580px;
  overflow: hidden;
}

.dp-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.85s ease;
}
.dp-slide.active { opacity: 1; z-index: 1; animation: kenburns 8s ease-out forwards; }

.dp-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.15) 100%);
}

.dp-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.dp-slide-btn.prev { left: 20px; }
.dp-slide-btn.next { right: 20px; }
.dp-slide-btn:hover { background: var(--rose); border-color: var(--rose); }

.dp-slide-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.dp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
}
.dp-dot.active { background: var(--rose); width: 24px; border-radius: 4px; }

/* Hero content overlay */
.dp-hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 48px 80px;
  pointer-events: none;
}
.dp-hero-content > * { pointer-events: auto; }

.dp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  transition: var(--transition);
  text-decoration: none;
}
.dp-back:hover { color: var(--rose); }

/* hero-project-label on detail page — override opacity:0 + animation trigger
   since detail pages use .dp-slide.active not .hero-slide.active */
.dp-hero-left .hero-project-label {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none !important;
  margin-bottom: 14px;
}

.dp-hero-left .section-tag { margin-bottom: 12px; }

.dp-hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.dp-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.dp-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.dp-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 10px 16px;
}
.dp-fact > i { font-size: 1.1rem; color: var(--gold); flex-shrink: 0; }
.dp-fact strong { display: block; font-size: 0.95rem; color: #fff; font-weight: 700; }
.dp-fact span { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.6); }

.dp-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Side form */
.dp-hero-form {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  overflow-y: auto;
  max-height: calc(100dvh - 140px);
}
.dp-hero-form h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.4;
}
.dp-hero-form h3 span { color: var(--rose); }
.dp-hero-form .lead-form .form-group { margin-bottom: 10px; }
.dp-hero-form .lead-form input,
.dp-hero-form .lead-form select {
  padding: 10px 14px;
  font-size: 0.84rem;
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-primary);
}
.dp-hero-form .lead-form input::placeholder { color: #8a8a8a; }
.dp-hero-form .lead-form select option { background: #fff; color: var(--text-primary); }

/* ---- SECTION BASE ---- */
.dp-section { padding: 80px 0; }
.dp-section:nth-child(even) { background: var(--dark-2); }
.dp-section:nth-child(odd) { background: var(--dark); }

/* ---- OVERVIEW ---- */
.dp-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.dp-overview-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
.dp-overview-text p { color: var(--text-secondary); line-height: 1.85; margin-bottom: 14px; }

.dp-highlights-box {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.dp-highlights-box h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dp-highlights { display: flex; flex-direction: column; gap: 10px; }
.dp-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.dp-highlights li:last-child { border-bottom: none; }
.dp-highlights li i { color: var(--rose); font-size: 0.8rem; flex-shrink: 0; }

/* RERA badge */
.dp-rera-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-top: 20px;
}
.dp-rera-badge > i { font-size: 1.5rem; color: var(--gold); flex-shrink: 0; }
.dp-rera-badge strong { display: block; color: var(--gold); font-size: 0.85rem; }
.dp-rera-badge span { display: block; font-size: 0.72rem; color: var(--text-muted); }

/* Additional info */
.dp-additional-info { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.dp-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}
.dp-info-item i { color: var(--rose); font-size: 0.9rem; flex-shrink: 0; }
.dp-info-item strong { display: block; font-size: 0.85rem; color: var(--text-primary); }
.dp-info-item span { font-size: 0.78rem; color: var(--text-muted); }

/* ---- TABLE ACTION BUTTON ---- */
.dp-table-btn {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.dp-table-btn:hover { background: var(--rose-dark); }

/* ---- AMENITIES GRID ---- */
.dp-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dp-amenity {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
}
.dp-amenity:hover { border-color: var(--rose); transform: translateY(-4px); }
.dp-am-icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  background: rgba(237,49,90,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--rose);
  transition: var(--transition);
}
.dp-amenity:hover .dp-am-icon { background: var(--rose); color: #fff; }
.dp-amenity h5 { font-size: 0.83rem; font-weight: 600; color: var(--text-primary); }

/* Detail page hero CTAs — override btn-outline to white glass since it sits on photo */
.dp-hero-ctas .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}
.dp-hero-ctas .btn-outline:hover {
  background: rgba(255,255,255,0.25);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---- FLOOR PLAN CARDS ---- */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.fp-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fp-card:hover {
  transform: translateY(-4px);
  border-color: var(--rose);
  box-shadow: 0 12px 32px rgba(237,49,90,0.12);
}
.fp-img {
  position: relative;
  background: #f0f0f0;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.fp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.fp-card:hover .fp-img img { transform: scale(1.03); }

/* Hover overlay with View button */
.fp-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fp-card:hover .fp-img-overlay { opacity: 1; }
.fp-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: var(--rose);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  transform: translateY(8px);
  transition: transform 0.3s ease, background 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.fp-card:hover .fp-view-btn { transform: translateY(0); }
.fp-view-btn:hover { background: var(--rose); color: #fff; }
.fp-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fp-config {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}
.fp-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.fp-details span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.fp-details span i { color: var(--rose); font-size: 0.72rem; }
.fp-price {
  font-family: var(--font-serif);
  font-size: 1.05rem !important;
  font-weight: 700;
  color: var(--rose) !important;
}
.fp-body .btn { font-size: 0.82rem; padding: 10px 14px; }

@media (max-width: 900px) { .fp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .fp-grid { grid-template-columns: 1fr; } }

/* ---- GALLERY ---- */
/* ============================
   PREMIUM GALLERY — 6 images
   Grid: 4 cols, auto rows 200px
   Layout:
   [ hero 2×2 ][ tall 1×2 ][ tall 1×2 ]
   [ bedroom  ][ lobby    ][ wide 2×1  ]
   ============================ */
.dp-gallery { background: #f0f0f0 !important; }

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
  margin-top: 8px;
  align-items: stretch;
}

/* Hero — 2 cols × 2 rows */
.gi-hero {
  grid-column: span 2;
  grid-row: span 2;
}

/* Tall tower images — 1 col × 2 rows */
.gi-tall {
  grid-column: span 1;
  grid-row: span 2;
}

/* Wide landscape — 2 cols × 1 row */
.gi-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: #ddd;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* shows top of building — less cropping */
  display: block;
  transition: transform 0.55s ease;
}

/* Tower images: align top so full height visible */
.gi-tall img { object-position: center center; }

.gallery-item:hover img { transform: scale(1.05); }

/* Hover overlay */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,24,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i {
  font-size: 1.6rem;
  color: #fff;
  background: var(--rose);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item-overlay span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.4);
  padding: 4px 14px;
  border-radius: 100px;
}

/* ============================
   LIGHTBOX
   ============================ */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}
.gallery-lightbox.open { display: flex; }

.lb-img-wrap {
  max-width: 90vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  display: block;
}
.lb-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-close:hover { background: var(--rose); border-color: var(--rose); }
.lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
.lb-nav:hover { background: var(--rose); border-color: var(--rose); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-caption { display: flex; align-items: center; gap: 16px; }
#lbCaption { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.9); letter-spacing: 0.05em; }
.lb-counter { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* ---- Gallery responsive ---- */
@media (max-width: 900px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
  }
  .gi-hero { grid-column: span 2; grid-row: span 2; }
  .gi-tall { grid-column: span 1; grid-row: span 2; }
  .gi-wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 540px) {
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .gi-hero { grid-column: span 2; grid-row: span 2; }
  .gi-tall { grid-column: span 1; grid-row: span 2; }
  .gi-wide { grid-column: span 2; }
  .lb-nav { width: 38px; height: 38px; font-size: 0.85rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ---- LOCATION (stacked: centered header → boxes grid → full map) ---- */
.dp-location-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dp-location-grid .section-header { margin-bottom: 0; }
.dp-location-grid .section-header p { max-width: 640px; }
.dp-location-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dp-location-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  transition: var(--transition);
}
.dp-location-list li:hover {
  border-color: var(--rose);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(237,49,90,0.12);
}
.dp-location-list li > i {
  width: 44px;
  height: 44px;
  background: rgba(237,49,90,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--rose);
  flex-shrink: 0;
  transition: var(--transition);
}
.dp-location-list li:hover > i {
  background: var(--rose);
  color: #fff;
}
.dp-location-list li strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.dp-location-list li span {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.dp-location-list li div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

/* Full-width map below location content */
.dp-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
}
.dp-map-wrap iframe {
  width: 100%;
  height: 420px;
  display: block;
}

/* ---- CONTACT SECTION ---- */
.dp-contact-section {
  background: #f0f0f0 !important;
  border-top: 1px solid rgba(0,0,0,0.09);
}
.dp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.dp-contact-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
  line-height: 1.2;
}
.dp-contact-left p { color: var(--text-secondary); margin-bottom: 28px; line-height: 1.8; }
.dp-contact-btns { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.dp-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: var(--transition);
  text-decoration: none;
}
.dp-contact-item:hover { border-color: var(--rose); }
.dp-contact-item i { font-size: 1.2rem; color: var(--rose); flex-shrink: 0; }
.dp-contact-item strong { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.dp-contact-item span { color: var(--text-primary); font-size: 0.92rem; font-weight: 500; }

/* ---- FOOTER ---- */
.dp-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.dp-footer-inner { text-align: center; }
.dp-footer-inner .footer-logo { justify-content: center; margin-bottom: 10px; display: flex; }
.dp-footer-inner .footer-logo .site-logo-img { height: 38px; }
.dp-footer-inner > p { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 16px; }
.dp-footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.dp-footer-links a { font-size: 0.83rem; color: var(--text-muted); transition: var(--transition); }
.dp-footer-links a:hover { color: var(--rose); }
.dp-footer-note { font-size: 0.72rem; color: var(--text-muted); line-height: 1.7; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .dp-hero-content { grid-template-columns: 1fr; padding: 40px 32px 100px; }
  .dp-hero-form { display: none; }
  .dp-overview-grid { grid-template-columns: 1fr; gap: 36px; }
  .dp-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .dp-amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .dp-gallery-grid { grid-template-rows: 260px 180px; }
}

@media (max-width: 768px) {
  .announcement-bar { display: none; }
  .dp-hero-slides { height: calc(100dvh - 48px); min-height: 480px; }
  .dp-slide-btn { display: none; }
  .hero-project-label { font-size: 0.65rem !important; padding: 5px 12px !important; }
  .dp-hero-content { padding: 32px 20px 90px; }
  .dp-hero-left h1 { font-size: 2.2rem; }
  .dp-hero-sub { font-size: 0.92rem; }
  .dp-quick-facts { gap: 8px; }
  .dp-fact { padding: 8px 12px; }
  .dp-fact strong { font-size: 0.85rem; }
  .dp-hero-ctas { flex-direction: column; gap: 8px; }
  .dp-hero-ctas .btn { width: 100%; justify-content: center; }
  .dp-section { padding: 56px 0; }
  .dp-amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  /* Gallery: single column on mobile */
  .dp-gallery-grid {
    grid-template-areas: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .dp-gallery-main { height: 240px; }
  .dp-gallery-side { flex-direction: row; height: 160px; }
  .dp-gallery-bottom { grid-template-columns: 1fr 1fr; height: 140px; }
  .dp-gallery-bottom .dp-gallery-thumb:last-child { display: none; }
  /* Location: 2 col boxes on mobile */
  .dp-location-list { grid-template-columns: repeat(2, 1fr); }
  .dp-map-wrap iframe { height: 300px; }
}

@media (max-width: 480px) {
  .dp-hero-left h1 { font-size: 1.9rem; }
  .dp-quick-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dp-fact { width: auto; padding: 8px 10px; }
  .dp-fact strong { font-size: 0.82rem; }
  .dp-fact span { font-size: 0.65rem; }
  .dp-amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-amenity { padding: 20px 12px; }
  .dp-amenity h5 { font-size: 0.75rem; }
  .dp-location-list { grid-template-columns: 1fr; }
  .dp-gallery-side { flex-direction: column; height: auto; }
  .dp-gallery-side .dp-gallery-thumb { height: 150px; }
  .dp-gallery-bottom { grid-template-columns: 1fr; height: auto; }
  .dp-gallery-bottom .dp-gallery-thumb { height: 150px; display: block !important; }
}
