/* ═══════════════════════════════════════════════════════════
   ReadyBOX · Libro de marca V3.2 (octubre 2026)
   Azul Ready #01204C · Naranja ReadyBOX #FC7111
   Tipografía: Helvetica Neue (Bold títulos, Regular textos)
   ═══════════════════════════════════════════════════════════ */
:root {
  --rb-blue: #01204C;
  --rb-orange: #FC7111;
  --rb-white: #FFFFFF;
  --rb-black: #000000;
  --rb-gray: #4B5563;
  /* texto secundario */
  --rb-gray-lt: #F4F6F8;
  /* superficies */
  --rb-line: #D9DEE5;

  --bs-body-font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --bs-body-color: var(--rb-blue);
  --bs-body-bg: var(--rb-white);
  --bs-link-color: var(--rb-blue);
  --bs-link-hover-color: var(--rb-blue);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--bs-body-font-family);
  font-weight: 400;
  color: var(--rb-blue);
  background: var(--rb-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.rb-bold {
  font-family: var(--bs-body-font-family);
  font-weight: 700;
  color: var(--rb-blue);
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 0.9rem;
}

a {
  color: var(--rb-blue);
}

:focus-visible {
  outline: 3px solid var(--rb-blue);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.rb-dark :focus-visible {
  outline-color: var(--rb-white);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--rb-blue);
  color: #fff;
  padding: 8px 14px;
  z-index: 2000;
}

.skip-link:focus {
  left: 8px;
  color: #fff;
}

/* ── Logo (trazados del maestro V3.2; no es texto editable) ── */
.rb-logo {
  display: block;
  aspect-ratio: 4.697 / 1;
  --rb-logo-ready: var(--rb-blue);
  --rb-logo-box: var(--rb-orange);
}

.rb-logo .ready {
  fill: var(--rb-logo-ready);
}

.rb-logo .box {
  fill: var(--rb-logo-box);
}

.rb-logo--white,
footer img.rb-logo {
  --rb-logo-ready: #fff;
  --rb-logo-box: #fff;
  filter: brightness(0) invert(1);
}

/* ── Recursos gráficos: guion naranja + líneas rectas ── */
.eyebrow {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rb-blue);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  background: var(--rb-orange);
  margin-bottom: 0.7rem;
}

.rb-dark .eyebrow {
  color: #fff;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--rb-gray);
  font-size: 1.05rem;
  max-width: 62ch;
}

section {
  padding: 88px 0;
}

.bg-soft {
  background: var(--rb-gray-lt);
}

.rb-dark {
  background: var(--rb-blue);
  color: #fff;
}

.rb-dark h2,
.rb-dark h3,
.rb-dark h4,
.rb-dark h5 {
  color: #fff;
}

.rb-dark .section-sub,
.rb-dark p {
  color: rgba(255, 255, 255, 0.86);
}

/* ── Botones: naranja = acción (texto azul para contraste) ── */
.btn-rb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--rb-orange);
  color: var(--rb-blue);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border: 2px solid var(--rb-orange);
  border-radius: 2px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

.btn-rb:hover {
  background: var(--rb-blue);
  border-color: var(--rb-blue);
  color: #fff;
}

.rb-dark .btn-rb:hover {
  background: #fff;
  border-color: #fff;
  color: var(--rb-blue);
}

.btn-rb-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  color: var(--rb-blue);
  font-weight: 700;
  padding: 14px 26px;
  border: 2px solid var(--rb-blue);
  border-radius: 2px;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.btn-rb-outline:hover {
  background: var(--rb-blue);
  color: #fff;
}

.rb-dark .btn-rb-outline {
  color: #fff;
  border-color: #fff;
}

.rb-dark .btn-rb-outline:hover {
  background: #fff;
  color: var(--rb-blue);
}

/* ── Navbar ── */
.navbar-rb {
  background: #fff;
  border-bottom: 1px solid var(--rb-line);
  padding: 14px 0;
}

.navbar-rb .navbar-brand {
  padding: 0;
}

.navbar-rb .rb-logo {
  height: 44px;
}

