/* ==========================================================================
   ADUANAS LACOSTE S.A. - MÓDULO TEMPORADA DICIEMBRE: TRINEO SANTA REAL
   Directriz Maestra: §2.9 (Travesía serena 15s, pointer-events: none)
   ========================================================================== */

.dic-trineo {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 70px;
  background-image: url('dic-trineo-santa.svg?v=1.1');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 84;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 18px rgba(74, 14, 23, 0.2));
  opacity: 0;
  transform: translate3d(-260px, -160px, 0);
  will-change: transform, opacity;
}

.dic-trineo-ruta-1 { animation: dic-trineo-1 15s linear forwards; }
@keyframes dic-trineo-1 {
  0%   { transform: translate3d(-260px, 20vh, 0) rotate(-3deg); opacity: 0; }
  8%   { opacity: 0.88; }
  50%  { transform: translate3d(50vw, 14vh, 0) rotate(1deg); opacity: 0.92; }
  92%  { opacity: 0.84; }
  100% { transform: translate3d(calc(100vw + 260px), 22vh, 0) rotate(-2deg); opacity: 0; }
}

.dic-trineo-ruta-2 { animation: dic-trineo-2 15.5s linear forwards; }
@keyframes dic-trineo-2 {
  0%   { transform: translate3d(calc(100vw + 260px), 30vh, 0) scaleX(-1) rotate(-3deg); opacity: 0; }
  8%   { opacity: 0.86; }
  50%  { transform: translate3d(50vw, 24vh, 0) scaleX(-1) rotate(2deg); opacity: 0.9; }
  92%  { opacity: 0.82; }
  100% { transform: translate3d(-260px, 34vh, 0) scaleX(-1) rotate(-2deg); opacity: 0; }
}

.dic-trineo-ruta-3 { animation: dic-trineo-3 16s linear forwards; }
@keyframes dic-trineo-3 {
  0%   { transform: translate3d(-260px, 64vh, 0) rotate(-6deg); opacity: 0; }
  8%   { opacity: 0.84; }
  50%  { transform: translate3d(50vw, 40vh, 0) rotate(-3deg); opacity: 0.9; }
  92%  { opacity: 0.82; }
  100% { transform: translate3d(calc(100vw + 260px), 18vh, 0) rotate(-5deg); opacity: 0; }
}

@media (max-width: 768px) {
  .dic-trineo { width: 148px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .dic-trineo { display: none !important; }
}
