
.flotan { height: calc(100svh - var(--barra) - var(--franja)); min-height: 600px; display: flex; flex-direction: column;
  padding: clamp(14px, 2svh, 24px) var(--gutter) clamp(10px, 1.6svh, 20px); overflow: hidden; }
.flotan__arriba { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 3; }
.flotan .volanta { margin: 0; font: 600 13px/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--suave); }
.flotan__acciones { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.flotan__escena { position: relative; flex: 1; min-height: 0; container-type: size; margin: clamp(12px, 2svh, 24px) 0; }
.placa { position: absolute; left: var(--x); top: var(--y); width: var(--w); display: block; text-decoration: none; color: inherit; }
.placa__mueve { display: block; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .9s var(--ease); will-change: transform; }
.placa__flota { display: block; animation: flota var(--t, 9s) ease-in-out infinite alternate; }
.placa img { display: block; width: 100%; height: auto; box-shadow: 0 calc(10px * var(--d)) calc(28px * var(--d)) rgba(40,28,18,calc(.12 + .1 * var(--d)));
  transition: transform .6s var(--ease); }

.placa { pointer-events: none; user-select: none; }
@keyframes flota { from { transform: translateY(calc(-6px * var(--d))); } to { transform: translateY(calc(8px * var(--d))); } }

.flotan__abajo { position: relative; z-index: 3; }
.flotan .prueba { margin: 0 0 6px; font-size: 15px; color: var(--suave); max-width: 70ch; }
.flotan .nombre { margin: 0; line-height: .8; white-space: nowrap; }
.flotan .nombre i { font-style: italic; }


.js .placa { transition: opacity 1.2s var(--ease) var(--r, 0s); }
.js .flotan .nombre { transition: opacity 1.2s var(--ease) .2s, transform 1.2s var(--ease) .2s; }
.js:not(.portada-lista) .placa { opacity: 0; }
.js:not(.portada-lista) .flotan .nombre { opacity: 0; transform: translateY(24px); }

@media (max-width: 760px) {
  .flotan { height: auto; min-height: calc(100svh - var(--barra) - var(--franja)); }
  .flotan__escena { height: 48svh; flex: none; margin: 10px 0 6px; }
  .flotan .prueba { font-size: 14px; }
  .placa.fuera-cel { display: none; }
  .placa { width: calc(var(--w) * 1.7); }
  .flotan__acciones { width: 100%; }
  .flotan__acciones .btn { flex: 1; padding: 0 10px; white-space: nowrap; font-size: 14px; min-width: 0; }
  .flotan__acciones .btn--wa { flex: 1.5; }
  
  .placa[data-obra="15"] { --x: 56% !important; --y: 1% !important; }
  .placa[data-obra="13"] { --x: 46% !important; --y: 34% !important; }
  .placa[data-obra="07"] { --x: 8% !important; --y: 46% !important; }
  .placa[data-obra="09"] { --x: 58% !important; --y: 72% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .placa__flota { animation: none; }
  .js .placa, .js .flotan .nombre { opacity: 1 !important; transform: none !important; transition: none !important; }
}