.navbar-rb .nav-link {
  color: var(--rb-blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
}

.navbar-rb .nav-link:hover {
  box-shadow: inset 0 -3px 0 var(--rb-orange);
}

.navbar-rb .navbar-toggler {
  border: 2px solid var(--rb-blue);
  border-radius: 2px;
}

.btn-wa-nav {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--rb-orange);
  color: var(--rb-blue);
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 2px;
  text-decoration: none;
}

.btn-wa-nav:hover {
  background: var(--rb-blue);
  color: #fff;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 72px;
  background: #fff;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--rb-gray);
  max-width: 54ch;
  margin-bottom: 1.8rem;
}

.hero-panel {
  background: var(--rb-gray-lt);
  border-left: 6px solid var(--rb-orange);
  padding: 24px 24px 20px;
}

.hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-panel h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.12rem;
  margin: 0;
}

.hero-panel h2 i {
  color: var(--rb-orange);
  font-size: 1.2rem;
}

.hero-dest {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rb-blue);
  background: rgba(1, 32, 76, 0.06);
  padding: 4px 10px;
  border-radius: 2px;
}

.flag-svg {
  display: block;
  width: 34px;
  height: 23px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(1, 32, 76, 0.16);
  border: 1px solid rgba(1, 32, 76, 0.12);
  flex-shrink: 0;
}

.flag-svg--sm {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-left: 3px solid var(--rb-blue);
  border-radius: 2px;
  transition: transform .2s ease, box-shadow .2s ease, border-left-color .2s ease;
}

.route:hover {
  transform: translateX(4px);
  border-left-color: var(--rb-orange);
  box-shadow: 0 6px 16px rgba(1, 32, 76, 0.08);
}

