/* ============================================================
   MARIACHI ROYAL — AIRBNB-STYLE LOCALITIES CATALOG SYSTEM
   Modern, elegant, high-converting catalog for Bogotá's 19 localities
   ============================================================ */

:root {
  --ab-red: #dc2626;
  --ab-red-dark: #991b1b;
  --ab-red-light: #fef2f2;
  --ab-gold: #f59e0b;
  --ab-gold-light: #fef3c7;
  --ab-dark: #0f172a;
  --ab-gray-600: #475569;
  --ab-gray-500: #64748b;
  --ab-gray-400: #94a3b8;
  --ab-gray-100: #f1f5f9;
  --ab-gray-50: #f8fafc;
  --ab-border: #e2e8f0;
  --ab-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --ab-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --ab-shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.06);
  --ab-shadow-hover: 0 24px 40px -8px rgba(220, 38, 38, 0.16);
  --ab-radius-sm: 10px;
  --ab-radius-md: 16px;
  --ab-radius-lg: 22px;
  --ab-radius-full: 9999px;
  --ab-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* SECTION WRAPPER */
.airbnb-catalog-section {
  padding: 60px 0 80px;
  background: #ffffff;
  position: relative;
  border-bottom: 1px solid var(--ab-border);
}

.airbnb-catalog-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 32px;
}

.airbnb-catalog-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--ab-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.airbnb-catalog-title span {
  color: var(--ab-red);
  font-style: italic;
}

.airbnb-catalog-desc {
  font-size: 1.05rem;
  color: var(--ab-gray-500);
  line-height: 1.6;
}

/* AIRBNB CATEGORIES / LOCALITIES PILL BAR */
.airbnb-filter-wrapper {
  max-width: 1240px;
  margin: 0 auto 28px;
  position: relative;
}

.airbnb-categories-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.airbnb-categories-bar::-webkit-scrollbar {
  display: none;
}

.airbnb-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1.5px solid var(--ab-border);
  border-radius: var(--ab-radius-full);
  color: var(--ab-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--ab-transition);
  box-shadow: var(--ab-shadow-sm);
  flex-shrink: 0;
  user-select: none;
}

.airbnb-cat-pill:hover {
  border-color: var(--ab-red);
  color: var(--ab-red);
  transform: translateY(-2px);
  box-shadow: var(--ab-shadow-md);
}

.airbnb-cat-pill.active {
  background: var(--ab-dark);
  color: #ffffff;
  border-color: var(--ab-dark);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

.airbnb-cat-pill.active .airbnb-cat-icon {
  filter: brightness(1.2);
}

.airbnb-cat-pill .badge-count {
  background: var(--ab-red-light);
  color: var(--ab-red);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
}

.airbnb-cat-pill.active .badge-count {
  background: var(--ab-red);
  color: #ffffff;
}

/* SEARCH & SUMMARY SUB-BAR */
.airbnb-subbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto 28px;
  padding: 0 4px;
}

.airbnb-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.airbnb-search-box input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  background: var(--ab-gray-50);
  border: 1.5px solid var(--ab-border);
  border-radius: var(--ab-radius-full);
  font-size: 0.92rem;
  color: var(--ab-dark);
  outline: none;
  transition: var(--ab-transition);
}

.airbnb-search-box input:focus {
  background: #ffffff;
  border-color: var(--ab-red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.airbnb-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ab-gray-400);
  pointer-events: none;
}

.airbnb-results-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ab-gray-600);
}

.airbnb-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
}

.airbnb-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: airbnbPulse 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes airbnbPulse {
  to {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

/* CATALOG GRID */
.airbnb-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto 40px;
}

/* LISTING CARD */
.airbnb-card {
  background: #ffffff;
  border-radius: var(--ab-radius-md);
  border: 1px solid var(--ab-border);
  overflow: hidden;
  transition: var(--ab-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--ab-shadow-sm);
  cursor: pointer;
}

.airbnb-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ab-shadow-md);
  border-color: #cbd5e1;
}

/* CARD MEDIA COVER */
.airbnb-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1e293b;
  overflow: hidden;
}

.airbnb-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.airbnb-card:hover .airbnb-card-img {
  transform: scale(1.06);
}

.airbnb-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  gap: 8px;
  padding: 20px;
  text-align: center;
}

.airbnb-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

