/* ==========================================
   POSADA DEL RÍO - CSS COMPONENTS RENZO6

   Sistema de Fichas y Modal Optimizado
   ========================================== */

/* ==========================================
   SISTEMA DE FICHAS - BASE
   ========================================== */
.ficha-item {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 3px auto 1.5rem auto;
  max-width: 450px;
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0;
  position: relative;
  z-index: 10;
}

.ficha-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  z-index: 15;
}

.ficha-optimizada {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
}

.ficha-optimizada .ficha-contenido {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.8rem 0.8rem 3px 0.8rem;
}

.ficha-optimizada .ficha-precio {
  margin-top: auto;
}

/* ==========================================
   IMAGEN DE FICHA
   ========================================== */
.ficha-imagen {
  position: relative;
  height: 200px;
  overflow: hidden;
  margin: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.ficha-imagen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
  z-index: 1;
}

.ficha-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

/* ==========================================
   CONTENIDO DE FICHA
   ========================================== */
.ficha-contenido h3 {
  margin-top: 0;
  color: #468189;
  height: 2.4em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.ficha-desc {
  margin: 0.5rem 0;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  height: 2.8em;
}

/* ==========================================
   INFORMACIÓN CONTRACTUAL OPTIMIZADA
   ========================================== */
.info-contractual-optimizada {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1rem 0;
  padding: 0.8rem;
  background: rgba(70, 129, 137, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(70, 129, 137, 0.15);
}

.linea-info-optimizada {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.linea-info-optimizada:last-child {
  border-bottom: none;
}

.label-info-optimizada {
  font-weight: 600;
  color: var(--color-acento);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 110px;
  text-rendering: optimizeLegibility;
}

.valor-info-optimizada {
  color: var(--color-texto);
  font-weight: 500;
  font-size: 0.9rem;
  text-align: right;
  flex: 1;
}

/* ==========================================
   ETIQUETAS EN FICHAS
   ========================================== */
.ficha-etiqueta {
  position: absolute;
  top: 10px;
  left: 0;
  background: #e74c3c;
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.etiqueta-descuento {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2;
  animation: pulseAnimation 2s infinite;
}

.ficha-etiqueta-urgencia {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  background: rgba(231, 76, 60, 0.95) !important;
  color: white !important;
  font-weight: bold !important;
  padding: 5px 10px !important;
  border-radius: 15px !important;
  font-size: 0.75rem !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
  animation: pulseUrgencia 2s infinite !important;
  z-index: 20 !important;
  white-space: nowrap !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  min-width: auto !important;
  text-align: center !important;
}

.ficha-info-destacada {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  z-index: 2;
}

@keyframes pulseAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulseUrgencia {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ==========================================
   PRICING EN FICHAS
   ========================================== */
.ficha-precio {
  margin: 0.8rem 0;
}

.precio-total {
  font-size: 1.3rem;
  font-weight: bold;
  color: #468189;
}

.precio-detalle {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}

.precio-original {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}

.precio-descuento {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.2rem;
}

.ahorro-texto {
  color: #e74c3c;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 0.3rem;
}

/* ==========================================
   BOTONES EN FICHAS
   ========================================== */
.btn-ver-mas {
  background: #468189;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  width: fit-content;
  max-width: 200px;
  margin: 0.5rem auto 0 auto;
  display: block;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-ver-mas:hover {
  background: #3a6f74;
  transform: translateY(-1px);
}

.btn-destacado {
  background: #e74c3c;
  animation: shakeAnimation 5s infinite;
  font-weight: bold;
}

.btn-destacado:hover {
  background: #c0392b;
}

@keyframes shakeAnimation {
  0% { transform: translateX(0); }
  2% { transform: translateX(-3px); }
  4% { transform: translateX(3px); }
  6% { transform: translateX(-3px); }
  8% { transform: translateX(3px); }
  10% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* ==========================================
   TIPOS DE FICHAS ESPECÍFICAS - RESTAURADO
   ========================================== */
.ficha-disponibilidad {
  border: 3px solid rgba(76, 175, 80, 0.7);
  border-radius: 10px;
  height: auto;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.2);
}

.ficha-oferta {
  border: 3px solid rgba(231, 76, 60, 0.8);
  border-radius: 10px;
  height: auto;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.2);
}

.ficha-alternativa {
  border: 3px solid rgba(52, 152, 219, 0.5);
  border-radius: 10px;
  height: auto;
}

/* ==========================================
   RESTAURAR DIFERENCIACIÓN FC vs FR - LIMPIO
   ========================================== */

/* REMOVER OVERRIDE FC=FR - Solo para FC catálogo */
.ficha-catalogo {
  /* FC mantiene su diseño original sin override */
  border: 3px solid rgba(76, 175, 80, 0.7) !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.2) !important;
}

/* BASE COMÚN PARA TODAS LAS FR */
.ficha-disponibilidad,
.ficha-oferta,
.ficha-alternativa {
  background: white !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 480px !important;
}

/* ✅ FICHAS DISPONIBILIDAD - ESPECÍFICAS */
.ficha-disponibilidad {
  border: 3px solid rgba(76, 175, 80, 0.7) !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.2) !important;
}

.ficha-disponibilidad:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3) !important;
}

/* ✅ FICHAS OFERTA - ESPECÍFICAS */
.ficha-oferta {
  border: 3px solid rgba(231, 76, 60, 0.8) !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.2) !important;
}

.ficha-oferta:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3) !important;
}