.route-origin {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.route-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.route-info strong {
  font-size: 0.98rem;
  color: var(--rb-blue);
}

.route-info small {
  font-size: 0.8rem;
  color: var(--rb-gray);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.route-info small i {
  color: var(--rb-orange);
  font-size: 0.78rem;
}

.route-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.route-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.route-badge--air {
  background: var(--rb-blue);
  color: #fff;
}

.route-badge--air i {
  color: var(--rb-orange);
}

.route-badge--sea {
  background: rgba(1, 32, 76, 0.08);
  color: var(--rb-blue);
  border: 1px solid rgba(1, 32, 76, 0.2);
}

.route-badge--sea i {
  color: var(--rb-blue);
}

.hero-note {
  font-size: .82rem;
  color: var(--rb-gray);
  margin: 0.6rem 0 0;
}

/* ── Eslogan independiente (Helvetica Neue Regular) ── */
.slogan-band {
  background: var(--rb-blue);
  padding: 34px 0;
  text-align: center;
}

.slogan {
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ── Rastreo / consulta ── */
.tracker-strip {
  background: var(--rb-gray-lt);
  padding: 28px 0;
  border-bottom: 1px solid var(--rb-line);
}

.tracker-strip h2 {
  font-size: 1.15rem;
  margin: 0;
}

.tracker-strip .form-control {
  height: 50px;
  border: 2px solid var(--rb-blue);
  border-radius: 2px 0 0 2px;
  color: var(--rb-blue);
}

.tracker-strip .form-control:focus {
  box-shadow: none;
  border-color: var(--rb-blue);
  outline: 3px solid var(--rb-orange);
  outline-offset: 0;
}

.btn-track {
  background: var(--rb-blue);
  color: #fff;
  font-weight: 700;
  border: 2px solid var(--rb-blue);
  padding: 0 24px;
  border-radius: 0 2px 2px 0;
}

.btn-track:hover {
  background: var(--rb-orange);
  border-color: var(--rb-orange);
  color: var(--rb-blue);
}

/* ── Tarjetas ── */
.rb-card {
  background: #fff;
  border: 1px solid var(--rb-line);
  border-top: 4px solid var(--rb-blue);
  padding: 26px 24px;
  height: 100%;
}

.rb-card .rb-icon {
  font-size: 1.7rem;
  color: var(--rb-blue);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.rb-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.rb-card p {
  color: var(--rb-gray);
  font-size: .95rem;
  margin: 0;
}

.stat {
  border-left: 4px solid var(--rb-orange);
  padding-left: 16px;
  margin-bottom: 20px;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.stat span {
  color: var(--rb-gray);
  font-size: .95rem;
}

/* ── Pasos ── */
.step {
  position: relative;
  padding: 26px 22px 24px;
  background: #fff;
  border: 1px solid var(--rb-line);
  height: 100%;
}

.step-num {
  display: inline-block;
  font-weight: 700;
  font-size: .9rem;
  background: var(--rb-blue);
  color: #fff;
  padding: 3px 12px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.step p {
  color: var(--rb-gray);
  font-size: .94rem;
  margin: 0;
}

/* ── Compra Asistida (destacado) ── */
.highlight {
  background: var(--rb-blue);
  color: #fff;
  padding: 40px;
  border-left: 8px solid var(--rb-orange);
}

.highlight h3 {
  color: #fff;
  font-size: 1.7rem;
}

.highlight p {
  color: rgba(255, 255, 255, .9);
  margin-bottom: 0;
}

.highlight .tag {
  display: inline-block;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 10px;
  margin-bottom: 14px;
}

/* ── Listas de condiciones ── */
.cond {
  border-top: 1px solid var(--rb-line);
  padding: 18px 0;
  display: flex;
  gap: 16px;
}

.cond:first-of-type {
  border-top: 0;
}

.cond i {
  font-size: 1.35rem;
  color: var(--rb-blue);
  flex: 0 0 auto;
  margin-top: 2px;
}

.cond strong {
  display: block;
  font-size: 1rem;
}

.cond p {
  margin: 2px 0 0;
  color: var(--rb-gray);
  font-size: .94rem;
}

.prohib {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid var(--rb-line);
  font-size: .97rem;
}

.prohib:first-child {
  border-top: 0;
}

.prohib i {
  color: var(--rb-blue);
  font-size: 1.1rem;
  margin-top: 2px;
}

.restricted {
  background: var(--rb-gray-lt);
  border-left: 6px solid var(--rb-orange);
  padding: 22px 24px;
}

.restricted h3 {
  font-size: 1.05rem;
}

.restricted p {
  color: var(--rb-gray);
  margin: 0 0 .5rem;
  font-size: .95rem;
}

/* ── Acordeón de términos ── */
.accordion {
  --bs-accordion-border-color: var(--rb-line);
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-color: var(--rb-blue);
  --bs-accordion-active-color: var(--rb-blue);
  --bs-accordion-active-bg: var(--rb-gray-lt);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px var(--rb-orange);
}

.accordion-button {
  font-weight: 700;
}

.accordion-body {
  color: var(--rb-blue);
  font-size: .96rem;
}

.accordion-body ol,
.accordion-body ul {
  padding-left: 1.2rem;
  margin: 0;
}

.accordion-body li {
  margin-bottom: .55rem;
}

/* ── Contacto ── */
.info-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--rb-line);
}

.info-row:first-of-type {
  border-top: 0;
}

.info-row i {
  font-size: 1.4rem;
  color: var(--rb-blue);
  flex: 0 0 auto;
}

.info-row strong {
  display: block;
}

.info-row a {
  font-weight: 700;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--rb-blue);
  color: var(--rb-blue);
  text-decoration: none;
  font-size: 1.2rem;
  transition: background .15s, color .15s;
}

.social-icon:hover {
  background: var(--rb-orange);
  border-color: var(--rb-orange);
  color: var(--rb-blue);
}

.rb-dark .social-icon {
  border-color: #fff;
  color: #fff;
}

.rb-dark .social-icon:hover {
  background: var(--rb-orange);
  border-color: var(--rb-orange);
  color: var(--rb-blue);
}

/* ── CTA ── */
.cta-band {
  background: var(--rb-blue);
  color: #fff;
  padding: 72px 0;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cta-band p {
  color: rgba(255, 255, 255, .88);
  margin: 0;
}

/* ── Footer ── */
footer {
  background: var(--rb-blue);
  color: rgba(255, 255, 255, .88);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .94rem;
}

footer .rb-logo {
  height: 44px;
}

footer h6 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: .5rem;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--rb-orange);
  text-underline-offset: 4px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, .22);
  margin: 32px 0 20px;
}

@media (max-width: 575.98px) {
  section {
    padding: 64px 0;
  }

  .highlight {
    padding: 28px 22px;
  }

  .navbar-rb .rb-logo {
    height: 38px;
  }
}

/* ── Rastreo (modal) ── */
.modal-content {
  border: 0;
  border-radius: 2px;
  border-top: 6px solid var(--rb-orange);
}

.modal-title {
  font-size: 1.15rem;
}

.trk-result {
  display: none;
}

.trk-head {
  background: var(--rb-gray-lt);
  border-left: 6px solid var(--rb-orange);
  padding: 16px 18px;
}

.trk-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rb-gray);
  margin: 0;
}

