/* --- FIXES MOBILE 2025-07-03 --- */
@media (max-width: 700px) {
  body .main-header {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 1000 !important;
  }
  /* Mejora del slider: mayor altura y mejor visualización */
  body .hero {
    margin-top: 56px !important; /* Espacio para el header fijo */
    min-height: 480px !important; /* Aumentamos la altura del slider */
    height: 100vh !important; /* Altura completa de la pantalla */
    max-height: 600px !important; /* Altura máxima para pantallas muy altas */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    overflow: hidden !important;
    position: relative !important;
    padding-top: 20px !important; /* Añadimos padding superior adicional */
  }
  body .hero-content {
    padding: 1.5rem 1rem 2rem 1rem !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background-color: rgba(0, 0, 0, 0.4) !important; /* Fondo semi-transparente para mejor legibilidad */
    border-radius: 8px !important;
    margin: 20px auto 0 auto !important; /* Aumentamos el margen superior */
    max-width: 90% !important;
  }
  
  /* Ajustes específicos para las landings de Avalian, ACA y La Segunda */
  body[class*="index_avalian"] .hero-content,
  body[class*="index_aca"] .hero-content,
  body[class*="index_l2"] .hero-content {
    margin-top: 40px !important; /* Margen superior mayor para estas landings */
    padding-top: 1rem !important;
    padding-bottom: 1.2rem !important;
  }
  
  /* Reducir tamaño de texto en landings específicas */
  body[class*="index_avalian"] .hero-content h1,
  body[class*="index_aca"] .hero-content h1,
  body[class*="index_l2"] .hero-content h1 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }
  
  body[class*="index_avalian"] .hero-content p,
  body[class*="index_aca"] .hero-content p,
  body[class*="index_l2"] .hero-content p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.8rem !important;
  }
  
  /* Ajustar tamaño de logos en títulos */
  body[class*="index_avalian"] .hero-content h1 img,
  body[class*="index_aca"] .hero-content h1 img,
  body[class*="index_l2"] .hero-content h1 img {
    max-width: 140px !important;
    height: auto !important;
    margin: 0.5rem 0 !important;
  }
  
  /* Reducir tamaño del botón en landings específicas */
  body[class*="index_avalian"] .hero-content .cta-button,
  body[class*="index_aca"] .hero-content .cta-button,
  body[class*="index_l2"] .hero-content .cta-button {
    font-size: 1rem !important;
    padding: 0.8em 0.6em !important;
    margin-top: 0.8rem !important;
  }
  
  /* Ajustes para el texto del slider en móviles */
  body .hero-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.8rem !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
  }
  
  body .hero-content p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
  }
  
  /* Ajustes para las imágenes de logos en el slider */
  body .hero-content h1 img {
    max-width: 120px !important;
    height: auto !important;
    margin: 0.5rem 0 !important;
  }
  
  /* Mejora del video de fondo */
  body .hero-bg, body .hero video {
    width: 100% !important;
    height: 100% !important;
    min-height: 480px !important; /* Altura mínima del video */
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    z-index: 1 !important;
    display: block !important;
  }
  
  /* Mejora del botón CTA */
  body .cta-button, body .slider .cta-button, body button.cta-button, body .slider button {
    width: 90% !important;
    font-size: 1.15rem !important;
    padding: 1em 0.8em !important;
    margin: 1.2em auto 0 auto !important;
    box-sizing: border-box !important;
    border-radius: 30px !important;
    display: block !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
  }
  
  body .cta-button:hover, body .slider .cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Ajustes para las tarjetas de cruceros */
  body .cruise-details-grid {
    max-width: 100vw !important;
    width: 100% !important;
    padding: 0 0.5em !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    gap: 0 !important; /* Eliminamos el espacio entre elementos */
    overflow-x: hidden !important;
  }
  
  /* Reducción de márgenes en las tarjetas */
  body .cruise-card-section {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.5em 0.5em !important; /* Reducimos el padding */
    margin: 0 !important; /* Eliminamos todos los márgenes */
    overflow-x: hidden !important;
  }
  
  /* Ajustes para las tarjetas de beneficios */
  body .benefits {
    padding: 0.5rem 0.5rem !important;
    gap: 0.2rem !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
  }
  
  body .benefit-card {
    padding: 0.5rem !important;
    margin-bottom: 0.3rem !important;
    min-height: 0 !important; /* Eliminamos altura mínima */
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-height: none !important;
  }
  
  body .benefit-card h3 {
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
    font-size: 1rem !important;
  }
  
  body .benefit-card p {
    margin-bottom: 0.2rem !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
  
  body .benefit-card i {
    margin-bottom: 0.2rem !important;
    font-size: 1.4rem !important;
  }
  
  /* Ajustes para las tarjetas de cruceros */
  body .cruise-card {
    margin-bottom: 0.5rem !important;
    padding: 0.5rem !important;
  }
  
  body .cruise-card h3 {
    margin-top: 0.3rem !important;
    margin-bottom: 0.4rem !important;
    font-size: 1.1rem !important;
  }
  
  body .cruise-img-container {
    height: auto !important;
    margin-bottom: 0.5rem !important;
    max-height: 150px !important;
    overflow: hidden !important;
  }
  
  /* Ajustes para el contenido dentro de las tarjetas de cruceros */
  body .cruise-card-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0.3rem !important;
    margin-bottom: 0.3rem !important;
  }
  
  /* Reducir alto de cruise-dates */
  body .cruise-dates {
    padding: 0.3rem !important;
    min-height: 0 !important;
    max-height: 70px !important; /* Limitamos la altura máxima */
    overflow: hidden !important;
  }
  
  body .cruise-dates p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
  
  body .cruise-dates h4 {
    margin-top: 0 !important;
    margin-bottom: 0.1rem !important;
    padding: 0 !important;
  }
  
  /* Reducir alto de cruise-cabin */
  body .cruise-cabin {
    padding: 0.3rem !important;
  }
  
  body .cruise-cabin p {
    margin: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
  
  /* Ajuste para la sección de beneficios */
  body .cruise-benefits {
    padding: 0.3rem !important;
  }
  
  body .cruise-benefits .benefits-list {
    margin: 0 !important;
    padding-left: 1rem !important;
  }
  
  body .cruise-benefits .benefits-list li {
    margin-bottom: 0.1rem !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
  
  body .cruise-benefits .benefits-motivation {
    font-size: 0.8rem !important;
    margin-top: 0.2rem !important;
  }
  
  body .cruise-card-section h4 {
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
    font-size: 0.9rem !important;
  }
  
  /* Eliminar espacio en blanco adicional */
  body .cruise-card-section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  body .cruise-card > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  body .cruise-card-section p, 
  body .cruise-card-section li {
    margin-bottom: 0.2rem !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
  
  /* Arreglo para la sección de itinerario */
  body .itinerary-list {
    margin: 0 !important;
    padding-left: 0.5rem !important;
  }
  
  body .itinerary-list li {
    padding: 0.1rem 0 !important;
    margin-bottom: 0.1rem !important;
    display: flex !important;
    align-items: center !important;
  }
  
  body .itinerary-list .itinerary-icon {
    margin-right: 0.2rem !important;
    font-size: 0.8rem !important;
  }
  
  body .itinerary-list .itinerary-label {
    font-size: 0.8rem !important;
    line-height: 1.1 !important;
  }
  
  body .cruise-itinerary {
    padding: 0.3rem !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  /* Ajuste para los iconos de sección */
  body .section-icon {
    margin-bottom: 0.1rem !important;
  }
  
  body .section-icon i {
    font-size: 0.9rem !important;
  }
  
  /* Ajustes para las tablas de precios */
  body .msc-precios-table {
    margin: 0.2rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    overflow-x: visible !important;
    border-collapse: collapse !important;
  }
  
  body .msc-precios-table th,
  body .msc-precios-table td {
    padding: 0.2rem !important;
    font-size: 0.8rem !important;
    word-break: break-word !important;
  }
  
  body .tab-content {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    padding: 0.2rem !important;
  }
  
  body .tab-content h5 {
    margin: 0.2rem 0 !important;
    font-size: 0.9rem !important;
  }
  
  body .msc-btns {
    margin-top: 0.4rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  body .msc-btns .btn {
    margin: 0.2rem 0 !important;
    width: 90% !important;
    padding: 0.3rem !important;
    font-size: 0.85rem !important;
  }
  
  /* Ajustes para los tabs */
  body .tabs {
    margin-bottom: 0.2rem !important;
  }
  
  body .tab-btn {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.8rem !important;
    margin-right: 0.2rem !important;
    margin-bottom: 0.2rem !important;
  }
}
