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

.ujv-anim, .ujv-anim * { box-sizing: border-box; }
.ujv-anim { display: block; font-family: 'Manrope', sans-serif; }
.ujv-anim img { display: block; max-width: none; height: auto; }

/* 2 · Reto profesional */
.ujv-reto { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 20px; background: #fff; }
.ujv-reto__tag { font-size: 10px; font-weight: 800; color: #0c342c; background: #e3ef26; padding: 5px 10px; border-radius: 99px; }
.ujv-reto__names { display: grid; width: 100%; min-height: 40px; }
.ujv-reto__name { grid-area: 1 / 1; font-size: 15px; font-weight: 700; line-height: 1.35; color: #0c342c; opacity: 0; animation: ujvRetoName 9s infinite; animation-delay: calc(var(--i) * 3s); }
.ujv-reto__bar { display: block; width: 100%; height: 8px; border-radius: 4px; background: #e7ecf2; overflow: hidden; }
.ujv-reto__fill { display: block; height: 100%; width: 0; border-radius: 4px; background: #f7a400; animation: ujvRetoFill 3s ease-in-out infinite; }
.ujv-reto__done { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5b6672; animation: ujvRetoDone 3s infinite; }
.ujv-reto__done img { width: 22px; animation: ujvPop 3s infinite; }
@keyframes ujvRetoName { 0% { opacity: 0; transform: translateY(6px); } 4% { opacity: 1; transform: none; } 30% { opacity: 1; transform: none; } 33.3% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 0; } }
@keyframes ujvRetoFill { 0% { width: 0; } 65% { width: 100%; } 100% { width: 100%; } }
@keyframes ujvRetoDone { 0%, 64% { opacity: .35; } 72%, 96% { opacity: 1; } 100% { opacity: .35; } }
@keyframes ujvPop { 0%, 64% { transform: scale(.6); filter: grayscale(1); } 72% { transform: scale(1.2); filter: none; } 80%, 96% { transform: scale(1); filter: none; } 100% { transform: scale(.6); filter: grayscale(1); } }

/* 3 · Evidencias */
.ujv-evid { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ujv-evid__row { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 14px; background: #f3f6f9; opacity: 0; animation: ujvEvidRow 6s infinite; animation-delay: calc(var(--i) * .7s); }
.ujv-evid__row img { width: 26px; flex-shrink: 0; animation: ujvEvidCheck 6s infinite; animation-delay: calc(var(--i) * .7s); }
.ujv-evid__txt { display: flex; flex-direction: column; gap: 2px; }
.ujv-evid__txt b { font-size: 14px; font-weight: 700; color: #0c342c; }
.ujv-evid__txt small { font-size: 12px; color: #5b6672; }
@keyframes ujvEvidRow { 0% { opacity: 0; transform: translateY(14px); } 8% { opacity: 1; transform: none; } 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes ujvEvidCheck { 0%, 8% { transform: scale(0) rotate(-30deg); } 15% { transform: scale(1.25); } 20%, 100% { transform: scale(1); } }

/* 4 · Insignias */
.ujv-badges { display: flex; gap: 12px; width: 100%; }
.ujv-badge { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 18px; background: #fff; animation: ujvBadgeCard 4.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
.ujv-badge__icon { display: block; border-radius: 999px; animation: ujvBadgeIcon 4.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
.ujv-badge__icon img { width: 52px; }
.ujv-badge__label { font-size: 13px; font-weight: 700; color: #0c342c; white-space: nowrap; }
@keyframes ujvBadgeCard { 0% { transform: none; box-shadow: 0 0 0 rgba(12,52,44,0); } 10% { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(12,52,44,.14); } 28%, 100% { transform: none; box-shadow: 0 0 0 rgba(12,52,44,0); } }
@keyframes ujvBadgeIcon { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227,239,38,.0); } 8% { transform: scale(1.14) rotate(-6deg); box-shadow: 0 0 0 0 rgba(227,239,38,.9); } 22% { transform: scale(1); box-shadow: 0 0 0 14px rgba(227,239,38,0); } 100% { transform: scale(1); } }

/* 5 · Niveles de acompañamiento */
.ujv-niveles { display: flex; flex-direction: column; width: 100%; }
.ujv-nivel { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.ujv-nivel__pill { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 30px; border-radius: 999px; background: #fff; color: #0c342c; font-size: 13px; font-weight: 700; animation: ujvNivelPill 7.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
.ujv-nivel__label { font-size: 15px; font-weight: 700; color: #0c342c; animation: ujvNivelLabel 7.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes ujvNivelPill { 0% { background: #fff; color: #0c342c; width: 56px; } 4%, 18% { background: #0c342c; color: #e3ef26; width: 72px; } 22%, 100% { background: #fff; color: #0c342c; width: 56px; } }
@keyframes ujvNivelLabel { 0% { transform: none; } 4%, 18% { transform: translateX(4px); } 22%, 100% { transform: none; } }

/* Menú hamburguesa (tablet y móvil) */
.ujv-burger { display: none !important; width: auto !important; }
@media (max-width: 1024px) { .ujv-burger { display: block !important; } }
.ujv-burger .elementor-menu-toggle { display: flex !important; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: #f3f6f9 !important; color: #192e1a !important; font-size: 22px; cursor: pointer; }
.ujv-burger .elementor-menu-toggle svg { fill: #192e1a; width: 22px; height: 22px; }
.ujv-burger .elementor-nav-menu--dropdown { position: fixed !important; left: 12px !important; right: 12px !important; top: 84px !important; width: auto !important; margin: 0 !important; padding: 10px; border-radius: 24px; background: #fff !important; box-shadow: 0 24px 48px rgba(16,38,26,.18); z-index: 999; }
.admin-bar .ujv-burger .elementor-nav-menu--dropdown { top: 116px !important; }
.ujv-burger .elementor-nav-menu--dropdown a, .ujv-burger .elementor-nav-menu--dropdown a:focus { font-family: 'Manrope', sans-serif !important; font-weight: 700 !important; font-size: 17px !important; color: #192e1a !important; background: transparent !important; padding: 14px 18px !important; border-radius: 14px; justify-content: flex-start; }
.ujv-burger .elementor-nav-menu--dropdown a:hover, .ujv-burger .elementor-nav-menu--dropdown a.elementor-item-active { background: #f3f6f9 !important; color: #2c5a33 !important; }
.ujv-burger .elementor-nav-menu--dropdown li:last-child a { margin-top: 6px; background: #f7a400 !important; color: #fff !important; justify-content: center; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ujv-anim, .ujv-anim * { animation: none !important; }
	.ujv-reto__name:first-child, .ujv-evid__row { opacity: 1; }
	.ujv-reto__fill { width: 60%; }
}