.trk-code {
  font-size: 1.2rem;
  font-weight: 700;
  word-break: break-all;
}

.trk-badge {
  display: inline-block;
  border: 2px solid var(--rb-blue);
  font-weight: 700;
  font-size: .85rem;
  padding: 3px 12px;
}

.trk-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.trk-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0 0 18px;
  position: relative;
  color: var(--rb-gray);
}

.trk-steps li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--rb-line);
}

.trk-steps li:last-child {
  padding-bottom: 0;
}

.trk-steps li:last-child::before {
  display: none;
}

.trk-dot {
  flex: 0 0 28px;
  height: 28px;
  border: 2px solid var(--rb-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.trk-steps li.done,
.trk-steps li.current {
  color: var(--rb-blue);
}

.trk-steps li.done .trk-dot {
  background: var(--rb-blue);
  border-color: var(--rb-blue);
  color: #fff;
}

.trk-steps li.current .trk-dot {
  border-color: var(--rb-orange);
  background: var(--rb-orange);
  color: var(--rb-blue);
}

.trk-steps li strong {
  display: block;
  line-height: 1.3;
  padding-top: 3px;
}

.trk-steps li small {
  font-size: .8rem;
  font-weight: 700;
}

.trk-demo {
  font-size: .8rem;
  color: var(--rb-gray);
  border: 1px dashed var(--rb-line);
  padding: 8px 12px;
  margin-top: 14px;
}

.trk-loading {
  display: none;
  text-align: center;
  padding: 28px 0;
  color: var(--rb-gray);
}

.trk-error {
  display: none;
  padding: 8px 0;
}

.trk-error .bi {
  font-size: 2.4rem;
}


/* ═══════════ IMÁGENES (recuadros guía) ═══════════ */
.img-slot {
  display: none;
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4/3);
  background: repeating-linear-gradient(45deg, #E6EBF1, #E6EBF1 12px, #F4F6F8 12px, #F4F6F8 24px);
  border: 2px dashed #8E9BAD;
}

.guides .img-slot,
.img-slot:has(img) {
  display: block;
}

.img-slot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  white-space: pre-line;
  font-weight: 700;
  font-size: .8rem;
  line-height: 1.45;
  letter-spacing: .04em;
  color: var(--rb-blue);
}

.img-slot:has(img) {
  border: 0;
  background: none;
}

.img-slot:has(img)::after {
  display: none;
}

.img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.img-slot:hover img {
  transform: scale(1.06);
}

.rb-card>.img-slot {
  margin: -26px -24px 20px;
  border-width: 0 0 2px;
}

.rb-card>.img-slot:has(img) {
  border: 0;
}

.hero-media {
  position: relative;
}

.hero-media>.img-slot {
  box-shadow: 14px 14px 0 var(--rb-orange);
}

.guides .hero-media .hero-panel,
.hero-media:has(img) .hero-panel {
  position: relative;
  margin: -56px 0 0 -18px;
  box-shadow: 0 16px 36px rgba(1, 32, 76, .16);
  background: #fff;
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band>.container {
  position: relative;
  z-index: 1;
}

.cta-bg {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .07) 12px, transparent 12px, transparent 24px);
}

