.hero-creditos {
    position: absolute;
    z-index: 8;
    bottom: 10px;
    right: 10px;
    display: grid;
    justify-items: end;
    max-width: min(220px, 48%);
    pointer-events: none;
}
.hero-banner .hero-creditos { z-index: 202; }
.hero-credito {
    grid-area: 1 / 1;
    align-self: start;
    padding: 4px 8px;
    border-radius: 6px;
    background: #102b23;
    color: #fff;
    font-size: .75rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    visibility: hidden;
    animation: hero-credito-visible 15s infinite step-end;
}
@keyframes hero-credito-visible {
    0% { visibility: visible; }
    26.67% { visibility: hidden; }
    93.34% { visibility: visible; }
}
.hero-banner:hover .hero-credito { animation-play-state: paused; }

@media (max-width: 900px) {
    .hero .hero-creditos { max-width: calc(100% - 28px); }
    .hero:has(.hero-creditos) .hero-foto { bottom: 45px; }
}
@media (max-width: 600px) {
    .hero:has(.hero-creditos) .hero-overlay { padding-bottom: 89px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-credito { animation: none !important; display: none; }
    .hero-credito-inicial { display: block; visibility: visible; }
}