/* FLOATING BADGES ON IMAGE */
.airbnb-badge-top-left {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--ab-dark);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--ab-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
}

.airbnb-badge-top-left svg {
  color: var(--ab-red);
}

.airbnb-heart-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ab-dark);
  transition: var(--ab-transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.airbnb-heart-btn:hover {
  transform: scale(1.12);
  background: #ffffff;
  color: var(--ab-red);
}

.airbnb-heart-btn.liked {
  color: var(--ab-red);
  background: #ffffff;
}

.airbnb-heart-btn.liked svg {
  fill: var(--ab-red);
}

/* VIDEO REEL FLOATING BUTTON */
.airbnb-video-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(220, 38, 38, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--ab-radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  transition: var(--ab-transition);
}

.airbnb-video-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px) scale(1.03);
}

/* DIRECTOR OVERLAY TAG */
.airbnb-director-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  padding: 4px 10px 4px 4px;
  border-radius: var(--ab-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  max-width: calc(100% - 130px);
}

.airbnb-director-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: #334155;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  border: 1px solid #ffffff;
}

.airbnb-director-name {
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CARD BODY */
.airbnb-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.airbnb-card-toprow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.airbnb-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ab-dark);
  margin: 0;
  line-height: 1.25;
}

.airbnb-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ab-dark);
  background: var(--ab-gold-light);
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.airbnb-card-rating svg {
  color: var(--ab-gold);
}

.airbnb-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ab-gray-500);
  font-weight: 500;
}

.airbnb-card-location svg {
  color: var(--ab-red);
  flex-shrink: 0;
}

.airbnb-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.airbnb-feature-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ab-gray-600);
  background: var(--ab-gray-100);
  padding: 4px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* CARD PRICING & ACTIONS */
.airbnb-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.airbnb-price-box {
  display: flex;
  flex-direction: column;
}

.airbnb-price-label {
  font-size: 0.72rem;
  color: var(--ab-gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.airbnb-price-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ab-dark);
  line-height: 1.1;
}

.airbnb-price-period {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ab-gray-500);
}

.airbnb-card-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.airbnb-btn-quote {
  background: var(--ab-red);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: var(--ab-radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ab-transition);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.2);
}

.airbnb-btn-quote:hover {
  background: var(--ab-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

.airbnb-btn-wa {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: var(--ab-transition);
  flex-shrink: 0;
}

.airbnb-btn-wa:hover {
  background: #059669;
  color: #ffffff;
  transform: scale(1.08);
}

/* 19 LOCALITIES INTERACTIVE QUICK SELECTOR (MATRIX ACCORDION) */
.airbnb-matrix-card {
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius-md);
  padding: 28px;
  max-width: 1240px;
  margin: 0 auto;
  box-shadow: var(--ab-shadow-sm);
}

.airbnb-matrix-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.airbnb-matrix-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ab-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.airbnb-matrix-hint {
  font-size: 0.85rem;
  color: var(--ab-gray-500);
}

.airbnb-zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.airbnb-zone-item {
  background: var(--ab-gray-50);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius-sm);
  padding: 14px 16px;
  transition: var(--ab-transition);
}

.airbnb-zone-item:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: var(--ab-shadow-sm);
}

.airbnb-zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.airbnb-zone-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ab-dark);
}

.airbnb-zone-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.airbnb-loc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.airbnb-loc-btn {
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ab-dark);
  cursor: pointer;
  transition: var(--ab-transition);
}

.airbnb-loc-btn:hover,
.airbnb-loc-btn.active {
  background: var(--ab-red);
  color: #ffffff;
  border-color: var(--ab-red);
  transform: translateY(-1px);
}

/* VIDEO MODAL POPUP */
.airbnb-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.airbnb-video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.airbnb-video-dialog {
  width: 100%;
  max-width: 800px;
  background: #0f172a;
  border-radius: var(--ab-radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.airbnb-video-modal.active .airbnb-video-dialog {
  transform: scale(1);
}

.airbnb-video-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.airbnb-video-header h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.airbnb-video-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: var(--ab-transition);
}

.airbnb-video-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.airbnb-video-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.airbnb-video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .airbnb-catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .airbnb-categories-bar {
    padding-bottom: 12px;
  }
  
  .airbnb-subbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .airbnb-search-box {
    max-width: 100%;
  }
  
  .airbnb-matrix-card {
    padding: 20px 16px;
  }
}