.cta-bg::after {
  color: rgba(255, 255, 255, .8);
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
}

.cta-bg:has(img) {
  opacity: .28;
}

.cta-bg img {
  transition: none;
}

/* ═══════════ MOVIMIENTO ═══════════ */
@keyframes rb-reveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rb-slide {
  from {
    opacity: 0;
    transform: translateX(26px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rb-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-24px) rotate(10deg);
  }
}

@keyframes rb-drift {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(46px);
  }
}

@keyframes rb-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes rb-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(252, 113, 17, .55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 18px rgba(252, 113, 17, 0);
  }
}

@keyframes rb-plane-fly {
  0% {
    transform: translate(-30px, 18px) rotate(68deg);
    opacity: 0;
  }

  15% {
    opacity: var(--plane-op, .18);
  }

  85% {
    opacity: var(--plane-op, .18);
  }

  100% {
    transform: translate(110px, -42px) rotate(68deg);
    opacity: 0;
  }
}

/* Entrada al hacer scroll (la clase .reveal la agrega el script) */
.js .reveal:not(.in) {
  opacity: 0;
}

.js .reveal.in {
  animation: rb-reveal .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) both;
}

/* Guion naranja que se dibuja */
.eyebrow::before {
  transform-origin: left;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1) .25s;
}

.js .eyebrow.reveal:not(.in)::before {
  transform: scaleX(0);
}

/* Hero: entrada escalonada */
.hero-copy>* {
  animation: rb-reveal .9s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-copy>*:nth-child(1) {
  animation-delay: .05s;
}

.hero-copy>*:nth-child(2) {
  animation-delay: .18s;
}

.hero-copy>*:nth-child(3) {
  animation-delay: .32s;
}

.hero-copy>*:nth-child(4) {
  animation-delay: .46s;
}

.hero-media {
  animation: rb-reveal 1s cubic-bezier(.2, .7, .2, 1) .3s both;
}

.hero-panel .route {
  animation: rb-slide .7s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-panel .route:nth-of-type(1) {
  animation-delay: .8s;
}

.hero-panel .route:nth-of-type(2) {
  animation-delay: .95s;
}

.hero-panel .route:nth-of-type(3) {
  animation-delay: 1.1s;
}

/* Hero: aviones decorativos en movimiento */
.hero {
  position: relative;
  overflow: hidden;
}

.hero>.container {
  position: relative;
  z-index: 1;
}

.hero-deco {
  position: absolute;
  inset: 0;
  transform: translateY(var(--py, 0px));
  pointer-events: none;
}

.hero-deco span {
  position: absolute;
  display: block;
}

.hero-plane {
  color: var(--rb-blue);
  --plane-op: .14;
  opacity: 0;
  animation: rb-plane-fly 11s ease-in-out infinite;
}

.hero-plane svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero-plane--1 {
  width: 34px;
  height: 34px;
  top: 14%;
  right: 14%;
  animation-duration: 12s;
  animation-delay: 0s;
  color: var(--rb-orange);
  --plane-op: .32;
}

.hero-plane--2 {
  width: 26px;
  height: 26px;
  top: 38%;
  right: 28%;
  animation-duration: 14s;
  animation-delay: -4s;
  --plane-op: .15;
}

.hero-plane--3 {
  width: 30px;
  height: 30px;
  top: 66%;
  right: 10%;
  animation-duration: 13s;
  animation-delay: -8s;
  --plane-op: .13;
}

.hero-plane--4 {
  width: 22px;
  height: 22px;
  top: 22%;
  right: 38%;
  animation-duration: 15s;
  animation-delay: -6s;
  color: var(--rb-orange);
  --plane-op: .24;
}

.hero-plane--5 {
  width: 28px;
  height: 28px;
  bottom: 16%;
  right: 26%;
  animation-duration: 16s;
  animation-delay: -2s;
  --plane-op: .12;
}

.sq2 {
  width: 40px;
  height: 40px;
  background: var(--rb-blue);
  opacity: .09;
  left: 3%;
  bottom: 12%;
  animation: rb-float 11s ease-in-out -3s infinite;
}

.sq3 {
  width: 130px;
  height: 130px;
  background: var(--rb-blue);
  opacity: .05;
  right: 34%;
  bottom: -34px;
  animation: rb-float 14s ease-in-out -6s infinite;
}

.ln1 {
  width: 170px;
  height: 4px;
  background: var(--rb-orange);
  opacity: .55;
  top: 24%;
  left: -40px;
  animation: rb-drift 8s ease-in-out infinite;
}

.ln2 {
  width: 4px;
  height: 130px;
  background: var(--rb-blue);
  opacity: .12;
  right: 12%;
  bottom: 8%;
}

/* Eslogan: subrayado que se dibuja */
.slogan {
  display: inline-block;
  position: relative;
}

.slogan::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 4px;
  width: 100%;
  background: var(--rb-orange);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1) .35s;
}

