/* ============================================
   HOMEPAGE PREMIUM REDESIGN - UI/UX MEJORADO
   Estilo: Airbnb Experiences + Stripe
   Principios: Emoción, Aire, Elegancia, Curado
   ============================================ */

/* IMPORTANTE: Estos estilos sobrescriben main.css con !important
   para asegurar que el diseño premium se aplique correctamente */

/* Reset de estilos que pueden causar problemas de espaciado */
.tours-grid-premium * {
  box-sizing: border-box;
}

.tours-grid-premium .tour-card * {
  letter-spacing: normal;
}

/* ============================================
   MEJORAS DE JERARQUÍA VISUAL Y ESPACIADO
   ============================================ */

/* Mejora en la navegación - más premium */
.nav {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

/* Mejora en el brand/logo */
.brand {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand:hover {
  transform: scale(1.05);
}

.brand-text {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Asegurar que el wrap tenga padding adecuado en mobile */
@media (max-width: 768px) {
  .main-premium.wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero-content-premium.wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .main-premium.wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .hero-content-premium.wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ============================================
   HERO SECTION - Rediseño Premium
   ============================================ */

.hero-premium {
  min-height: 90vh;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Imagen de fondo del hero - se puede sobrescribir desde JS */
  background-image: 
    /* Gradientes superpuestos para dar profundidad (encima de la imagen) */
    radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, rgba(11, 18, 32, 0.5) 0%, rgba(6, 182, 212, 0.3) 100%),
    /* Imagen de fondo (última capa, se muestra debajo) */
    url('/images/Hero Image 19369.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.4) 0%, rgba(6, 182, 212, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content-premium {
  text-align: center;
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 10 !important; /* Asegurar que el contenido esté encima de todo */
}

/* Hero Text Wrapper - Mejor jerarquía */
.hero-text-wrapper {
  margin-bottom: 72px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title-premium {
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 900;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 32px 0 !important;
  color: #0a0e27;
  background: none;
  -webkit-text-fill-color: #0a0e27;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  text-shadow: 0 2px 40px rgba(14, 165, 233, 0.08);
}

.hero-subtitle-premium {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.8 !important;
  color: #475569;
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: 0 !important;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  opacity: 0.95;
  padding: 0 20px;
}

/* Hero Search - Protagonista y elegante - MEJORADO */
.hero-search-premium {
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  gap: 0;
  background: #ffffff;
  border-radius: 28px;
  padding: 6px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

/* Mejora en el estado hover del search container */
.hero-search-premium:hover {
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.15);
}

.hero-search-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.hero-search-premium:hover::before {
  left: 100%;
}

.hero-search-premium:focus-within {
  box-shadow: 
    0 12px 48px rgba(14, 165, 233, 0.18),
    0 6px 24px rgba(14, 165, 233, 0.12),
    0 0 0 1px rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.25);
  transform: translateY(-3px) scale(1.01);
  background: #ffffff;
}

.search-wrapper-premium {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  position: relative;
  min-height: 56px;
}

.search-icon-premium {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.hero-search-premium:focus-within .search-icon-premium {
  color: #0ea5e9;
}

.search-input-premium {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1875rem;
  padding: 20px 0 !important;
  color: #0a0e27;
  font-weight: 400;
  min-width: 0;
  box-shadow: none;
  transform: none;
  letter-spacing: 0 !important;
  line-height: 1.6 !important;
}

.search-input-premium:focus {
  outline: none;
  border: none;
  box-shadow: none;
  transform: none;
}

.search-input-premium::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.btn-search-premium {
  padding: 18px 40px;
  font-size: 1.1875rem;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 
    0 4px 16px rgba(14, 165, 233, 0.25),
    0 2px 8px rgba(14, 165, 233, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-search-premium::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn-search-premium:hover::before {
  width: 300px;
  height: 300px;
}

.btn-search-premium:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 24px rgba(14, 165, 233, 0.35),
    0 4px 12px rgba(14, 165, 233, 0.25);
}

/* Hero Filters Wrapper */
.hero-filters-wrapper {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-filter-toggle:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.2);
  color: #0ea5e9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-filter-toggle svg {
  transition: transform 0.2s ease;
}

.btn-filter-toggle:hover svg {
  transform: rotate(90deg);
}

/* Advanced Filters Panel - Premium - MEJORADO */
.advanced-filters-premium {
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.1),
    0 6px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo sutil en el panel de filtros */
.advanced-filters-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
  transition: left 0.6s ease;
}

.advanced-filters-premium:hover::before {
  left: 100%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.advanced-filters-premium .filters-grid {
  gap: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.advanced-filters-premium .filter-group {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.advanced-filters-premium .filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.advanced-filters-premium .filter-group:focus-within .filter-label {
  color: #0ea5e9;
}

.advanced-filters-premium .filter-input {
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  color: #1e293b;
  font-family: inherit;
}

.advanced-filters-premium .filter-input:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.advanced-filters-premium .filter-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 
    0 0 0 4px rgba(14, 165, 233, 0.12),
    0 4px 12px rgba(14, 165, 233, 0.15);
  transform: translateY(-1px);
  background: #ffffff;
}

.filters-actions-premium {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  justify-content: center;
  flex-wrap: wrap;
}

.filters-actions-premium .btn-primary,
.filters-actions-premium .btn-secondary {
  padding: 14px 28px;
  font-size: 0.9375rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.filters-actions-premium .btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.filters-actions-premium .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.filters-actions-premium .btn-primary:active {
  transform: translateY(0);
}

.filters-actions-premium .btn-secondary {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #475569;
}

.filters-actions-premium .btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.05);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

/* ============================================
   MAIN SECTION - Más aire y respiración
   ============================================ */

.main-premium {
  padding: 100px 0 140px;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
}

.section-header-premium {
  margin-bottom: 80px;
  text-align: center;
  position: relative;
}

.section-title-premium {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  color: #0a0e27;
  margin: 0 0 24px 0 !important;
  position: relative;
  display: inline-block;
}

.section-title-premium::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4, #6366f1);
  border-radius: 2px;
  opacity: 0.8;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
  transition: width 0.3s ease, opacity 0.3s ease;
}

.section-header-premium:hover .section-title-premium::after {
  width: 100px;
  opacity: 1;
}

.section-subtitle-premium {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  color: #64748b;
  font-weight: 400;
  line-height: 1.75 !important;
  max-width: 640px;
  margin: 36px auto 0 !important;
  letter-spacing: 0 !important;
  opacity: 0.9;
  padding: 0 20px;
}

/* ============================================
   TOURS GRID - Cards Premium con más aire
   ============================================ */

.tours-grid-premium {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
  gap: 48px !important;
  margin-top: 0;
  display: grid !important;
}

@media (max-width: 768px) {
  .tours-grid-premium {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Tour Card Premium - Rediseño completo - MEJORADO */
.tours-grid-premium .tour-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 0 0 1px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%) !important;
  isolation: isolate;
  margin: 0 !important;
  cursor: pointer;
}

/* Efecto de brillo mejorado en hover */
.tours-grid-premium .tour-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.08), transparent);
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.tours-grid-premium .tour-card:hover::after {
  left: 100%;
}

.tours-grid-premium .tour-card::before {
  display: none;
}

.tours-grid-premium .tour-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 
    0 24px 72px rgba(0, 0, 0, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.3);
}

/* Mejora en el estado activo/focus */
.tours-grid-premium .tour-card:focus-within {
  outline: 2px solid #0ea5e9;
  outline-offset: 4px;
  border-radius: 24px;
}

.tours-grid-premium .tour-card-image {
  height: 300px !important;
  border-radius: 0 !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe 0%, #ddd6fe 100%);
  width: 100% !important;
  object-fit: cover !important;
}

.tours-grid-premium .tour-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tours-grid-premium .tour-card:hover .tour-card-image {
  transform: scale(1.1);
}

.tours-grid-premium .tour-card:hover .tour-card-image::after {
  opacity: 1;
}

.tours-grid-premium .tour-card-content {
  padding: 36px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px !important;
  background: #ffffff;
}

.tours-grid-premium .tour-card-title {
  font-size: 1.75rem !important;
  font-weight: 800;
  line-height: 1.4 !important;
  margin: 0 0 12px 0 !important;
  color: #0a0e27;
  letter-spacing: -0.01em !important;
}

.tours-grid-premium .tour-card-description {
  font-size: 1.0625rem !important;
  line-height: 1.85 !important;
  color: #64748b;
  margin: 0 0 16px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  letter-spacing: 0.01em !important;
  word-spacing: 0.05em;
}

.tours-grid-premium .tour-card-footer {
  margin-top: 28px !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px !important;
  position: relative;
}

/* Separador visual mejorado */
.tours-grid-premium .tour-card-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tours-grid-premium .tour-card:hover .tour-card-footer::before {
  opacity: 1;
}

.tours-grid-premium .tour-card-price {
  font-size: 2.125rem !important;
  font-weight: 900;
  color: #0a0e27;
  letter-spacing: -0.01em !important;
  background: none;
  -webkit-text-fill-color: #0a0e27;
  line-height: 1.2 !important;
}

.tours-grid-premium .tour-card-info {
  font-size: 0.9375rem !important;
  color: #94a3b8;
  gap: 20px !important;
  font-weight: 500;
  line-height: 1.6 !important;
  letter-spacing: 0.01em !important;
}

.tours-grid-premium .tour-card-badge {
  top: 20px;
  right: 20px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 
    0 4px 12px rgba(16, 185, 129, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.1);
  animation: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.tours-grid-premium .tour-card-badge:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 
    0 6px 16px rgba(16, 185, 129, 0.35),
    0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESPONSIVE - Mobile First
   ============================================ */

@media (max-width: 1024px) {
  .tours-grid-premium {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .hero-premium {
    min-height: 75vh;
    padding: 100px 0 60px !important;
    /* Asegurar que la imagen se muestre en mobile */
    background-image: 
      radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
      linear-gradient(135deg, rgba(11, 18, 32, 0.5) 0%, rgba(6, 182, 212, 0.3) 100%),
      url('/images/Hero Image 19369.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-text-wrapper {
    margin-bottom: 48px !important;
    padding: 0 16px;
  }

  .hero-title-premium {
    margin-bottom: 24px !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle-premium {
    padding: 0 16px;
    line-height: 1.75 !important;
  }

  .hero-search-premium {
    flex-direction: column;
    padding: 8px !important;
    border-radius: 20px;
    max-width: 100%;
    margin: 0 16px 32px !important;
  }

  .search-wrapper-premium {
    padding: 0 20px !important;
    min-height: 56px !important;
  }

  .search-input-premium {
    font-size: 1.125rem !important;
    padding: 18px 0 !important;
    line-height: 1.6 !important;
  }

  .btn-search-premium {
    width: 100%;
    padding: 18px 32px !important;
    border-radius: 16px;
    font-size: 1.125rem !important;
  }

  .main-premium {
    padding: 60px 0 80px !important;
  }

  .section-header-premium {
    margin-bottom: 56px !important;
    padding: 0 16px;
  }

  .section-title-premium {
    line-height: 1.35 !important;
    margin-bottom: 20px !important;
  }

  .section-title-premium::after {
    width: 48px;
    height: 3px;
    bottom: -10px;
  }

  .section-subtitle-premium {
    padding: 0 16px;
    margin-top: 24px !important;
    line-height: 1.7 !important;
  }

  .tours-grid-premium {
    gap: 36px !important;
    grid-template-columns: 1fr !important;
    padding: 0 16px;
  }

  .tours-grid-premium .tour-card-content {
    padding: 32px 28px !important;
    gap: 18px !important;
  }

  .tours-grid-premium .tour-card-title {
    font-size: 1.625rem !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
  }

  .tours-grid-premium .tour-card-description {
    font-size: 1.0625rem !important;
    line-height: 1.8 !important;
    margin-bottom: 18px !important;
  }

  .tours-grid-premium .tour-card-footer {
    margin-top: 24px !important;
    padding-top: 24px !important;
    gap: 20px !important;
  }

  .advanced-filters-premium {
    padding: 24px !important;
    border-radius: 20px;
    margin: 24px 16px 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-premium {
    min-height: 70vh;
    padding: 80px 0 50px !important;
    /* Asegurar que la imagen se muestre en mobile pequeño */
    background-image: 
      radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
      linear-gradient(135deg, rgba(11, 18, 32, 0.5) 0%, rgba(6, 182, 212, 0.3) 100%),
      url('/images/Hero Image 19369.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-text-wrapper {
    margin-bottom: 40px !important;
    padding: 0 12px;
  }

  .hero-title-premium {
    font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }

  .hero-subtitle-premium {
    font-size: clamp(1.125rem, 4vw, 1.375rem) !important;
    padding: 0 12px;
    line-height: 1.7 !important;
  }

  .hero-search-premium {
    margin: 0 12px 28px !important;
    padding: 6px !important;
  }

  .search-wrapper-premium {
    padding: 0 16px !important;
    min-height: 52px !important;
  }

  .search-input-premium {
    font-size: 1.0625rem !important;
    padding: 16px 0 !important;
  }

  .btn-search-premium {
    padding: 16px 28px !important;
    font-size: 1.0625rem !important;
  }

  .main-premium {
    padding: 50px 0 60px !important;
  }

  .section-header-premium {
    margin-bottom: 48px !important;
    padding: 0 12px;
  }

  .section-title-premium {
    font-size: clamp(1.875rem, 8vw, 2.5rem) !important;
    line-height: 1.35 !important;
  }

  .section-subtitle-premium {
    padding: 0 12px;
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
  }

  .tours-grid-premium {
    gap: 32px !important;
    padding: 0 12px;
  }

  .tours-grid-premium .tour-card-image {
    height: 280px !important;
  }

  .tours-grid-premium .tour-card-content {
    padding: 28px 24px !important;
    gap: 16px !important;
  }

  .tours-grid-premium .tour-card-title {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }

  .tours-grid-premium .tour-card-description {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    margin-bottom: 16px !important;
  }

  .tours-grid-premium .tour-card-footer {
    margin-top: 20px !important;
    padding-top: 20px !important;
    gap: 16px !important;
    flex-wrap: wrap;
  }

  .tours-grid-premium .tour-card-price {
    font-size: 1.875rem !important;
  }
}

/* ============================================
   ANIMACIONES
   ============================================ */

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

/* Micro-animación sutil para cards al aparecer */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tours-grid-premium .tour-card {
  animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.tours-grid-premium .tour-card:nth-child(1) { animation-delay: 0.1s; }
.tours-grid-premium .tour-card:nth-child(2) { animation-delay: 0.15s; }
.tours-grid-premium .tour-card:nth-child(3) { animation-delay: 0.2s; }
.tours-grid-premium .tour-card:nth-child(4) { animation-delay: 0.25s; }
.tours-grid-premium .tour-card:nth-child(5) { animation-delay: 0.3s; }
.tours-grid-premium .tour-card:nth-child(6) { animation-delay: 0.35s; }
.tours-grid-premium .tour-card:nth-child(n+7) { animation-delay: 0.4s; }

/* ============================================
   MEJORAS DE ACCESIBILIDAD Y PERFORMANCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .hero-premium,
  .hero-text-wrapper,
  .hero-title-premium,
  .hero-subtitle-premium,
  .hero-search-premium,
  .hero-filters-wrapper,
  .tours-grid-premium .tour-card {
    animation: none;
    transition: none;
  }

  .tours-grid-premium .tour-card:hover {
    transform: none;
  }

  .tours-grid-premium .tour-card:hover .tour-card-image {
    transform: none;
  }
}

/* Focus states mejorados para accesibilidad */
.search-input-premium:focus-visible,
.btn-search-premium:focus-visible,
.btn-filter-toggle:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* ============================================
   REFINAMIENTOS PREMIUM ADICIONALES
   ============================================ */

/* Efecto de brillo sutil en hero */
.hero-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

/* Mejora en el botón de filtros - MEJORADO */
.btn-filter-toggle {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-filter-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn-filter-toggle:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.3);
  color: #0ea5e9;
  box-shadow: 
    0 4px 12px rgba(14, 165, 233, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-filter-toggle:hover::before {
  width: 200px;
  height: 200px;
}

.btn-filter-toggle:active {
  transform: translateY(-1px) scale(0.98);
}

/* Mejora en el placeholder del buscador */
.search-input-premium::placeholder {
  transition: opacity 0.3s ease;
}

.search-input-premium:focus::placeholder {
  opacity: 0.5;
}

/* Efecto de profundidad en cards al cargar */
.tours-grid-premium {
  perspective: 1000px;
}

/* Mejora en el badge de disponibilidad */
.tours-grid-premium .tour-card-badge {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Separador visual sutil entre hero y main - MEJORADO */
.main-premium {
  position: relative;
}

.main-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(14, 165, 233, 0.2) 20%, 
    rgba(99, 102, 241, 0.2) 50%, 
    rgba(14, 165, 233, 0.2) 80%, 
    transparent 100%);
  opacity: 0.6;
}

/* Mejora en estados de carga y error */
.loading,
.error-state,
.empty-state {
  padding: var(--space-3xl) var(--space-md);
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.error-state {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  color: #dc2626;
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.empty-state {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.05) 0%, rgba(148, 163, 184, 0.02) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  color: #64748b;
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}
