/* Expo AMIC 83 hero slide (Carlos chose proposal B, 3-nov-2026): the production photo darkened from the left, the
   Expo's promotions online and a link to Promociones. Colours from the Eastern Blue palette plus the AMIC art's yellow
   (#FFF131, measured from amic-proximamente-slide.png). */
.rtg-xpo { --rtg-xpo-yellow: #FFF131; }
.rtg-xpo--promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(13 52 63 / 94%) 0, rgb(13 52 63 / 82%) 38%, rgb(13 52 63 / 25%) 70%, rgb(13 52 63 / 0%) 100%); }
/* The copy is aligned with the site's content column, clear of the arrows. */
.rtg-xpo__link { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; padding: 30px calc(var(--rtg-hero-inset, 0px) + 76px) 44px; color: #fff; text-decoration: none; }
.rtg-xpo__copy { display: block; max-width: 760px; }
.rtg-xpo__logo { display: block; width: 190px; height: auto; margin: 0 0 18px; aspect-ratio: 829 / 287; }
.rtg-xpo__eyebrow { display: block; margin: 0 0 10px; color: var(--rtg-200, #ACF2F5); font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.rtg-xpo__title { display: block; margin: 0 0 26px; color: #fff; font-size: 46px; font-weight: 800; line-height: 1.12; }
.rtg-xpo__title em { display: block; color: var(--rtg-xpo-yellow); font-style: normal; }
.rtg-xpo__cta { display: inline-block; padding: 13px 26px; border-radius: 999px; background: var(--rtg-xpo-yellow); color: var(--rtg-950, #0D343F); font-size: 15px; font-weight: 800; line-height: 1; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: transform 200ms ease, box-shadow 200ms ease; }
.rtg-xpo__link:hover .rtg-xpo__cta, .rtg-xpo__link:focus-visible .rtg-xpo__cta { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(0 0 0 / 28%); }
.rtg-xpo__link:focus-visible { outline: 3px solid var(--rtg-xpo-yellow); outline-offset: -3px; }

@media (max-width: 1199px) {
  .rtg-xpo__title { font-size: 38px; }
  .rtg-xpo__link { padding-left: calc(var(--rtg-hero-inset, 0px) + 40px); }
}

/* Phones (hero 280px): the copy centred over an even overlay. */
@media (max-width: 767px) {
  .rtg-xpo--promo::after { background: rgb(13 52 63 / 72%); }
  .rtg-xpo__link { justify-content: center; padding: 16px 20px 34px; text-align: center; }
  .rtg-xpo__logo { width: 110px; margin: 0 auto 10px; }
  .rtg-xpo__eyebrow { margin-bottom: 6px; font-size: 10px; }
  .rtg-xpo__title { margin-bottom: 14px; font-size: 22px; }
  .rtg-xpo__cta { padding: 10px 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .rtg-xpo__cta { transition: none; } }

/* Entrance (3-nov), on load and each time the slide returns: the AMIC logo and the dates fade up, the two title lines
   rise out of their masks, the button follows and a single light sweeps across it. The photo stays still: it is the
   page's LCP. One long, soft ease; nothing loops. */
.rtg-xpo__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rtg-xpo__line > span { display: block; }
.rtg-xpo--promo .rtg-xpo__cta { position: relative; overflow: hidden; }
.rtg-xpo--promo .rtg-xpo__cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgb(255 255 255 / 0%) 30%, rgb(255 255 255 / 75%) 50%, rgb(255 255 255 / 0%) 70%); transform: translateX(-120%); pointer-events: none; }
@keyframes rtg-xpo-rise { from { transform: translate3d(0, 105%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes rtg-xpo-fade-up {
  from { opacity: 0; transform: translate3d(0, 14px, 0); filter: blur(6px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes rtg-xpo-sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.rtg-xpo--promo { --rtg-xpo-ease: cubic-bezier(.22, 1, .36, 1); }
.rtg-xpo--promo.is-current .rtg-xpo__logo { animation: rtg-xpo-fade-up 1000ms var(--rtg-xpo-ease) 100ms backwards; }
.rtg-xpo--promo.is-current .rtg-xpo__eyebrow { animation: rtg-xpo-fade-up 900ms var(--rtg-xpo-ease) 260ms backwards; }
.rtg-xpo--promo.is-current .rtg-xpo__line > span { animation: rtg-xpo-rise 1100ms var(--rtg-xpo-ease) 380ms backwards; }
.rtg-xpo--promo.is-current em.rtg-xpo__line > span { animation-delay: 520ms; }
.rtg-xpo--promo.is-current .rtg-xpo__cta { animation: rtg-xpo-fade-up 900ms var(--rtg-xpo-ease) 820ms backwards; }
.rtg-xpo--promo.is-current .rtg-xpo__cta::after { animation: rtg-xpo-sweep 1100ms ease-in-out 1700ms backwards; }
@media (prefers-reduced-motion: reduce) {
  .rtg-xpo--promo.is-current .rtg-xpo__logo, .rtg-xpo--promo.is-current .rtg-xpo__eyebrow, .rtg-xpo--promo.is-current .rtg-xpo__line > span,
  .rtg-xpo--promo.is-current .rtg-xpo__cta, .rtg-xpo--promo.is-current .rtg-xpo__cta::after { animation: none; }
}