.js .slogan:not(.in)::after {
  transform: scaleX(0);
}

/* Cinta de ventajas */
.marquee {
  background: #fff;
  border-bottom: 1px solid var(--rb-line);
  overflow: hidden;
  padding: 15px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: rb-marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
}

.marquee span {
  position: relative;
  white-space: nowrap;
  padding: 0 34px;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.marquee span::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--rb-orange);
  transform: translateY(-50%) rotate(45deg);
}

/* Interacciones */
.rb-card,
.step {
  transition: translate .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}

.rb-card:hover,
.step:hover {
  translate: 0 -7px;
  box-shadow: 0 16px 32px rgba(1, 32, 76, .13);
}

.rb-card:hover {
  border-top-color: var(--rb-orange);
}

.rb-card .rb-icon {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  transform-origin: left center;
}

.rb-card:hover .rb-icon {
  transform: translateY(-4px) scale(1.15);
}

.step-num {
  transition: background .25s, color .25s;
}

.step:hover .step-num {
  background: var(--rb-orange);
  color: var(--rb-blue);
}

.prohib {
  transition: translate .25s;
}

.prohib:hover {
  translate: 6px 0;
}

.btn-rb {
  transition: background .15s, color .15s, border-color .15s, translate .2s, box-shadow .2s;
}

.btn-rb:hover {
  translate: 0 -3px;
  box-shadow: 0 10px 20px rgba(1, 32, 76, .22);
}

.btn-rb-outline {
  transition: background .15s, color .15s, translate .2s;
}

.btn-rb-outline:hover {
  translate: 0 -3px;
}

.social-icon:hover {
  translate: 0 -3px;
}

.cta-band .btn-rb {
  animation: rb-ring 2.8s ease-out infinite;
}

/* Barra de progreso, navbar compacta y botón flotante */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--rb-orange);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1100;
}

.navbar-rb {
  transition: padding .25s, box-shadow .25s;
}

.navbar-rb .rb-logo {
  transition: height .25s;
}

.navbar-rb.scrolled {
  padding: 8px 0;
  box-shadow: 0 8px 22px rgba(1, 32, 76, .1);
}

.navbar-rb.scrolled .rb-logo {
  height: 38px;
}

.fab-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rb-orange);
  color: var(--rb-blue);
  font-size: 1.8rem;
  text-decoration: none;
  border-radius: 2px;
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  translate: 0 24px;
  transition: opacity .3s, visibility .3s, translate .3s, background .2s, color .2s;
}

.fab-wa.show {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  animation: rb-ring 2.8s ease-out 1s infinite;
}

.fab-wa:hover {
  background: var(--rb-blue);
  color: #fff;
}

@media (max-width: 991.98px) {

  .guides .hero-media .hero-panel,
  .hero-media:has(img) .hero-panel {
    margin: -40px 0 0 0;
  }

  .hero-media>.img-slot {
    box-shadow: 8px 8px 0 var(--rb-orange);
  }
}

/* Respeta a quien pide menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .scroll-progress {
    display: none;
  }
}