/* ✅ FICHAS ALTERNATIVA - ESPECÍFICAS */
.ficha-alternativa {
  border: 3px solid rgba(52, 152, 219, 0.5) !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2) !important;
}

.ficha-alternativa:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3) !important;
}

/* IMAGEN COMÚN PARA TODAS LAS FR */
.ficha-disponibilidad .ficha-imagen,
.ficha-oferta .ficha-imagen,
.ficha-alternativa .ficha-imagen {
  height: 220px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

/* CONTENIDO COMÚN PARA TODAS LAS FR */
.ficha-disponibilidad .ficha-contenido,
.ficha-oferta .ficha-contenido,
.ficha-alternativa .ficha-contenido {
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* TÍTULOS COMUNES PARA FR */
.ficha-disponibilidad .ficha-contenido h3,
.ficha-oferta .ficha-contenido h3,
.ficha-alternativa .ficha-contenido h3 {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  color: var(--color-acento) !important;
  font-size: 1.4rem !important;
}

/* DESCRIPCIÓN COMÚN PARA FR */
.ficha-disponibilidad .ficha-desc,
.ficha-oferta .ficha-desc,
.ficha-alternativa .ficha-desc {
  margin: 0.5rem 0 !important;
  color: #555 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-clamp: 2;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.4 !important;
  height: 2.8em !important;
}

/* INFORMACIÓN CONTRACTUAL - COLORES ESPECÍFICOS */
.ficha-disponibilidad .info-contractual-optimizada {
  background: rgba(76, 175, 80, 0.08) !important;
  border: 1px solid rgba(76, 175, 80, 0.15) !important;
}

.ficha-oferta .info-contractual-optimizada {
  background: rgba(231, 76, 60, 0.08) !important;
  border: 1px solid rgba(231, 76, 60, 0.15) !important;
}

.ficha-alternativa .info-contractual-optimizada {
  background: rgba(52, 152, 219, 0.08) !important;
  border: 1px solid rgba(52, 152, 219, 0.15) !important;
}

/* BASE COMÚN INFO CONTRACTUAL */
.ficha-disponibilidad .info-contractual-optimizada,
.ficha-oferta .info-contractual-optimizada,
.ficha-alternativa .info-contractual-optimizada {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  margin: 1rem 0 !important;
  padding: 0.8rem !important;
  border-radius: 8px !important;
}

/* PRECIO COMÚN PARA FR */
.ficha-disponibilidad .ficha-precio,
.ficha-oferta .ficha-precio,
.ficha-alternativa .ficha-precio {
  margin: 0.8rem 0 !important;
}

.ficha-disponibilidad .precio-total,
.ficha-oferta .precio-total,
.ficha-alternativa .precio-total {
  font-size: 1.3rem !important;
  font-weight: bold !important;
  color: #468189 !important;
}

/* RESPONSIVE MOBILE PARA FR */
@media (max-width: 768px) {
  .ficha-disponibilidad .ficha-imagen,
  .ficha-oferta .ficha-imagen,
  .ficha-alternativa .ficha-imagen {
    height: 200px !important;
  }
  
  .ficha-disponibilidad .ficha-contenido,
  .ficha-oferta .ficha-contenido,
  .ficha-alternativa .ficha-contenido {
    padding: 1.2rem !important;
  }
}

/* ==========================================
   FIX GRID RESPONSIVO PARA RESULTADOS
   ========================================== */

/* Grid para disponibilidad */
.disponibilidad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid para ofertas */
.ofertas-grid-prioritarias,
.ofertas-grid-sutil {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* Grid para alternativas */
.alternativas-grid-respaldo,
.alternativas-grid-sutil {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* Grid para departamentos catálogo - IGUAL que disponibilidad-grid */
.departamentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* Mobile override */
@media (max-width: 480px) {
  .disponibilidad-grid,
  .ofertas-grid-prioritarias,
  .ofertas-grid-sutil,
  .alternativas-grid-respaldo,
  .departamentos-grid,
  .alternativas-grid-sutil {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
  }
}

/* ==========================================
   FIX MODAL CSS - ESPECIFICIDAD FORZADA
   REEMPLAZAR: Sección modal en components.css (línea ~200)
   ========================================== */

/* ==========================================
   MODAL SISTEMA - ESPECIFICIDAD FORZADA
   ========================================== */

/* ESTADO BASE: OCULTO */
#modalGenerico.modal {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.6) !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 10000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
}

/* ESTADO ACTIVO: VISIBLE */
#modalGenerico.modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* CONTENIDO DEL MODAL */
.modal-contenido {
  background: #fff;
  padding: 0;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease-out;
  overflow: hidden; /* Cambiado de overflow-y: auto */
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}


.modal-contenido::-webkit-scrollbar {
  display: none !important;
}

#modalGenerico.modal.active .modal-contenido {
  transform: translateY(0) !important;
}
/* BOTÓN WHATSAPP - Centrado y al fondo */
#btnAccionPrincipal,
.btn-accion-principal {
  background: #25D366 !important;
  color: white !important;
  border: none !important;
  padding: 0.5rem 1rem !important; /* Reducido de 0.6rem */
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0.3rem auto 0.2rem auto !important; /* Reducido margins */
  transition: all 0.3s !important;
  text-decoration: none !important;
  width: 90% !important;
  max-width: 280px !important;
}

#btnAccionPrincipal:hover,
.btn-accion-principal:hover {
  background: #128C7E !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
}

/* ==========================================
   CARRUSEL EN MODAL
   ========================================== */
.carousel-container {
  position: relative !important;
  width: 100% !important;
  margin: 0 auto !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  overflow: hidden !important;
}

.carousel {
  position: relative !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  display: flex !important;
  border-radius: 0 !important;
  max-width: 100% !important;
  height: 220px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.carousel::-webkit-scrollbar {
  display: none !important;
}

.carousel img {
  flex: 0 0 100% !important;
  scroll-snap-align: start !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.carousel-dots {
  display: flex !important;
  justify-content: center !important;
  position: absolute !important;
  bottom: 15px !important;
  width: 100% !important;
  z-index: 2 !important;
}

.carousel-dot {
  width: 10px !important;
  height: 10px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
}

.carousel-dot.active {
  background: white !important;
  animation: dotPulse 1.5s infinite !important;
}

@keyframes dotPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.carousel-nav {
  position: absolute !important;
  top: 50% !important;
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
}

.carousel-prev, .carousel-next {
  background: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 10px !important;
  transition: background 0.2s !important;
}

.carousel-prev:hover, .carousel-next:hover {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* ==========================================
   BOTÓN CERRAR MODAL
   ========================================== */
.close-modal-btn {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: white !important;
  border: none !important;
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 20 !important;
  transition: background 0.2s, transform 0.2s !important;
  font-weight: bold !important;
}

.close-modal-btn:hover {
  background: rgba(0, 0, 0, 0.9) !important;
  transform: scale(1.1) !important;
}

/* ==========================================
   CONTENIDO MODAL COMPACTO
   ========================================== */
.modal-cuerpo-compacto {
  padding: 0.5rem 0.8rem; /* Reducido de 0.8rem */
  display: flex !important;
  flex-direction: column !important;
  gap: 0.3rem !important; /* Reducido de 0.5rem */
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #468189 #f0f0f0;
}

.modal-titulo-compacto {
  margin: 0 0 0.1rem 0 !important;
  color: var(--color-acento) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
}

.modal-descripcion-compacta {
  margin: 0 0 0.2rem 0 !important;
  color: #555 !important;
  font-size: 0.85rem !important;
  line-height: 1.3 !important;
}
.modal-footer {
  padding: 0.8rem; /* Reducido de 1rem */
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  position: sticky;
  bottom: 0;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
/* ==========================================
   INFORMACIÓN CONTRACTUAL EN MODAL
   ========================================== */
.modal-info-contractual-compacta {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important; /* Reducido de 0.2rem */
  margin: 0.3rem 0 !important; /* Reducido de 0.5rem */
  padding: 0.4rem !important; /* Reducido de 0.5rem */
  background: rgba(70, 129, 137, 0.08) !important;
  border-radius: 6px !important;
  border: 1px solid rgba(70, 129, 137, 0.15) !important;
}

.modal-info-linea {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 20px !important; /* Reducido de 22px */
  padding: 0.05rem 0 !important;
  font-size: 0.75rem !important; /* Reducido de 0.8rem */
}

.modal-info-label {
  font-weight: 600 !important;
  color: var(--color-acento) !important;
  font-size: 0.8rem !important;
  flex-shrink: 0 !important;
  min-width: 80px !important;
}

.modal-info-valor {
  color: var(--color-texto) !important;
  font-weight: 500 !important;
  font-size: 0.8rem !important;
  text-align: right !important;
  flex: 1 !important;
}

/* ==========================================
   PRICING EN MODAL
   ========================================== */
.modal-pricing-compacto {
  text-align: center !important;
  padding: 0.5rem !important;
  background: rgba(70, 129, 137, 0.05) !important;
  border-radius: 8px !important;
  margin: 0.3rem 0 !important;
}


.modal-precio-total {
  font-size: 1.1rem !important;
  font-weight: bold !important;
  color: #468189 !important;
  margin-bottom: 0.2rem !important;
}

.modal-precio-detalle {
  font-size: 0.75rem !important;
  color: #777 !important;
  font-style: italic !important;
}

/* ==========================================
   BANNER DESCUENTO INTEGRADO
   ========================================== */
.modal-banner-descuento-integrado {
  margin: 0.3rem 0 !important; /* Reducido de 0.5rem */
  padding: 0.4rem !important; /* Reducido de 0.5rem */
  background: rgba(231, 76, 60, 0.05) !important;
  border-radius: 6px !important;
  border: 1px solid rgba(231, 76, 60, 0.15) !important;
}

.banner-header {
  margin-bottom: 0.3rem !important; /* Reducido de 0.5rem */
}

.descuento-badge {
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 3px 6px !important; /* Reducido de 4px 8px */
  border-radius: 10px !important;
  font-size: 0.75rem !important; /* Reducido de 0.8rem */
  font-weight: bold !important;
}

.banner-precios {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important; /* Reducido de 0.3rem */
}

.precio-linea {
  font-size: 0.8rem !important;
}

.precio-tachado {
  text-decoration: line-through !important;
  opacity: 0.8 !important;
}

.precio-final-destacado {
  font-size: 1rem !important; /* Reducido de 1.1rem */
  font-weight: bold !important;
  margin: 0.2rem 0 !important;
}

.precio-final {
  font-size: 1.2rem !important;
}

.precio-detalle-banner {
  font-size: 0.7rem !important;
  opacity: 0.9 !important;
}

.ahorro-destacado {
  font-size: 0.9rem !important;
  font-weight: bold !important;
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 4px 8px !important;
  border-radius: 12px !important;
  display: inline-block !important;
  margin-top: 0.3rem !important;
}

/* ==========================================
   SERVICIOS EN MODAL
   ========================================== */
.modal-servicios-compacto {
  margin: 0.2rem 0 0.1rem 0 !important;
  padding: 0.3rem !important; /* Reducido de 0.35rem */
  background: rgba(70, 129, 137, 0.03) !important;
  border-radius: 5px !important;
}

.banner-fechas-superpuesto {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

/* Ajuste para que el contenido no se vea cortado por el banner superpuesto */
.modal-contenido {
  overflow-y: auto !important;
  max-height: 85vh !important; /* Asegurar que no exceda la pantalla */
}

.modal-servicios-titulo {
  margin: 0 0 0.05rem 0 !important; /* Reducido de 0.1rem */
  color: var(--color-acento) !important;
  font-size: 0.75rem !important; /* Reducido de 0.8rem */
  font-weight: bold !important;
}

.modal-servicios-lista {
  margin: 0 0 0.05rem 0 !important;
  color: var(--color-texto) !important;
  font-size: 0.7rem !important; /* Reducido de 0.75rem */
  line-height: 1.2 !important;
}

.modal-servicios-nota {
  margin: 0 !important;
  color: #666 !important;
  font-size: 0.65rem !important; /* Reducido de 0.7rem */
  font-style: italic !important;
} 

/* ==========================================
   CTA MODAL
   ========================================== */
.modal-cta-compacto,
.btn-accion-principal {
  background: #25D366 !important;
  color: white !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0.3rem auto 0.2rem auto !important;
  transition: all 0.3s !important;
  text-decoration: none !important;
  width: 90% !important;
  max-width: 280px !important;
}

.modal-cta-compacto:hover,
.btn-accion-principal:hover {
  background: #22c55e !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
}

/* ==========================================
   RESPONSIVE MOBILE PARA MODAL
   ========================================== */
@media (max-width: 768px) {
  #modalGenerico.modal {
    padding: 0.5rem !important;
    align-items: flex-start !important;
    padding-top: 2rem !important;
  }

  
  
  /* Asegurar que el contenedor del modal tenga el layout correcto */
.modal-contenido {
  background: #fff !important;
  padding: 0 !important;
  max-width: 450px !important;
  width: 90% !important;
  max-height: 90vh !important;
  border-radius: 12px !important;
  position: relative !important;
  transform: translateY(20px) !important;
  transition: transform 0.3s ease-out !important;
  overflow-y: auto !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
  /* Importante: flexbox para alinear contenido */
  display: flex !important;
  flex-direction: column !important;
}
/* Contenido del modal debe crecer para empujar el botón al fondo */
#modalContenido {
  flex: 1 !important; /* Ocupa todo el espacio disponible */
  padding: 0 0.8rem !important;
  overflow-y: auto !important;
}
  
.carousel {
  position: relative !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  display: flex !important;
  border-radius: 0 !important;
  max-width: 100% !important;
  height: 220px !important; /* Altura fija siempre */
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

  
  .carousel img {
    height: 180px !important;
  }
  
  .modal-cuerpo-compacto {
  padding: 0.5rem !important; /* Reducido aún más */
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important; /* Reducido de 0.3rem */
}
  
 .modal-titulo-compacto {
  margin: 0.3rem 0 0.1rem 0 !important; /* Pequeño margin top para separar del banner */
  color: var(--color-acento) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
}
  
  .modal-descripcion-compacta {
    font-size: 0.8rem !important;
    margin-bottom: 0.25rem !important;
  }
}

/* ==========================================
   SECCIONES DE MENSAJE MEJORADAS
   ========================================== */

/* Header principal de "Tenemos opciones" */
.mensaje-no-disponibilidad {
  background: linear-gradient(135deg, #468189, #3a6f74);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(70, 129, 137, 0.3);
  position: relative;
  overflow: hidden;
}

.mensaje-no-disponibilidad::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.mensaje-icono {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  animation: bounce 2s infinite;
}

.mensaje-no-disponibilidad h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  color: white;
  font-weight: bold;
}

.mensaje-no-disponibilidad p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.4;
}

/* Secciones de ofertas y alternativas */
.seccion-ofertas-prioritarias,
.seccion-ofertas-especiales {
  margin: 2.5rem 0;
}

.seccion-header-destacado,
.seccion-header-sutil {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  text-align: center;
  border-left: 4px solid #e74c3c;
}

.seccion-header-sutil {
  border-left-color: #468189;
}

.seccion-header-destacado h3,
.seccion-header-sutil h3 {
  margin: 0 0 0.5rem 0;
  color: var(--color-acento);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.seccion-descripcion {
  color: #666;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* Sección alternativas */
.seccion-alternativas-respaldo {
  margin: 2rem 0;
}

.seccion-header-respaldo,
.seccion-header-alternativo {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.seccion-header-respaldo h3,
.seccion-header-alternativo h3 {
  margin: 0 0 0.5rem 0;
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.seccion-header-respaldo .seccion-descripcion,
.seccion-header-alternativo .seccion-descripcion {
  color: rgba(255,255,255,0.95);
  margin: 0;
}

/* Animaciones */
@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Responsive mobile */
@media (max-width: 768px) {
  .mensaje-no-disponibilidad {
    padding: 1.5rem;
  }
  
  .mensaje-icono {
    font-size: 2.5rem;
  }
  
  .mensaje-no-disponibilidad h3 {
    font-size: 1.5rem;
  }
  
  .seccion-header-destacado h3,
  .seccion-header-sutil h3 {
    font-size: 1.3rem;
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* ==========================================
   CARRUSEL INTEGRADO EN FICHAS DE CATÁLOGO
   UBICACIÓN: components.css
   INSERTAR: Al final del archivo, antes del cierre
   ========================================== */

/* CONTENEDOR PRINCIPAL DEL CARRUSEL EN FICHA */
.ficha-carrusel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

/* CARRUSEL DE IMÁGENES */
.ficha-carrusel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  position: relative;
}

.ficha-carrusel img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* DOTS DE NAVEGACIÓN */
.ficha-carrusel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(3px);
}

.ficha-carrusel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ficha-carrusel-dot.active {
  background: white;
  transform: scale(1.2);
}

.ficha-carrusel-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* BOTONES DE NAVEGACIÓN */
.ficha-carrusel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.ficha-carrusel-prev,
.ficha-carrusel-next {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  transition: all 0.3s ease;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.8);
}

.ficha-carrusel-prev:hover,
.ficha-carrusel-next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1);
}

/* MOSTRAR CONTROLES AL HACER HOVER EN LA FICHA */
.ficha-catalogo:hover .ficha-carrusel-prev,
.ficha-catalogo:hover .ficha-carrusel-next {
  opacity: 1;
  transform: scale(1);
}

/* AJUSTES ESPECÍFICOS PARA CATÁLOGO */
.ficha-catalogo .ficha-imagen {
  height: 280px;
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  margin: 10px 10px 0 10px;
}

@media (max-width: 768px) {
  .ficha-catalogo .ficha-imagen {
    height: 250px;
    margin: 0;
  }
}
  
  .ficha-carrusel-dots {
    bottom: 8px;
    gap: 4px;
    padding: 4px 8px;
  }
  
  .ficha-carrusel-dot {
    width: 6px;
    height: 6px;
  }
  
  .ficha-carrusel-prev,
  .ficha-carrusel-next {
    width: 30px;
    height: 30px;
    font-size: 14px;
    margin: 0 4px;
    /* En mobile siempre visibles */
    opacity: 0.7;
    transform: scale(1);
  }
  
  .ficha-carrusel-prev:active,
  .ficha-carrusel-next:active {
    opacity: 1;
    background: rgba(0, 0, 0, 0.9);
  }


/* SOPORTE PARA TOUCH/SWIPE */
.ficha-carrusel-container {
  touch-action: pan-y;
}

.ficha-carrusel {
  scroll-behavior: smooth;
}

/* TRANSICIONES SUAVES */
.ficha-carrusel img {
  transition: transform 0.6s ease;
}

.ficha-catalogo:hover .ficha-carrusel img {
  transform: scale(1.03);
}

/* BUSCAR en la sección de FC y AÑADIR esta regla: */
.ficha-catalogo .ficha-imagen::before {
  display: none !important;
}

/* ==========================================
   SISTEMA DE PROMOCIONES EN FICHAS
   ========================================== */

/* Banner promoción en ficha */
.banner-promocion-ficha {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 0.4rem 0.8rem;
  margin: -0.5rem -0.8rem 0.8rem -0.8rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  animation: pulsePromo 2s infinite;
}

.codigo-promo {
  display: block;
  font-size: 0.85rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Contenedor pricing con promoción */
.precio-contenedor-promo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.precio-linea-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Precio original tachado (promoción) */
.precio-original-promo {
  text-decoration: line-through;
  color: #999;
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.8;
}

/* Precio con descuento promocional */
.precio-descuento-promo {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.4rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Ahorro promocional */
.ahorro-promo {
  color: #27ae60;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  background: rgba(39, 174, 96, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

/* Animación para banner promocional */
@keyframes pulsePromo {
  0% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
  }
  50% { 
    transform: scale(1.02);
    box-shadow: 0 0 0 5px rgba(231, 76, 60, 0.2);
  }
  100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

/* Responsive mobile para promociones */
@media (max-width: 768px) {
  .banner-promocion-ficha {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .precio-linea-promo {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .precio-descuento-promo {
    font-size: 1.2rem;
  }
  
  .ahorro-promo {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
}
/* ==========================================
   BANNER "FECHAS DIFERENTES" PARA FR
   ========================================== */

/* Banner para ofertas (rojo) */
.banner-fechas-diferentes-oferta {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  text-align: center;
  padding: 0.8rem 1rem;
  margin: -1.5rem -1.5rem 1rem -1.5rem; /* Margin negativo para abarcar todo el ancho */
  font-size: 0.9rem;
  font-weight: bold;
  position: relative;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Banner para alternativas (azul) */
.banner-fechas-diferentes-alternativa {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  text-align: center;
  padding: 0.8rem 1rem;
  margin: -1.5rem -1.5rem 1rem -1.5rem; /* Margin negativo para abarcar todo el ancho */
  font-size: 0.9rem;
  font-weight: bold;
  position: relative;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Icono y texto del banner */
.banner-fechas-diferentes-oferta::before,
.banner-fechas-diferentes-alternativa::before {
  content: "📅 ";
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

/* Animación sutil para llamar la atención */
.banner-fechas-diferentes-oferta,
.banner-fechas-diferentes-alternativa {
  animation: bannerGlow 3s ease-in-out infinite;
}

@keyframes bannerGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
  }
}

/* Responsive mobile */
@media (max-width: 768px) {
  .banner-fechas-diferentes-oferta,
  .banner-fechas-diferentes-alternativa {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    margin: -1.2rem -1.2rem 0.8rem -1.2rem;
  }
}

/* ==========================================
   AJUSTAR CONTENIDO FR PARA EL BANNER
   ========================================== */

/* Asegurar que el primer elemento después del banner tenga el margin correcto */
.ficha-oferta .ficha-contenido,
.ficha-alternativa .ficha-contenido {
  position: relative;
}

/* Si hay banner, ajustar el primer elemento dentro del contenido */
.ficha-oferta .ficha-contenido > *:first-child,
.ficha-alternativa .ficha-contenido > *:first-child {
  margin-top: 0;
}

/* Específicamente para fichas con fechas diferentes */
.ficha-oferta[data-fechas-diferentes="true"] .ficha-contenido,
.ficha-alternativa[data-fechas-diferentes="true"] .ficha-contenido {
  padding-top: 0.5rem !important; /* Menos padding arriba para compensar banner */
}
.banner-fechas-modal-integrado {
  /* El margin negativo hace que se "coma" el padding del contenedor */
  /* Simula estar pegado al borde sin sumar altura extra */
  box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}
.banner-fechas-modal-integrado {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  text-align: center;
  padding: 0.3rem 0.6rem !important; /* Super compacto */
  margin: 0 -0.8rem 0.3rem -0.8rem !important; /* Negativo para full width */
  font-size: 0.7rem !important; /* Muy pequeño */
  font-weight: 600;
  position: relative;
  z-index: 5;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 24px !important; /* Altura mínima muy pequeña */
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.nav-destacado {
  background: #e74c3c !important;
  color: white !important;
  border-radius: 20px !important;
  font-weight: bold !important;
}
/* ==========================================
   MODAL GOOGLE MAPS - CSS
   UBICACIÓN: components.css
   INSTRUCCIONES: Agregar AL FINAL del archivo
   ========================================== */

/* OVERLAY DEL MODAL */
.modal-maps-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* CONTENEDOR DEL MODAL */
.modal-maps-container {
  background: white;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  height: 600px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.modal-maps-overlay.active .modal-maps-container {
  transform: scale(1);
}

/* HEADER DEL MODAL */
.modal-maps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--color-acento);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-maps-titulo {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-maps-cerrar {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.modal-maps-cerrar:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* CONTENIDO DEL MODAL */
.modal-maps-contenido {
  height: calc(100% - 70px);
  position: relative;
}

.modal-maps-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* LOADING STATE */
.modal-maps-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #666;
}

.modal-maps-loading.hidden {
  display: none;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--color-boton);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* BOTÓN ABRIR EN NUEVA PESTAÑA */
.modal-maps-abrir {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--color-boton);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-maps-abrir:hover {
  background: #3a6f74;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .modal-maps-container {
    width: 95vw;
    height: 80vh;
    max-width: none;
    border-radius: 8px;
  }
  
  .modal-maps-header {
    padding: 0.8rem 1rem;
  }
  
  .modal-maps-titulo {
    font-size: 1.1rem;
  }
  
  .modal-maps-abrir {
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .modal-maps-container {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }
  
  .modal-maps-abrir {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    justify-content: center;
  }
}
/* ==========================================
   COMPONENTE MAPAS RESPONSIVOS
   UBICACIÓN: components.css
   INSERTAR: Al final del archivo, antes del cierre
   ========================================== */

/* CONTENEDOR RESPONSIVO PARA MAPAS */
.mapa-responsive {
  overflow: hidden;
  /* Relación de aspecto 4:3 (450/600 * 100 = 75%) */
  padding-bottom: 75%;
  position: relative;
  height: 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* IFRAME DENTRO DEL CONTENEDOR RESPONSIVO */
.mapa-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
  border-radius: 8px;
}

/* MODAL PARA MAPAS */
.modal-mapa {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* CONTENEDOR DEL MODAL */
.modal-mapa-contenedor {
  background: white;
  border-radius: 12px;
  padding: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

/* BOTÓN CERRAR MODAL */
.modal-mapa-cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  transition: all 0.3s ease;
}

.modal-mapa-cerrar:hover {
  background: #c0392b;
  transform: scale(1.1);
}

/* TÍTULO DEL MODAL */
.modal-mapa-titulo {
  margin: 0 0 15px 0;
  padding-right: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
}

/* INFORMACIÓN ADICIONAL DEL MAPA */
.modal-mapa-info {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #468189;
}

.modal-mapa-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.modal-mapa-info strong {
  color: #2c3e50;
}

.modal-mapa-info a {
  color: #468189;
  text-decoration: none;
  font-weight: 500;
}

.modal-mapa-info a:hover {
  text-decoration: underline;
}

/* RESPONSIVE PARA MOBILE */
@media (max-width: 768px) {
  .modal-mapa {
    padding: 10px;
  }
  
  .modal-mapa-contenedor {
    padding: 15px;
    border-radius: 8px;
    max-height: 95vh;
  }
  
  .modal-mapa-titulo {
    font-size: 1.1rem;
    padding-right: 45px;
  }
  
  .modal-mapa-cerrar {
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  /* En mobile, ajustar relación de aspecto para aprovechar mejor el espacio */
  .mapa-responsive {
    padding-bottom: 60%; /* Relación más ancha en mobile */
  }
}

/* ANIMACIONES PARA MODALES */
.modal-mapa {
  animation: fadeIn 0.3s ease;
}

.modal-mapa-contenedor {
  animation: slideIn 0.3s ease;
}

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

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ==========================================
   LOADING OVERLAY CENTRAL
   UBICACIÓN: css/components.css - AGREGAR al final
   ========================================== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.loading-container {
  background: linear-gradient(135deg, #468189, #6fa8af);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo sutil */
.loading-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  border-radius: 22px;
  z-index: -1;
}

/* BRANDING */
.loading-brand {
  margin-bottom: 2rem;
}

.loading-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.loading-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* MENSAJE PRINCIPAL */
.loading-message {
  margin-bottom: 2rem;
}

.loading-main-text {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.95;
}

/* SPINNER */
.loading-spinner {
  margin-bottom: 2rem;
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* FOOTER */
.loading-footer {
  margin-bottom: 0;
}

.loading-time-text {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

/* ANIMACIONES */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ESTADOS DE ERROR Y SIN RESULTADOS */
.error-consulta, .sin-resultados {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

.error-icon, .sin-resultados-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.error-consulta h3, .sin-resultados h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.sin-resultados ul {
  text-align: left;
  max-width: 300px;
  margin: 1.5rem auto;
}

.sin-resultados-acciones {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-reintentar, .btn-nueva-busqueda, .btn-whatsapp {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-reintentar, .btn-nueva-busqueda {
  background: #468189;
  color: white;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-reintentar:hover, .btn-nueva-busqueda:hover {
  background: #3a6f74;
  transform: translateY(-2px);
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .loading-container {
    padding: 2rem 1.5rem;
    max-width: 350px;
  }
  
  .loading-icon {
    font-size: 2.5rem;
  }
  
  .loading-title {
    font-size: 1.3rem;
  }
  
  .loading-main-text {
    font-size: 1rem;
  }
  
  .spinner {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .loading-container {
    padding: 1.5rem 1rem;
    max-width: 320px;
  }
  
  .loading-icon {
    font-size: 2rem;
  }
  
  .loading-title {
    font-size: 1.2rem;
  }
  
  .loading-main-text {
    font-size: 0.95rem;
  }
}

/* ==========================================
   TESTIMONIOS - SECCIÓN COMPLETA
   UBICACIÓN: components.css - REEMPLAZAR TODA la sección testimonios
   ========================================== */

/* HERO SECTION */
.testimonios-hero {
  background: linear-gradient(135deg, #468189 0%, #77a8b0 100%);
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonios-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.testimonios-hero-contenido {
  position: relative;
  z-index: 2;
}

.testimonios-hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.testimonios-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* SECCIÓN PRINCIPAL */
.testimonios-carrusel {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f8fafb 0%, #ffffff 100%);
  min-height: 600px;
}

/* CONTENEDOR PRINCIPAL */
.testimonios-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* GRID RESPONSIVE - Máximo 2 fichas en desktop */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 3rem;
  max-width: 100%;
}

/* Modo carrusel para más de 2 testimonios */
.testimonios-grid.carrusel-mode {
  display: flex;
  grid-template-columns: none;
}

.testimonios-grid.carrusel-mode .testimonio-card {
  flex: 0 0 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

/* FICHAS INDIVIDUALES - ESTILO AMAZON */
.testimonio-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.08),
    0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(70, 129, 137, 0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  width: 100%;
  box-sizing: border-box;
  animation: fadeInUp 0.6s ease-out;
}

.testimonio-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: rgba(70, 129, 137, 0.15);
  font-family: serif;
  line-height: 1;
}

.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 40px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.08);
}

/* HEADER - Avatar + Nombre */
.testimonio-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.testimonio-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #468189, #77a8b0);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(70, 129, 137, 0.3);
  flex-shrink: 0;
}

.avatar-emoji {
  font-size: 1.5rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.testimonio-autor {
  font-size: 0.9rem;
  color: #0F1111;
  font-weight: 500;
  line-height: 1.2;
}

/* CONTENIDO PRINCIPAL */
.testimonio-contenido {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* LÍNEA ESTRELLAS + TÍTULO */
.testimonio-rating-titulo {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.estrellas-rating {
  font-size: 1rem;
  color: #FF9900;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(255,193,7,0.3));
}

/* TÍTULO DEL TESTIMONIO */
.testimonio-titulo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F1111;
  line-height: 1.3;
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* TEXTO PRINCIPAL */
.testimonio-texto {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0F1111;
  margin: 0;
  text-align: justify;
  position: relative;
  z-index: 2;
}

/* FECHA AL PIE */
.testimonio-fecha {
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.8rem;
  color: #565959;
  font-weight: 400;
  font-style: italic;
}

/* CONTROLES DEL CARRUSEL */
.carrusel-controles {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.carrusel-controles.visible {
  display: flex;
}

.carrusel-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: #468189;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(70, 129, 137, 0.3);
}

.carrusel-btn:hover {
  background: #3a6f74;
  transform: scale(1.1);
}

.carrusel-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
}

.carrusel-dots {
  display: flex;
  gap: 0.8rem;
}

.carrusel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdc3c7;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carrusel-dot.active {
  background: #468189;
  transform: scale(1.3);
}

.carrusel-dot:hover {
  background: #95a5a6;
}

/* ESTADOS DE CARGA Y ERROR */
.loading-testimonios {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(70, 129, 137, 0.1);
  border-left: 4px solid #468189;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.error-testimonios, .sin-testimonios {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 2rem 0;
}

.btn-reintentar {
  background: #468189;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-reintentar:hover {
  background: #3a6f74;
  transform: translateY(-2px);
}

/* CTA FINAL SECTION */
.testimonios-cta {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.testimonios-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="30" r="0.5" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.3;
}

.cta-contenido {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.testimonios-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
}

.testimonios-cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.9);
}

.cta-botones {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* BOTÓN RESERVAR */
.btn-cta-reservar {
  background: linear-gradient(135deg, #468189 0%, #5a9aa1 100%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(70, 129, 137, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-cta-reservar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-cta-reservar:hover::before {
  left: 100%;
}

.btn-cta-reservar:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(70, 129, 137, 0.5);
}

/* BOTÓN TESTIMONIO MEJORADO */
.btn-cta-testimonio {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  position: relative;
  overflow: hidden;
  min-width: 220px;
  justify-content: center;
}

.btn-cta-testimonio::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-cta-testimonio:hover::before {
  left: 100%;
}

.btn-cta-testimonio:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.btn-cta-testimonio .emoji-wa {
  font-size: 1.3rem;
  animation: bounce 2s infinite;
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
  .testimonios-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
  }
  
  .testimonios-grid.carrusel-mode .testimonio-card {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .testimonios-hero {
    padding: 3rem 1.5rem 2rem;
  }
  
  .testimonios-hero h1 {
    font-size: 2rem;
  }
  
  .testimonios-carrusel {
    padding: 3rem 1rem;
  }
  
  .testimonios-container {
    padding: 0 1rem;
  }
  
  .testimonios-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: hidden;
  }
  
  .testimonio-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1.5rem;
    min-height: 240px;
  }
  
  .testimonio-header {
    gap: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .testimonio-avatar {
    width: 35px;
    height: 35px;
  }
  
  .avatar-emoji {
    font-size: 1.3rem;
  }
  
  .testimonio-titulo {
    font-size: 1.1rem;
  }
  
  .testimonio-texto {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .carrusel-controles.mobile-visible {
    display: flex;
  }
  
  .carrusel-controles {
    gap: 1rem;
  }
  
  .carrusel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .testimonios-cta {
    padding: 3rem 1.5rem;
  }
  
  .testimonios-cta h2 {
    font-size: 1.8rem;
  }
  
  .testimonios-cta p {
    font-size: 1.1rem;
  }
  
  .cta-botones {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-cta-reservar,
  .btn-cta-testimonio {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .testimonios-container {
    padding: 0 0.5rem;
  }
  
  .testimonio-card {
    padding: 1.2rem;
  }
  
  .testimonio-titulo {
    font-size: 1rem;
  }
  
  .testimonio-texto {
    font-size: 0.85rem;
  }
  
  .btn-cta-reservar,
  .btn-cta-testimonio {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
}

/* ANIMACIONES */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}
/* ==========================================
   MENSAJE SIN PRECIOS DISPONIBLES
   Ubicación: buscador.css
   INSERTAR: Al final del archivo
   ========================================== */

.mensaje-sin-precios {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid rgba(70, 129, 137, 0.15);
    position: relative;
    overflow: hidden;
}

.mensaje-sin-precios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #468189, #77b6b8);
}

.icono-mensaje {
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.titulo-mensaje {
    font-size: 1.8rem;
    color: #468189;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: var(--font-principal, 'Montserrat', sans-serif);
}

.texto-mensaje {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.info-detalle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(70, 129, 137, 0.05);
    border-radius: 8px;
}

.detalle-label {
    font-weight: 600;
    color: #468189;
}

.detalle-valor {
    color: #555;
}

.sugerencias-mensaje {
    background: linear-gradient(135deg, rgba(70, 129, 137, 0.05), rgba(119, 182, 184, 0.05));
    border-radius: 12px;
    padding: 1.8rem;
    margin: 2rem 0;
    text-align: left;
}

.sugerencia-titulo {
    font-weight: 600;
    color: #468189;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.lista-sugerencias {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 450px;
    margin: 0 auto;
}

.lista-sugerencias li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lista-sugerencias li:last-child {
    border-bottom: none;
}

.lista-sugerencias li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #468189;
    font-weight: bold;
    font-size: 1.2rem;
}

.acciones-mensaje {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-nueva-busqueda {
    background: linear-gradient(135deg, #468189, #3a6b72);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(70, 129, 137, 0.3);
    min-width: 160px;
}

.btn-nueva-busqueda:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(70, 129, 137, 0.4);
    background: linear-gradient(135deg, #3a6b72, #2e555c);
}

.btn-nueva-busqueda:active {
    transform: translateY(0);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #20b558);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
    min-width: 200px;
    justify-content: center;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #20b558, #1a9c4a);
    color: white;
    text-decoration: none;
}

.btn-whatsapp img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Responsive para mensaje sin precios */
@media (max-width: 768px) {
    .mensaje-sin-precios {
        margin: 1.5rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .titulo-mensaje {
        font-size: 1.4rem;
    }
    
    .texto-mensaje {
        font-size: 1rem;
    }
    
    .sugerencias-mensaje {
        padding: 1.2rem;
    }
    
    .lista-sugerencias li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
    
    .acciones-mensaje {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-nueva-busqueda,
    .btn-whatsapp {
        width: 100%;
        padding: 1rem;
    }
    
    .info-detalle {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
}

/* Animación de entrada suave */
.mensaje-sin-precios {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}