/* RentacarIQ V13 · Cambios HOME independientes del calendario y la API.
   Debe cargarse DESPUÉS de ux-home-v5.css. */

/* Dos enlaces bajo el buscador: siempre fuera del form para no enviar reservas. */
body .hero > .riq-home-quick-links {
  position: relative;
  z-index: 3;
  align-self: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: min(1180px, calc(100% - 56px));
  margin: 14px auto 0;
  padding: 0;
  box-sizing: border-box;
}
body .hero > .riq-home-quick-links .riq-home-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  min-width: 225px;
  padding: 12px 19px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 13px;
  background: rgba(22,22,22,.8);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font: 700 .94rem 'Outfit',sans-serif;
  line-height: 1.3;
  box-shadow: 0 7px 18px rgba(0,0,0,.12);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
body .hero > .riq-home-quick-links .riq-home-quick-link > i:first-child {
  color: #ff4a51;
  font-size: 1.08rem;
}
body .hero > .riq-home-quick-links .riq-home-quick-arrow {
  font-size: .78rem;
  opacity: .8;
}
body .hero > .riq-home-quick-links .riq-home-quick-link:hover,
body .hero > .riq-home-quick-links .riq-home-quick-link:focus-visible {
  background: #e92123;
  border-color: #e92123;
  transform: translateY(-2px);
}
body .hero > .riq-home-quick-links .riq-home-quick-link:hover > i:first-child,
body .hero > .riq-home-quick-links .riq-home-quick-link:focus-visible > i:first-child {
  color: #fff;
}
body .hero > .riq-home-quick-links .riq-home-quick-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Título largo: sin cajón de ancho fijo, con altura adaptable. */
body .riq-home-flota-proceso .seccion-flota .flota-titulo {
  display: block;
  width: 100%;
  max-width: 1020px;
  padding: 0;
  margin: 0 auto 25px;
  border: 0;
  background: transparent;
  color: #1b1b1b;
  font: 800 clamp(1.85rem, 3.5vw, 3.2rem)/1.12 'Outfit',sans-serif;
  letter-spacing: -.028em;
  text-align: center;
  text-wrap: balance;
}

/* Tres pasos claros colocados antes de las tarjetas de vehículos. */
body .riq-home-flota-proceso .seccion-flota .riq-home-quick-steps {
  list-style: none;
  counter-reset: none;
  width: min(1100px,100%);
  margin: 0 auto 34px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
body .riq-home-flota-proceso .seccion-flota .riq-home-quick-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 94px;
  padding: 16px 17px;
  border: 1px solid #e1e5e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(14,27,47,.035);
  box-sizing: border-box;
}
body .riq-home-flota-proceso .seccion-flota .riq-home-step-number {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: #fff0f0;
  color: #d30b1b;
  font: 800 .99rem 'Outfit',sans-serif;
  font-variant-numeric: tabular-nums;
}
body .riq-home-flota-proceso .seccion-flota .riq-home-step-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}
body .riq-home-flota-proceso .seccion-flota .riq-home-step-copy strong {
  color: #1b1b1b;
  font: 800 .94rem/1.25 'Outfit',sans-serif;
}
body .riq-home-flota-proceso .seccion-flota .riq-home-step-copy small {
  color: #606670;
  font: 400 .79rem/1.4 'DM Sans',sans-serif;
}

@media (max-width: 900px) {
  body .riq-home-flota-proceso .seccion-flota .riq-home-quick-steps {
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: 650px;
    margin-bottom: 26px;
  }
  body .riq-home-flota-proceso .seccion-flota .riq-home-quick-steps li {
    min-height: 74px;
    padding: 12px 14px;
  }
}
@media (max-width: 520px) {
  body .hero > .riq-home-quick-links {
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 9px;
    margin-top: 11px;
  }
  body .hero > .riq-home-quick-links .riq-home-quick-link {
    min-width: 0;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    font-size: .87rem;
  }
  body .riq-home-flota-proceso .seccion-flota .flota-titulo {
    font-size: clamp(1.65rem, 7.4vw, 2.3rem);
    margin-bottom: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .hero > .riq-home-quick-links .riq-home-quick-link { transition: none; }
}
