/**
 * RIDER TRIP MÉXICO - Reglas Responsivas y Adaptaciones Móviles
 */

/* Dispositivos Móviles y Tablets (< 992px) */
@media (max-width: 991.98px) {
  body.rt-menu-open {
    overflow: hidden !important;
  }

  .site-header {
    padding: 0.75rem 0;
    background-color: #0c0d10 !important;
  }

  .main-wrapper {
    padding-top: 70px;
  }

  /* Menú Móvil en Navbar - Pantalla Completa (Full Screen) */
  .navbar-collapse-rt.collapsing,
  .navbar-collapse-rt.show {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 68px) !important;
    height: calc(100dvh - 68px) !important;
    background-color: #0c0d10 !important;
    padding: 1.25rem 1.5rem 4rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    z-index: 1050 !important;
  }

  .navbar-collapse-rt:not(.show):not(.collapsing) {
    display: none !important;
  }

  .navbar-collapse-rt .navbar-nav {
    width: 100%;
    margin: 0 !important;
  }

  .nav-link-rt {
    padding: 1rem 0.75rem !important;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.88) !important;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .nav-link-rt:hover,
  .nav-link-rt:focus {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.04);
  }

  .nav-link-rt.active::after {
    display: none;
  }

  .nav-link-rt.active {
    background-color: rgba(215, 25, 32, 0.12) !important;
    color: #ff333d !important;
    border-left: 3px solid #d71920;
    padding-left: 1rem !important;
  }

  .nav-link-rt.nav-link-icon-only {
    justify-content: flex-start !important;
    font-size: 1.25rem !important;
  }

  .nav-actions-mobile {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }

  .nav-actions-mobile .btn-rt {
    width: 100%;
    padding: 0.85rem 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    justify-content: center;
    border-radius: 10px;
  }

  /* Ajustes en Hero Móvil (< 992px) */
  .hero-slide-item {
    height: calc(100vh - 68px) !important;
    min-height: 520px !important;
    max-height: 720px !important;
  }

  .hero-slide-item .row {
    height: 100% !important;
    align-items: stretch !important;
  }

  .hero-slide-content {
    padding: clamp(4.5rem, 11vh, 6.5rem) 1.25rem 5.5rem 1.25rem !important;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    width: 100% !important;
  }

  .hero-title {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    font-size: clamp(2.35rem, 8.8vw, 3.25rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
    font-weight: 900 !important;
  }

  .hero-biker-decal {
    height: clamp(48px, 8.5vw, 70px) !important;
  }

  /* Ocultar párrafo explicativo en móvil (visible sólo en desktop) */
  .hero-lead {
    display: none !important;
  }

  /* Mandar botones hacia abajo sin tapar los dots */
  .hero-slide-actions {
    margin-top: auto !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-slide-actions .btn-rt {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    border-radius: 10px;
    margin: 0 !important;
  }

  .hero-carousel-controls-wrapper {
    bottom: 1.25rem !important;
  }

  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* Teléfonos Pequeños (< 576px) */
@media (max-width: 575.98px) {
  .btn-rt {
    width: 100%;
  }

  .hero-slide-actions .btn-rt {
    width: 100%;
  }
}
