/* Fix 1: Padding consistente en nav links en todas las paginas */
.wp-block-navigation.has-background .wp-block-navigation-item a.wp-block-navigation-item__content {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

/* Fix 2: Fondo transparente del nav en desktop */
@media (min-width: 782px) {
  .wp-block-navigation.has-background.has-base-background-color {
    background-color: transparent !important;
  }
  .wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
    background-color: transparent !important;
  }
}

/* Fix 3: Submenu via CSS hover - evita cierre prematuro del JS */
@media (min-width: 782px) {
  .wp-block-navigation .has-child.open-on-hover-click:hover > .wp-block-navigation__submenu-container {
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    min-width: 200px !important;
  }
}

/* Fix 4: Asegurar que el header y su submenu queden por encima del contenido de la pagina */
.wp-block-template-part header,
header.wp-block-template-part {
  position: relative;
  z-index: 100;
}

/* ═══════════════════════════════════════════════════
   AllRide Suite Carousel — variables + estilos
   (compartido con otras landing pages de AllRide)
   ═══════════════════════════════════════════════════ */
:root {
  --ar-celeste: #29A8E0;
  --ar-celeste-dark: #1E8BBD;
  --ar-celeste-light: #E8F6FC;
  --ar-celeste-10: rgba(41,168,224,0.1);
  --ar-celeste-20: rgba(41,168,224,0.2);
  --ar-navy: #20074F;
  --ar-lavender: #B6AEC3;
  --ar-white: #FFFFFF;
  --ar-gray-50: #F8F7FA;
  --ar-gray-200: #E2DEE8;
  --ar-gray-500: #5a4e6e;
  --ar-radius: 16px;
  --ar-shadow: 0 4px 24px rgba(32,7,79,0.08);
  --ar-shadow-lg: 0 12px 40px rgba(32,7,79,0.12);
  --ar-transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ar-suite-section {
  position: relative;
  padding: 80px 0 90px;
  background: var(--ar-gray-50);
  overflow: visible;
}

.ar-suite-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.ar-suite-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--ar-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.ar-suite-title span { color: var(--ar-celeste); }

.ar-suite-subtitle {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 500;
  color: var(--ar-gray-500);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

.ar-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.ar-badge--light {
  color: var(--ar-celeste);
  background: var(--ar-celeste-10);
  border: 1px solid rgba(41,168,224,0.25);
}

.ar-suite-carousel-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.ar-suite-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ar-suite-track::-webkit-scrollbar { display: none; }

.ar-suite-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  min-height: 280px;
  position: relative;
  background: var(--ar-white);
  border-radius: var(--ar-radius);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--ar-shadow);
  transition: transform var(--ar-transition), box-shadow var(--ar-transition);
  text-decoration: none;
  color: inherit;
}

.ar-suite-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ar-celeste);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ar-suite-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ar-shadow-lg);
}

.ar-suite-card:hover::before { opacity: 1; }

.ar-suite-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--ar-celeste-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.ar-suite-card:hover .ar-suite-icon { background: var(--ar-celeste-20); }

.ar-suite-icon svg {
  width: 26px; height: 26px;
  stroke: var(--ar-celeste); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.ar-suite-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ar-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.ar-suite-card-desc {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ar-gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ar-suite-card-cta {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ar-celeste);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.ar-suite-card:hover .ar-suite-card-cta { gap: 10px; color: var(--ar-navy); }

.ar-suite-card-cta svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.ar-suite-card:hover .ar-suite-card-cta svg { transform: translateX(2px); }

.ar-suite-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.ar-suite-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ar-gray-200);
  background: var(--ar-white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.ar-suite-nav-btn:hover {
  background: var(--ar-celeste-10);
  border-color: var(--ar-celeste);
}

.ar-suite-nav-btn svg {
  width: 20px; height: 20px;
  stroke: var(--ar-navy); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.ar-suite-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.ar-suite-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ar-gray-200);
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
  cursor: pointer;
}

.ar-suite-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--ar-celeste);
}

@media (max-width: 768px) {
  .ar-suite-carousel-wrap { padding: 0 20px; }
  .ar-suite-card { flex: 0 0 calc(100% - 32px); }
}

/* Fix: ocultar  espurios que wpautop inyecta dentro del carousel track */
.ar-suite-track > p { display: none !important; }